/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styles */
body {
    font-family: 'Lato', sans-serif;
    background-color: #1a1a1a;
    color: #333333;
    margin: 0;
    padding: 0;
    border: none;
}

/* Container */
.container {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
}


/* Navigation Styles */
#main-nav {
    display: flex;
    align-items: center;
    justify-content: center; /* Center items horizontally */
    background-color: black;
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    padding: 0px 20px; /* Initial padding */
    z-index: 100;
    transition: padding 0.6s ease, height 0.6s ease, background-color 0.6s ease;
}

#main-nav.scrolled {
    padding: 5px 20px; /* Reduced padding when scrolled */
    height: 50px;
    background-color: black;
}

/* Navigation Sections */
#main-nav .nav-section {
    display: flex;
    flex-shrink: 0;
    justify-content: center;  
    margin: 0 10px;
    transition: all 0.3s ease;
}

#main-nav .nav-section.left-nav,
#main-nav .nav-section.right-nav {
    margin: 0 10px; /* Add uniform margins */
}

/* Navigation Links */
#main-nav .nav-links {
    display: flex;
    flex-wrap: nowrap;
}

#main-nav .nav-links li {
    margin: 0 50px;
}

#main-nav .nav-links li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    white-space: nowrap;
    transition: font-size 0.6s ease;
}

#main-nav.scrolled .nav-links li a {
    font-size: 14px;
}

/* Logo Styling */
#main-nav .logo {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

#main-nav .logo img {
    height: 150px;
    border-radius: 50%;
    transition: height 0.6s ease;
    filter: invert();
    position: relative;
    top: 30px;
}

#main-nav.scrolled .logo img {
    height: 80px;
    top: 15px;
}

/* Hide the Hamburger Menu on Desktop */
#mobile-menu-toggle {
    display: none;
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Adjust the main nav */
    #main-nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 20px;
        position: relative;

    }

    /* Show the Hamburger Menu */
    #mobile-menu-toggle {
        display: flex;
        align-items: center;
        font-size: 30px;
        cursor: pointer;
        color: white;
        order: 1; /* Position it first */
    }

    /* Position the Logo Next to Hamburger Menu */
    #main-nav .logo {
        margin-left: 15px;
        margin-bottom: 10px;
    }

    .nav-menu {
        display: none;
        width: 100%;
        background-color: black;
    }

    /* Hide Navigation Sections by Default */
    #main-nav .nav-section {
        display: none;
        order: 3;
        top: 100%; /* Below the navbar */
        left: 0;
        width: 100%;
        background-color: black;
        flex-direction: column;
        align-items: center;
        z-index: 1000;
    }

    /* Show Navigation Sections When Active */
    #main-nav.active .nav-section {
        display: flex;
    }

    /* Stack Navigation Links Vertically */
    #main-nav .nav-links {
        flex-direction: column;
    }

    #main-nav .nav-links li {
        margin: 10px 0;
    }

    /* Adjust Logo Size for Mobile */
    #main-nav .logo img {
        height: 50px;
        top: -10px;
    }

    #main-nav.scrolled .logo img {
        height: 40px;
        top: -5px;
    }
}




#story {
    padding-top: 70px; /*Adjust based on height of nav bar*/
    text-align: center;
    margin: 0;
}
 
#story h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #e0e0e0; /* Title color */
    text-shadow: 1px 1px 2px rgba(240, 236, 236, 0.2);
}

#story p {
    font-family: 'Lato', sans-serif;
    font-size: 1.2em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #e0e0e0; /* Text color */
    max-width: 800px; /* Optional: limit the width of the text block */
    margin: 0 auto; /* Center the paragraph text block */
    text-shadow: 1px 1px 2px rgba(239, 236, 236, 0.2);
}




/* Header Styles */
header {
    background-color: black;
    color: #F5F5DC;
    padding: 0;
    text-align: center;
    border: none;
    box-shadow: none;
    margin: none;
    
}

header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    margin-bottom: 10px;
}



/* Section Styles */
section {
    margin: 40px 0;
}

h2 {
    font-family: 'Playfair Display', serif;
    color: white;
    margin-bottom: 20px;
}

p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: white;
}

/* Button Styles */
button {
    background-color: #556B2F; /* Secondary color */
    color: #F5F5DC;
    border: none;
    padding: 10px 20px;
    font-family: 'Lato', sans-serif;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #9EBF89; /* Lighter accent on hover */
}

/* Footer Styles */
footer {
    background-color: black;
    color: #F5F5DC;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

footer p {
    font-family: 'Playfair Display', serif;
}

/* Adding a Responsive Layout */
@media (max-width: 768px) {
    nav ul li {
        display: block;
        margin: 10px 0;
    }

    header h1 {
        font-size: 2em;
    }

    .container {
        width: 90%;
    }
}





/* Parallax Hero Section */
.parallax-hero {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh; /* Full viewport height */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    z-index: 1;
}

.parallax-hero .hero-text {
    position: relative;
    z-index: 2; /* Ensure text is above the background image */
    padding: 20px;
    background-color: transparent; /* Optional: Add a semi-transparent background to the text for readability */
    border-radius: 5px;
}

.parallax-hero .hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4em; /* Increase the size of the main heading */
    margin: 0;
}

