/* ===================================
   CSS Reset & Base Styles
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #4a4a4a;
    background-color: #fdfcfb;
}

/* ===================================
   Typography
   =================================== */

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    color: #2c2c2c;
}

/* ===================================
   Utility Classes
   =================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   Header & Navigation
   =================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #FFF2EB;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.navbar {
    padding: 0.5rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0rem;
}

.brand-logo {
    height: 50px;
    width: auto;
    mix-blend-mode: multiply;
}

.vintage-logo {
    height: 110px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #5a5a5a;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #d4a574;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #d4a574, #b8860b);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    position: relative;
    width: 100%;
    height: auto;
    background: #FFF2EB;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-banner-img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-overlay {
    display: none;
}

.intro-branding {
    padding: 6rem 0;
    background: linear-gradient(135deg, #fff9f5 0%, #ffe8dc 100%);
    text-align: center;
    position: relative;
    margin-top: -50px;
    /* Slight overlap for a modern look */
    z-index: 10;
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 3rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(139, 111, 71, 0.15);
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    color: #8B6F47;
    margin-bottom: 1.5rem;
    text-shadow:
        2px 2px 4px rgba(255, 255, 255, 0.9),
        0 0 20px rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #2c2c2c;
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.8;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
}

/* ===================================
   Buttons
   =================================== */

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, #d4a574 0%, #b8860b 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(212, 165, 116, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(212, 165, 116, 0.5);
}

.btn-secondary {
    background: linear-gradient(135deg, #e8b89a 0%, #d4a574 100%);
    color: #fff;
    box-shadow: 0 6px 15px rgba(212, 165, 116, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 165, 116, 0.4);
}

.btn-full {
    width: 100%;
}

/* ===================================
   Section Styles
   =================================== */

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #d4a574, #b8860b);
    margin: 0 auto;
    border-radius: 2px;
}

/* ===================================
   About Section
   =================================== */

.about {
    padding: 6rem 0;
    background: linear-gradient(135deg, #fff9f5 0%, #ffe8dc 100%);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #5a5a5a;
}

.about-text strong {
    color: #d4a574;
    font-weight: 600;
}

/* ===================================
   Menu Section
   =================================== */

.menu {
    padding: 6rem 0;
    background-color: #fdfcfb;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.product-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(212, 165, 116, 0.3);
}

.card-image {
    height: 220px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #fdfcfb;
    position: relative;
}

.card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
}

/* Product Images */
.walnut-cake {
    background-image: url('/images/walnut-cake.jpg');
}

.plum-cake {
    background-image: url('/images/plum-cake.jpg');
}

.brownie {
    background-image: url('/images/brownie.jpg');
}

.card-content {
    padding: 2rem;
    text-align: center;
}

.product-name {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 0.3rem;
}

.product-weight {
    font-size: 0.95rem;
    color: #999;
    margin-bottom: 1rem;
    font-style: italic;
}

.product-description {
    font-size: 1rem;
    color: #6a6a6a;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.product-price {
    font-size: 2rem;
    font-weight: 700;
    color: #d4a574;
    margin-bottom: 1.5rem;
}

/* ===================================
   Contact Section
   =================================== */

.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, #fff5f0 0%, #ffe8dc 100%);
}

.contact-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.contact-info {
    background: #fff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 32px;
    height: 32px;
    color: #d4a574;
    flex-shrink: 0;
}

.contact-label {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 0.2rem;
}

.contact-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c2c2c;
}

/* ===================================
   Footer
   =================================== */

.footer {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    padding: 2rem 0;
    text-align: center;
}

.footer-text {
    color: #d4a574;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 768px) {
    .nav-menu {
        gap: 1.5rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .vintage-logo {
        height: 55px;
    }

    .hero {
        min-height: 70vh;
        background-attachment: scroll;
    }

    .hero-content {
        padding: 2.5rem 2rem;
        max-width: 90%;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about,
    .menu,
    .contact {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .hero-content {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }

    .product-name {
        font-size: 1.5rem;
    }

    .product-price {
        font-size: 1.7rem;
    }
}