/* public\assets\css\weddingTheme.css */
:root {
    --gold: #C9A14A;
    --gold-dark: #b08d3d;
    --ivory: #FFFBF5;
    --dark: #2D2D2D;
    --soft-shadow: 0 10px 30px rgba(0,0,0,0.05);
    --darkGold:#d8ba7a;
    --white: #ffffff;
}

body {
    background-color: var(--ivory);
    color: var(--dark);
    font-family: 'Inter', sans-serif;
}

/* Hero Section with Glassmorphism */
.hero-section {
    height: 100vh;
    background: url('../images/wedding/weddingCoverpage.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    padding-top: 15vh; 
    box-sizing: border-box;
}

.hero-section h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    animation: fadeInUp 1.2s ease forwards;
}

.hero-section h1 span {
    color: var(--dark);
    font-size: 3rem;
    font-weight: 300;
}


/* Portfolio Gallery with "Zoom-In" Reveal */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    padding: 60px 40px;
    background: white;
}

.photo-item {
    overflow: hidden;
    position: relative;
    height: 450px;
    border-radius: 2px;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-item:hover img {
    transform: scale(1.1);
}

/* Review Cards with Psychological Anchoring */
.reviews { padding: 80px 20px; background: var(--ivory); }

.review-card {
    background: white;
    padding: 40px;
    margin: 30px auto;
    max-width: 700px;
    text-align: center;
    border: 1px solid rgba(201, 161, 74, 0.2);
    box-shadow: var(--soft-shadow);
}

.review-card h3 { font-family: 'Playfair Display', serif; color: var(--gold); }
.stars { margin-bottom: 15px; color: var(--gold); letter-spacing: 3px; }

/* Call to Action Button */
.cta-section button {
    background: var(--dark);
    color: white;
    padding: 20px 50px;
    border: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.4s;
    display: block;
    margin: 40px auto;
}

.cta-section button:hover {
    background: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(201, 161, 74, 0.3);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
    .hero-section h1 { font-size: 2.5rem; }
    .cat-card { height: 400px; }
}

/* --- ADVANCED WEDDING MOBILE OVERRIDES --- */

@media (max-width: 768px) {
    /* 1. Hero Scaling */
    .hero-section {
        background-attachment: scroll; /* Prevents jittery scrolling on mobile GPUs */
    }

    .hero-section h1 {
        font-size: 2.5rem; /* Scaled for vertical screens */
        padding: 0 15px;
    }

    .hero-section h1 span {
        font-size: 1.8rem;
        display: block;
        color: var(--gold); /* Gold accent for mobile readability */
    }

    /* 2. Gallery Grid - Single Column & Staggered Reveal */
    .gallery-grid {
        grid-template-columns: 1fr; /* Stack images vertically */
        padding: 40px 15px;
        gap: 15px;
    }

    .photo-item {
        height: 350px; /* Uniform height for clean mobile scrolling */
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }

    /* JavaScript triggers this class as the user scrolls */
    .photo-item.visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* 3. Review Cards Optimization */
    .reviews {
        padding: 40px 15px;
    }

    .review-card {
        padding: 30px 20px;
        margin: 20px 0;
        width: auto;
        /* Subtle entrance for reviews */
        opacity: 0;
        transform: scale(0.95);
        transition: all 0.6s ease;
    }

    .review-card.visible {
        opacity: 1;
        transform: scale(1);
    }

    /* 4. Mobile Button (CTA) */
    .cta-section button {
        width: 90%;
        padding: 18px 20px;
        font-size: 0.9rem;
    }

    /* Active feedback for touch (replacing desktop hover) */
    .cta-section button:active {
        background: var(--gold);
        transform: scale(0.96);
    }
}

/* 5. Special Fix for Very Narrow Phones */
@media (max-width: 400px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    .photo-item {
        height: 280px;
    }
}