/* style.css */
:root {
    --cream-bg: #FCFBF8;
    --moss-green: #61734b;
    --rose-pink: #c76f7c;
    --dark-text: #333333;
    --light-green: #e6ebd9; /* A softer green for alternate background sections */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

/* Padding added to body to account for the fixed top banner */
body {
    background-color: var(--cream-bg);
    color: var(--dark-text);
    padding-top: 80px; 
}

/* =========================================
   MOBILE FIRST: HEADER & NAVIGATION
   ========================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--cream-bg);
    border-bottom: 2px solid var(--moss-green);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    height: 80px;
}

.logo-container img {
    height: 80px;
    width: auto;
}

/* Mobile Hamburger Button */
.menu-toggle {
    display: block;
    cursor: pointer;
    font-size: 2rem;
    color: var(--moss-green);
    background: none;
    border: none;
}

/* Mobile Nav Menu (Hidden by default) */
nav {
    display: none; 
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--cream-bg);
    border-bottom: 2px solid var(--moss-green);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

nav.active {
    display: block;
}

nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    text-align: center;
}

nav ul li {
    padding: 15px 0;
    border-bottom: 1px solid #eaeaea;
}

nav ul li a {
    text-decoration: none;
    color: var(--moss-green);
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--rose-pink);
}

/* =========================================
   MOBILE FIRST: TYPOGRAPHY & SECTIONS
   ========================================= */
h1, h2, h3 {
    color: var(--moss-green);
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
}

p {
    line-height: 1.6;
    margin-bottom: 15px;
}

section {
    padding: 50px 20px;
    text-align: center;
}

/* Hero Section */
.hero {
    background-color: var(--light-green); /* In the future, this can be an event photo background */
    padding: 80px 20px;
    border-bottom: 3px solid var(--rose-pink);
}

.hero h1 {
    font-size: 2.2rem;
}

.btn {
    display: inline-block;
    background-color: var(--rose-pink);
    color: white;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    margin-top: 20px;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #b05c68;
}

/* Services Grid (Single column on mobile) */
.services-grid, .steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}

.card {
    background: white;
    padding: 30px 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--moss-green);
}

.card h3 {
    color: var(--rose-pink);
}

.how-it-works {
    background-color: var(--light-green);
}

footer {
    background-color: var(--moss-green);
    color: var(--cream-bg);
    text-align: center;
    padding: 30px 20px;
}

/* =========================================
   DESKTOP SCALING (PC Friendly)
   ========================================= */
@media (min-width: 768px) {
    /* Header & Nav */
    header { padding: 10px 50px; }
    .menu-toggle { display: none; } /* Hide hamburger */
    
    nav {
        display: block !important; /* Force show nav */
        position: static;
        width: auto;
        border: none;
        background: transparent;
        box-shadow: none;
    }
    
    nav ul {
        flex-direction: row;
        gap: 30px;
    }
    
    nav ul li { border-bottom: none; padding: 0; }
    
    /* Layout Scaling */
    section { padding: 80px 50px; }
    .container { max-width: 1200px; margin: 0 auto; }
    
    .hero { padding: 120px 50px; }
    .hero h1 { font-size: 3.5rem; }
    
    /* Grids expand to 3 columns on PC */
    .services-grid, .steps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}
/* =========================================
   NEW LAYOUT STRUCTURES
   ========================================= */

/* Hero Image Banner */
.hero-image-banner {
    width: 100%;
    height: 60vh; /* Takes up 60% of the screen height */
    /* High-quality Unsplash stock photo for elegant events */
    background-image: url('https://images.unsplash.com/photo-1511285560929-80b456fea0bc?auto=format&fit=crop&w=1920&q=80'); 
    background-size: cover;
    background-position: center;
    border-bottom: 4px solid var(--rose-pink);
}
/* Split Section (Image on one side, text on the other) */
.split-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    padding: 50px 20px;
}

.split-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.split-text {
    text-align: center;
}

/* Photo Gallery Grid */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
    gap: 10px;
    padding: 20px 0;
}

.photo-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images fill the square without stretching */
    aspect-ratio: 1 / 1; /* Keeps them perfectly square */
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.photo-gallery img:hover {
    transform: scale(1.02);
}

