/* DESIGN SYSTEM - EDITORIAL MAGAZINE AESTHETIC */
:root {
    --bg-dark: #161310;       /* NEW BANNER COLOR: Deep Warm Onyx */
    --bg-cream: #F8F6F0;      
    --bg-card: #EFECE5;       
    --color-brown: #443731;   
    --color-text: #161310;    
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    
    --transition: all 0.3s ease;
}

/* GLOBAL RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-cream);
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--bg-cream);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

/* TYPOGRAPHY */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--color-brown); /* Changes the big headings to Espresso */
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.divider {
    height: 2px;
    width: 60px;
    background-color: var(--color-brown);
    margin: 0 auto 20px auto;
}

.divider.left {
    margin: 0 0 20px 0;
}

.section-desc {
    font-size: 1.1rem;
    color: #666;
    font-weight: 300;
}

/* ICONS */
.icon {
    font-size: 1.8rem;
    color: var(--color-brown);
    margin-bottom: 15px;
}
.icon.big {
    font-size: 2.5rem;
}

/* BUTTONS */
.btn-solid {
    display: inline-block;
    background-color: var(--color-brown);
    color: #fff;
    text-decoration: none;
    padding: 12px 30px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid var(--color-brown);
    transition: var(--transition);
}

.btn-solid:hover {
    background-color: #2e2520; /* Darker espresso hover state */
    border-color: #2e2520;
}

.btn-solid.large {
    padding: 16px 40px;
}

.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--color-text);
    text-decoration: none;
    padding: 12px 30px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border: 1px solid var(--color-text);
    transition: var(--transition);
}

.btn-outline:hover {
    background-color: var(--color-text);
    color: #fff;
}

/* HEADER */
header {
    background-color: var(--bg-dark);
    padding: 20px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
}

/* BRAND LOGO STYLING & COLOR INVERSION */
.brand-logo {
    height: 60px; /* Perfect height for the top navigation */
    width: auto;
    
    /* This is the magic line. It inverts black (0%) to pure white (100%) */
    filter: invert(100%); 
    
    /* Adds a tiny bit of transparency to match your soft editorial aesthetic */
    opacity: 0.95; 
    transition: var(--transition);
}

.brand-logo:hover {
    opacity: 1;
}

/* Makes the footer version slightly larger for visual balance */
.footer-logo {
    height: 45px;
    margin-bottom: 15px;
    display: block; /* Ensures it sits neatly above the text */
}

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

.nav-links a {
    color: #EFECE5;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--color-brown);
}

/* Enlarged & Emphasized Nav Button */
.nav-links .btn-solid {
    color: #fff;
    padding: 15px 35px;         /* Increases the clickable padding (height and width) */
    font-size: 0.95rem;         /* Bumps up the text size */
    font-weight: 600;           /* Makes the text slightly bolder */
    letter-spacing: 2px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); /* Adds a subtle drop shadow to make it pop */
}

/* Wedded Wonderland Nav Logo Alignment */
.nav-ww-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}

@keyframes luxury-pulse {
    0%, 100% { opacity: 0.85; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.07); }
}

.nav-ww-logo {
    height: 39px; 
    width: auto;
    opacity: 0.85;
    /* Runs the elegant pulse animation on a 4-second loop */
    animation: luxury-pulse 4s infinite ease-in-out; 
    transition: var(--transition);
}
/* Hover effect for the image */
.nav-ww-link:hover .nav-ww-logo {
    opacity: 1;
    transform: translateY(-2px); /* Gives it a slight upward lift when hovered */
}

/* HERO SECTION - TRIPTYCH EDITORIAL LAYOUT */
.hero {
    height: 90vh;
    position: relative;
    display: flex;
    align-items: center; /* Centers the text block perfectly over the 3 images */
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-image-grid {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-img-col {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 25%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(22, 19, 16, 0.45); /* Deep onyx overlay to make text pop */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
}


.scroll-arrow {
    position: absolute; /* Rips it out of the text flow */
    bottom: 30px; /* Pins it exactly 30px from the bottom edge of the screen */
    left: 0;
    right: 0;
    margin: 0 auto; /* Perfectly centers it horizontally */
    
    font-size: 1.5rem;
    color: #fff; /* Ensures it stays crisp white */
    animation: bounce 2s infinite;
    z-index: 10; /* Ensures it sits above the dark overlay */
}

.hero h1 {
    font-size: 5rem;
    color: #fff;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    margin-bottom: 20px;
}

.hero-text {
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 40px;
}


@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-15px);}
    60% {transform: translateY(-7px);}
}

/* FEATURES (ELEVATING BEAUTY) */
.features {
    padding: 100px 5%;
    background-color: var(--bg-cream);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--bg-card);
    padding: 40px 30px;
    text-align: left;
    border: 1px solid #E5E0D5;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* SPLIT SECTIONS (ABOUT & WEDDED WONDERLAND) */
.split-section {
    display: flex;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 5%;
    gap: 60px;
}

.split-section.reverse {
    flex-direction: row-reverse;
}

.split-image, .split-content {
    flex: 1;
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
}

.split-image.boxed img {
    border: 10px solid var(--color-brown);
}

.split-content h2 {
    font-size: 3.5rem;
}

.split-content p {
    margin-bottom: 20px;
    color: #555;
}

.editorial-quote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    border-left: 3px solid var(--color-brown);
    padding-left: 20px;
    margin: 30px 0;
    color: var(--color-text);
}

