:root {
    --color-bg: #F4F0E6;
    /* Matched to new logo background */
    /* Warm warm cream */
    --color-text: #2C2C2C;
    /* Soft black */
    --color-primary: #C44D56;
    /* Muted red/chili */
    --color-secondary: #E8A87C;
    /* Soft orange/terracotta */
    --color-accent: #8DA399;
    /* Sage green for balance */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: rgba(244, 240, 230, 0.95);
    /* Matched to new bg */
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    height: 120px;
    /* Increased height */
    padding: 0 20px;
}

.header-brand-text {
    height: 110px;
    /* Adjust to fit header */
    width: auto;
    margin: 0 10px;
    /* Removed transform to align with logo */
    mix-blend-mode: multiply;
    /* Blend with background */
    filter: contrast(1.1) brightness(1.06);
    /* Midpoint adjustment */
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 2rem;
    font-weight: 400;
    font-family: 'Permanent Marker', cursive;
}

/* Hide text as it is in the logo image now */
.logo-text {
    display: none;
}

#logo-img {
    height: 110px;
    /* Increased size */
    width: auto;
    width: auto;
    mix-blend-mode: multiply;
    /* Helps blend if not perfect match */
    filter: contrast(1.1) brightness(1.06);
    /* Midpoint adjustment */
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--color-primary);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--color-text);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero */
#hero {
    height: 100vh;
    background-image: url('../assets/images/hero_1.jpg');
    /* Fallback */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    transition: background-image 1s ease-in-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Dark overlay for readability */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

#hero h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.subline {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--color-primary);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-btn:hover {
    background-color: #A93E46;
    /* Darker red */
    transform: translateY(-2px);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInMove 1s forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

.delay-3 {
    animation-delay: 0.9s;
}

.delay-4 {
    animation-delay: 1.2s;
}

@keyframes fadeInMove {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
/* About Section */
.section {
    padding: 80px 0;
    scroll-margin-top: 60px;
    /* Aligns content below 120px header (60px offset + 80px padding = 140px start) */
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--color-text);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Gallery */
.bg-light {
    background-color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--border-radius);
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    /* Adjusted to fit 4 */
    gap: 15px;
}

/* Text Card in Gallery */
.text-card {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    border: 1px solid var(--color-bg);
}

.text-card p {
    font-family: var(--font-heading);
    color: var(--color-text);
    /* Matched to section-title */
    font-size: 1.5rem;
    margin: 10px 0;
    font-weight: 600;
    font-style: italic;
    /* Added italic as requested */
}

/* Order Card in Gallery */
.order-card {
    background-color: #fff;
    /* White background to match grid */
    display: flex;
    flex-direction: column;
    /* Stack button and text */
    justify-content: center;
    align-items: center;
}

.order-btn {
    background-color: var(--color-primary);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.order-btn:hover {
    background-color: var(--color-text);
    transform: translateY(-2px);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.coming-soon {
    font-size: 0.9rem;
    color: #999;
    font-style: italic;
    margin-top: 10px;
    font-family: var(--font-body);
}

/* Values Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
    border-top: 4px solid var(--color-primary);
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card h3 {
    color: var(--color-primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-family: var(--font-heading);
}

.value-card p {
    font-size: 1rem;
    color: #666;
}

/* Footer */
footer {
    background-color: #2C2C2C;
    color: #fff;
    padding: 50px 0;
    text-align: center;
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 5px;
}

.footer-info {
    margin-top: 20px;
    color: #aaa;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 70px;
        background-color: var(--color-bg);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .header-brand-text {
        display: block;
        height: 60px;
        /* Smaller height for mobile */
        margin: 0 5px;
    }

    #logo-img {
        height: 60px;
        /* Match mobile text height */
    }

    .nav-container {
        height: 80px;
        /* Reduce header height on mobile if needed, or keep as is. Let's keep it proportionate */
    }

    .nav-links li {
        opacity: 0;
        text-align: center;
        width: 100%;
        padding: 0 10px;
        /* Prevent text touching edges */
    }

    .burger {
        display: block;
    }

    .nav-active {
        transform: translateX(0%);
    }

    @keyframes navLinkFade {
        from {
            opacity: 0;
            transform: translateX(50px);
        }

        to {
            opacity: 1;
            transform: translateX(0px);
        }
    }

    #hero h1 {
        font-size: 2.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
}