/* Testimonial Section */
.testimonial {
    background-color: var(--light-green);
    padding: 60px 20px;
    text-align: center;
    font-style: italic;
    border-top: 1px solid var(--moss-green);
    border-bottom: 1px solid var(--moss-green);
}

.testimonial h3 {
    color: var(--moss-green);
    font-size: 1.4rem;
    line-height: 1.8;
}

/* Footer Structure */
.site-footer {
    background-color: var(--moss-green);
    color: var(--cream-bg);
    padding: 50px 20px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
    margin-bottom: 30px;
}

.footer-column h4 {
    color: var(--rose-pink);
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--cream-bg);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--rose-pink);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 0.9rem;
}

/* =========================================
   DESKTOP SCALING (PC Friendly)
   ========================================= */
@media (min-width: 768px) {
    .split-section {
        flex-direction: row;
        text-align: left;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .split-text {
        text-align: left;
        padding-left: 40px;
    }

    .split-image, .split-text {
        flex: 1; /* Makes them take up exactly 50% of the screen each */
    }

    .photo-gallery {
        grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop */
        gap: 20px;
    }

    .testimonial h3 {
        max-width: 800px;
        margin: 0 auto;
        font-size: 1.8rem;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns for footer links */
        max-width: 1200px;
        margin: 0 auto 30px;
        text-align: left;
    }
}
/* =========================================
   VIDEO HERO BANNER
   ========================================= */
.hero-video-banner {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 4px solid var(--rose-pink);
    
    /* Fallback image if the video fails or takes a moment to load */
    background-color: var(--moss-green);
    background-image: url('https://images.unsplash.com/photo-1514525253161-7a46d19cd819?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
}

.hero-video-banner video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover; /* Prevents video stretching */
}

/* Darkens the video slightly so white text pops */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

/* Content wrapper inside the video banner */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-content h1 {
    color: white; /* Overrides the moss-green default for this section */
    font-size: 2.8rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .hero-content h1 { font-size: 4rem; }
}

/* =========================================
   BESPOKE QUOTE BUILDER (STORE)
   ========================================= */
.quote-builder-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.store-section {
    flex: 2;
}

/* The cart/sidebar */
.quote-sidebar {
    flex: 1;
    background: white;
    padding: 25px;
    border-radius: 8px;
    border: 2px solid var(--moss-green);
    position: sticky;
    top: 100px; /* Sticks just below your top nav banner */
    align-self: flex-start; /* Crucial for sticky behavior in Flexbox */
    width: 100%;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 50px;
}

.product-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    text-align: center;
    padding-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s, border-color 0.2s;
}