/* PORTFOLIO */
.portfolio {
    padding: 100px 5%;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-grid img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

/* TESTIMONIALS (ELFSIGHT) */
.testimonials {
    padding: 100px 5%;
    background-color: var(--bg-cream);
}

.reviews-widget-container {
    max-width: 1000px;
    margin: 50px auto 0 auto;
    background: #fff;
    padding: 20px;
    border: 1px solid #E5E0D5;
}

/* BOOKING & INQUIRIES SPLIT LAYOUT */
.booking {
    padding: 100px 5%;
}

.booking-split {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Creates the perfect 50/50 split */
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto 0 auto;
}

/* Right Side: Square Widget Container */
.square-container-split {
    background: #fff;
    padding: 50px 40px;
    border: 1px solid #E5E0D5;
    text-align: center;
}

.square-container-split h3 {
    font-size: 2.2rem;
    color: var(--color-brown);
}

/* Left Side: Dark Luxury Form Container */
.inquiry-form-container {
    background-color: var(--bg-dark); /* The deep onyx background */
    padding: 50px 40px;
    border: 1px solid var(--color-brown);
    text-align: center;
}

.inquiry-form-container h3 {
    font-size: 2.2rem;
    color: var(--color-brown); /* Espresso heading */
}

.inquiry-form-container p {
    color: #999;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

/* Form Input Styling */
.luxury-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: left;
}

.luxury-form input,
.luxury-form textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-brown); /* Espresso underlines */
    padding: 10px 0;
    color: #fff; /* White text when the user types */
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.luxury-form input:focus,
.luxury-form textarea:focus {
    outline: none;
    border-bottom-color: #fff; /* Underline lights up white when clicked */
}

.luxury-form input::placeholder,
.luxury-form textarea::placeholder {
    color: #666;
    font-weight: 300;
}

.luxury-form textarea {
    resize: none; /* Stops users from dragging and breaking the layout */
}

.full-width {
    width: 100%;
    margin-top: 15px;
}

.iframe-wrapper {
    width: 100%;
    margin-bottom: 20px;
}

.iframe-wrapper iframe {
    width: 100%;
    height: 550px; 
    border: none;
}

.secure-text {
    font-size: 0.8rem;
    color: #999;
}

/* FOOTER */
footer {
    background-color: var(--bg-dark);
    color: #fff;
    padding: 60px 5% 20px 5%;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
}

.footer-brand p {
    color: #999;
    font-size: 0.9rem;
    margin-top: 10px;
}

/* UPDATED FOOTER LAYOUT & HOVER EFFECTS */
.footer-socials {
    display: flex;
    gap: 25px;
    align-items: center;
}

/* Icon Link Base Styling */
.icon-link svg {
    width: 22px;
    height: 22px;
    color: #fff; /* Base icon color */
    transition: var(--transition);
}

/* Icon Hover State - Lights up brown */
.icon-link:hover svg {
    color: var(--color-brown);
    transform: translateY(-2px); /* Slight lift effect */
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 20px auto 0 auto;
}

/* Footer Text Links */
.footer-links a {
    color: #999;
    text-decoration: none;
    font-size: 0.85rem;
    margin-right: 20px;
    transition: var(--transition);
}

/* Footer Text Hover State - Lights up brown */
.footer-links a:hover {
    color: var(--color-brown);
}

.copyright {
    color: #666;
    font-size: 0.85rem;
}

/* MOBILE RESPONSIVE */
@media (max-width: 900px) {
    .split-section, .split-section.reverse {
        flex-direction: column;
        gap: 40px;
    }
    .hero h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }
    .footer-top, .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .footer-socials a { margin: 0 10px; }

    .booking-split {
        grid-template-columns: 1fr; /* Stacks the form and calendar vertically on phones */
    }
}

@media (max-width: 600px) {
    .nav-links { display: none; /* In a real build, add a hamburger menu here */ }
    .hero h1 { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .square-container { padding: 30px 15px; }
}

/* MASONRY GALLERY LAYOUT */
.masonry-gallery {
    column-count: 3;
    column-gap: 20px; 
    max-width: 1400px;
    margin: 0 auto;
}

.masonry-item {
    break-inside: avoid; 
    margin-bottom: 20px;
    border-radius: 4px; /* Optional: adds a tiny, high-end softening to the corners */
    overflow: hidden;
}

.masonry-item img {
    width: 100%;
    height: auto; 
    display: block;
    transition: transform 0.4s ease;
}

.masonry-item img:hover {
    transform: scale(1.02);
}

/* Masonry Mobile Scaling */
@media (max-width: 1024px) {
    .masonry-gallery {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .masonry-gallery {
        column-count: 1;
    }

    /* Converts the Triptych to a single image on mobile */
    .hero-image-grid {
        grid-template-columns: 1fr;
    }
    .hero-img-col:first-child,
    .hero-img-col:last-child {
        display: none;
    }
}

/* LUXURY GOLDEN SHIMMER EFFECT */
.shimmer-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden; /* Keeps the light strictly contained within the edges of the element */
}

.shimmer-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    
    /* NEW CHAMPAGNE SHIMMER: Bright metallic light optimized for dark espresso background */
    background: linear-gradient(
        to right, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(235, 212, 185, 0.45) 50%, /* Soft, bright metallic champagne */
        rgba(255, 255, 255, 0) 100%
    );
    
    transform: skewX(-25deg); /* Angles the beam of light */
    z-index: 10;
    pointer-events: none; /* Ensures the light doesn't block you from clicking the link */
}

/* The Animation Trigger */
.shimmer-wrapper:hover::after {
    /* Increased from 0.75s to 1s to create a slower, more luxurious sweep */
    animation: luxury-swipe 1s ease-in-out forwards; 
}

@keyframes luxury-swipe {
    0% { left: -150%; }
    100% { left: 200%; }
}