:root {
    /* Color Palette from Deck */
    --color-bg-light: #DCC8B3;
    /* Warm Tan */
    --color-bg-dark: #786B52;
    /* Olive Brown */
    --color-text-dark: #3E3425;
    /* Deep Brown */
    --color-text-light: #F9F5F0;
    /* Off-White */
    --color-accent: #C5A065;
    /* Gold/Mustard */

    /* Typography */
    --font-heading: 'Dream Avenue', 'Playfair Display', serif;
    --font-body: 'Dosis', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px 20px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 20px 0;
    color: var(--color-text-light);
    /* Start with light text for hero overlay */
}

#main-header.scrolled {
    background-color: rgba(62, 52, 37, 0.95);
    /* Dark brown bg on scroll */
    padding: 15px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links li a {
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-links li a:hover {
    opacity: 1;
    color: var(--color-accent);
}

.dropdown i {
    width: 16px;
    height: 16px;
}

.btn-contact {
    border: 1px solid currentColor;
    padding: 8px 20px;
    border-radius: 2px;
}

.btn-contact:hover {
    background-color: var(--color-text-light);
    color: var(--color-text-dark);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

/* Navigation Dropdowns */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-bg-dark);
    /* Match header scroll bg */
    min-width: 220px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    padding: 10px 0;
    list-style: none;
    border-top: 2px solid var(--color-accent);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    padding: 10px 20px;
    display: block;
    color: var(--color-text-light);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-accent);
}

/* Hero Section Refinements */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-text-light);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-bg img {
    width: 100.5%;
    /* Slight scale to allow shift */
    height: 100.5%;
    object-fit: cover;
    /* Attempt to hide the left side text of the slide by shifting focus */
    object-position: 60% center;
}

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(62, 52, 37, 0.4) 0%, rgba(62, 52, 37, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(62, 52, 37, 0.6);
    /* Semi-transparent box to make text pop against any bg text */
    backdrop-filter: blur(5px);
}

.hero-content h1 {
    font-size: 5rem;
    line-height: 1.1;
    letter-spacing: 5px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
}

/* Split Sections (Greetings/About) */
.split-section {
    padding: var(--section-padding);
}

.split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.text-block h2 {
    font-size: 4rem;
    margin-bottom: 30px;
    color: var(--color-text-light);
    /* On dark sections */
}

/* Specific: Greetings (Light BG) */
#greetings {
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
}

#greetings .image-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    min-height: 400px;
}

#greetings .text-block h2 {
    color: var(--color-text-dark);
    font-size: 5rem;
    line-height: 0.9;
}

#greetings .text-block h3 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 300;
}

/* Specific: About (Dark BG) */
#about {
    background-color: var(--color-bg-light);
}

#about .image-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    min-height: 400px;
}

#about h2 {
    color: var(--color-text-dark);
    mix-blend-mode: normal;
}

/* Fix: The About section in deck has text over image or solid color. Let's stick to split for now */
#about .text-block h2 {
    color: var(--color-text-dark);
}

.image-block img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Our Focus */
.focus-section {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    padding: var(--section-padding);
}

.section-header {
    margin-bottom: 60px;
    max-width: 900px;
}

.section-header h2 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 60px;
}

.focus-card {
    text-align: left;
}

.focus-card .icon-wrapper {
    margin-bottom: 20px;
    color: var(--color-accent);
}

.focus-card .icon-wrapper svg {
    width: 48px;
    height: 48px;
}

.focus-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-accent);
}

/* Sustainability */
.sustainability-section {
    background-color: var(--color-bg-light);
    padding: var(--section-padding);
}

.sustainability-section h2 {
    font-size: 4rem;
    margin-bottom: 40px;
    color: var(--color-text-dark);
}

.sustainability-section .image-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    min-height: 400px;
}

.feature-block {
    margin-bottom: 40px;
    padding-left: 20px;
    border-left: 2px solid var(--color-accent);
}

.feature-block h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

/* Products */
.products-section {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    padding: var(--section-padding);
}

.products-section h2 {
    font-size: 4rem;
    margin-bottom: 60px;
    text-align: right;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    display: block;
    background: rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-image {
    height: 300px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--color-accent);
}

.product-info p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Footer */
footer {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    padding-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 60px;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background-color: var(--color-accent);
    color: var(--color-text-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
}

.btn-download:hover {
    background-color: #fff;
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.2);
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .text-block h2,
    .section-header h2,
    .products-section h2 {
        font-size: 3rem;
    }

    .split-container,
    .focus-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .split-section.reverse .split-container {
        display: flex;
        flex-direction: column-reverse;
    }

    .product-image {
        height: 250px;
    }

    /* Mobile Menu */
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--color-bg-dark);
        flex-direction: column;
        justify-content: center;
        transition: 0.3s ease;
        padding: 40px;
    }

    .nav-links.active {
        right: 0;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}