.product-card:hover {
    transform: translateY(-3px);
    border-color: var(--rose-pink);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.product-info {
    padding: 15px;
}

.product-info h4 {
    color: var(--moss-green);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.price {
    color: var(--rose-pink);
    font-weight: bold;
    margin-bottom: 15px;
    display: block;
}

/* Cart List Styles */
.quote-list {
    list-style: none;
    margin-top: 20px;
    margin-bottom: 20px;
    border-top: 1px solid #eee;
    padding-top: 15px;
    min-height: 50px;
}

.quote-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
    align-items: center;
}

.quote-total {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 1.3rem;
    color: var(--moss-green);
    border-top: 2px solid var(--light-green);
    padding-top: 15px;
    margin-bottom: 20px;
}

.remove-btn {
    color: #d9534f;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: bold;
    border: none;
    background: #ffeeee;
    padding: 4px 8px;
    border-radius: 4px;
    margin-left: 10px;
}

.empty-cart-msg {
    color: #888;
    font-style: italic;
    font-size: 0.9rem;
}

/* Input fields for the quote form */
.quote-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.btn-full {
    width: 100%;
    text-align: center;
}

@media (min-width: 768px) {
    .quote-builder-layout {
        flex-direction: row;
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* =========================================
   PACKAGE GRIDS & TIERS
   ========================================= */
.package-category {
    margin-bottom: 60px;
}

.package-category h3 {
    text-align: center;
    color: var(--moss-green);
    font-size: 2rem;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--light-green);
    padding-bottom: 10px;
}

.package-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.package-card {
    background: white;
    border: 2px solid var(--light-green);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.package-card:hover {
    transform: translateY(-5px);
    border-color: var(--moss-green);
}

/* Luxury Tier Styling */
.package-card.luxury {
    border-color: var(--rose-pink);
    background-color: #fffcfd; /* A very faint tint of the rose pink */
}

.package-title {
    font-family: 'Playfair Display', serif;
    color: var(--moss-green);
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.package-card.luxury .package-title {
    color: var(--rose-pink);
}

.package-features {
    list-style: none;
    margin: 20px 0 30px 0;
    text-align: left;
}

.package-features li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    font-size: 0.95rem;
}

/* Standard Checkmark */
.package-features li::before {
    content: '✓';
    color: var(--moss-green);
    position: absolute;
    left: 5px;
    font-weight: bold;
}

/* Luxury Sparkle Checkmark */
.package-card.luxury .package-features li::before {
    content: '✨';
    color: var(--rose-pink);
}

@media (min-width: 768px) {
    .package-grid {
        grid-template-columns: repeat(2, 1fr); /* Side-by-side on PC */
    }
}
/* =========================================
   FADING HERO SLIDESHOW (BESPOKE PAGE)
   ========================================= */
.hero-slideshow {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
    border-bottom: 4px solid var(--rose-pink);
    background-color: var(--moss-green);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out; /* Creates the elegant smooth fade */
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}
/* =========================================
   HEADER CART & MOBILE SLIDE-OUT DRAWER
   ========================================= */

/* Groups the hamburger menu and the new cart button */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-btn-container {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.cart-btn {
    background: none;
    border: none;
    color: var(--moss-green);
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.cart-btn svg {
    width: 28px;
    height: 28px;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--rose-pink);
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.75rem;
    font-weight: bold;
}

.header-cart-total {
    color: var(--moss-green);
    font-weight: bold;
    font-size: 1rem;
    display: none; /* Hidden on very small screens to save space */
}

/* Dark overlay for mobile cart */
.cart-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
}

.cart-overlay.active {
    display: block;
}

/* Close button for mobile cart */
.cart-close-btn {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: var(--moss-green);
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
}

/* Mobile Layout for the Sidebar */
@media (max-width: 767px) {
    .header-cart-total {
        display: block; /* Show price next to cart icon */
    }

    .quote-sidebar {
        position: fixed;
        top: 0;
        right: -100%; /* Hides the drawer off-screen */
        width: 320px;
        max-width: 85%;
        height: 100vh;
        z-index: 2000;
        border-radius: 0;
        border: none;
        transition: right 0.3s ease-in-out;
        overflow-y: auto;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
        margin: 0;
    }

    /* Applied via JS when the cart icon is clicked */
    .quote-sidebar.open {
        right: 0;
    }

    .cart-close-btn {
        display: block;
    }
    
    .quote-sidebar h3 {
        margin-top: 10px;
    }
}

/* Header Layout Adjustments */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-actions {
    margin-left: auto; /* Pushes the cart/menu to the far right */
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Cookie Banner Updates */
.cookie-actions {
    display: flex;
    gap: 10px;
}
.cookie-actions .btn-reject {
    background-color: transparent;
    border: 1px solid var(--cream-bg);
    color: var(--cream-bg);
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}
.cookie-actions .btn-reject:hover {
    background-color: rgba(255,255,255,0.1);
}

/* Dynamic Disco Gallery styling */
.dynamic-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
}
.gallery-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
/* Find this block and update it to include the video tag */
.gallery-card img, .gallery-card video {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block; /* This removes the small gap under videos */
}
.gallery-card .blurb {
    padding: 20px;
    color: #555;
    font-style: italic;
    text-align: center;
}

@media (min-width: 768px) {
    .dynamic-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* =========================================
   VIDEO HERO BANNER (Disco Page)
   ========================================= */
.hero-video-banner {
    position: relative;
    width: 100%;
    height: 60vh; /* Matches your other hero images */
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--moss-green);
}

.hero-video-banner video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover; /* Ensures the video scales without stretching */
}

/* Dark overlay so the white text is readable over bright videos */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 76, 56, 0.6); /* Moss green tint with 60% opacity */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--cream-bg);
    padding: 0 20px;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin: 0 0 10px 0;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
}