.parallax-hero .hero-text p {
    font-family: 'Lato', sans-serif;
    font-size: 1.8em; /* Increase the size of the paragraph text */
    margin-top: 10px;
}


.parallax-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    z-index: -1;
    transform: translateZ(0); /* Ensures smooth scrolling on some browsers */
}

/* Hero Section for Mobile */
@media (max-width: 768px) {
    .parallax-hero {
        height: 60vh; /* Adjust hero height for smaller screens */
    }

    .parallax-hero .hero-text h1 {
        font-size: 2.5em; /* Reduce font size */
    }

    .parallax-hero .hero-text p {
        font-size: 1.2em; /* Reduce text size for mobile readability */
    }
}




/* Info Section Above Footer */
#info-section {
    background-color: black; /* Dark background */
    color: white; /* Light text color */
    padding: 40px 20px;
    text-align: center;
}

#info-section .info-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
}

#info-section .info-item {
    flex: 1 1 200px;
    margin: 10px;
    text-align: left;
}

#info-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5em;
    margin-bottom: 10px;
    color: gray; /* Accent color */
}

#info-section p, #info-section a {
    font-family: 'Lato', sans-serif;
    font-size: 1em;
    margin: 5px 0;
    color: white;
    text-decoration: none;
}

#info-section ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#info-section ul.social-media {
    display: block; /* Stack the icons vertically */
    padding: 0;
    margin: 0;
    text-align: left; /* Align the icons to the left */
}

#info-section ul.social-media li {
    margin: 10px 0; /* Space between each icon */
}

#info-section ul.social-media li a {
    text-decoration: none;
    color: #F5F5DC; /* Icon color */
    font-size: 24px; /* Adjust the size of the icons */
}

#info-section ul.social-media li a:hover {
    color: #cccccc; /* Change color on hover */
}


#info-section ul li a {
    text-decoration: none;
    color: white;
}

#info-section ul li a:hover {
    color: #cccccc; /* Lighter accent on hover */
}

/*Photo Gallery */

#photo-gallery {
    padding: 40px 20px;
    text-align: center;
    background-color: #f5f5f5; /* Light background to contrast the images */
}

#photo-gallery h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #2C3E50;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px; /* Space between images */
    justify-items: center;
}

.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05); /* Slight zoom on hover */
    opacity: 0.8; /* Slight dim on hover */
}

/* Lightbox Styles */
.lightbox {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}



/* Product Page Styles */
#products {
    padding: 40px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

#products h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3em;
    margin-bottom: 40px;
    color: #2C3E50;
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}



/* Product Item Styling */
.product-item {
    flex: 1 1 calc(25% - 20px); /* Four items across with space between */
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column; /* Stack image and text vertically */
    justify-content: space-between; /* Distribute space evenly */
    min-height: 400px; /* Set a minimum height */
    height: 100%; /* Allow it to grow uniformly */
}

.product-item img {
    width: 100%;
    height: 200px; /* Set a fixed height for all images */
    object-fit: cover; /* Show the whole image, even if it leaves empty space */
    background-color: #f9f9f9; /* Optional: Add a background color behind the image */
    border-radius: 8px;
}

/* Text Content */
.product-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5em;
    color: #2C3E50;
    margin: 15px 0 10px;
    text-transform: uppercase;
}

.product-item p {
    font-family: 'Lato', sans-serif;
    font-size: 1em;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 10px;
}


.product-item p strong {
    color: #2C3E50; /* Different color for the labels */
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Product Grid for Mobile */
@media (max-width: 768px) {
    .product-item {
        flex: 1 1 100%; /* Full width on small screens */
        margin-bottom: 20px; /* Add some space between product items */
    }

    .product-grid {
        display: block; /* Stack products vertically on mobile */
    }
}


/* Contact Page Styles */
#contact {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

#contact h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3em;
    color: #2C3E50;
    margin-bottom: 40px;
    margin-top: 80px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.contact-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.contact-form label {
    display: block;
    font-family: 'Lato', sans-serif;
    font-size: 1em;
    color: #2C3E50;
    margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    font-family: 'Lato', sans-serif;
    font-size: 1em;
    color: #555555;
    border: 1px solid #cccccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.contact-form button {
    background-color: #2C3E50;
    color: #ffffff;
    padding: 10px 20px;
    font-family: 'Lato', sans-serif;
    font-size: 1em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #1A242F;
}

/* Contact Details */
.contact-details {
    margin-top: 40px;
    font-family: 'Lato', sans-serif;
    font-size: 1.2em;
    color: #2C3E50;
}

.contact-details p {
    margin: 10px 0;
    color: #2C3E50;
}

/* General Mobile Adjustments */
@media (max-width: 480px) {
    body {
        font-size: 14px; /* Adjust body font size for readability */
    }

    .container {
        width: 90%; /* Ensure the container is more flexible on small screens */
    }

    h1, h2, h3 {
        font-size: 1.5em; /* Scale down heading font sizes */
    }

    button {
        padding: 8px 15px; /* Adjust button size for mobile */
        font-size: 14px;
    }

    #info-section {
        padding: 20px; /* Reduce padding for smaller screens */
    }
}

