@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
    /* Creamy Color Palette */
    --bg-primary: #FFFFFF;
    /* Soft Ivory */
    --bg-secondary: #F8F9FA;
    /* Delicate Cream */
    --text-primary: #1A1A1A;
    /* Deep Charcoal */
    --text-secondary: #555555;
    /* Soft Grey */
    --accent: #222222;
    /* Muted Gold */
    --accent-hover: #000000;
    --glass-white: rgba(255, 255, 255, 0.95);
    --border-color: rgba(0, 0, 0, 0.1);

    /* Spacing & Transitions */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.brand-font {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img,
video {
    max-width: 100%;
    height: auto;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

/* Glassmorphism Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--glass-white);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-button {
    background: #D4AF37;
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 1px solid #D4AF37;
}

@media (max-width: 768px) {
    .bridal-section-container {
        height: 400px !important;
    }
}

.cta-button:hover {
    background: transparent;
    color: #D4AF37;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: white;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
    z-index: -1;
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-inline: auto;
    font-weight: 300;
}

/* Sections */
section {
    padding: var(--spacing-lg) 5%;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-title span {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

/* Responsive Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.service-img {
    height: 350px;
    width: 100%;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-info {
    padding: 2.5rem;
    text-align: center;
}

.service-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: #25D366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
}

/* Mobile Responsive */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    body {
        padding-bottom: 100px;
        /* Prevent content from being hidden behind bottom nav */
    }

    .menu-toggle {
        display: block;
        order: 3;
    }

    .logo {
        order: 2;
        flex: 1;
        text-align: center;
    }

    .cta-button {
        display: none;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(253, 251, 247, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;
        text-align: center;
        gap: 2.5rem;
        z-index: 2000;
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateX(100%);
        backdrop-filter: blur(20px);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.8rem;
        font-family: 'Playfair Display', serif;
        font-weight: 600;
        color: var(--text-primary);
    }

    header {
        padding: 0.5rem 5%;
        height: 70px;
        justify-content: space-between;
        background: rgba(253, 251, 247, 0.95);
        backdrop-filter: blur(15px);
    }

    .hero-content h1 {
        font-size: 2.4rem;
        letter-spacing: -1px;
    }

    .hero-content p {
        font-size: 1rem;
        padding: 0 10%;
    }

    section {
        padding: 4rem 5%;
    }

    /* Mobile Navigation Bar (Native App Style) */
    .bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        transform: none;
        width: 100%;
        max-width: none;
        background: rgba(255, 255, 255, 0.98);
        /* Almost solid for stability */
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 10px 0 25px 0;
        /* Extra padding at bottom for iPhone Home bar */
        border-radius: 20px 20px 0 0;
        /* Only top corners rounded */
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
        /* Subtle shadow upwards */
        z-index: 9999;
        border-top: 1px solid rgba(220, 220, 220, 0.5);
        /* Definition border */
        border-left: none;
        border-right: none;
        border-bottom: none;
    }

    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: #999;
        /* Standard inactive grey */
        position: relative;
        transition: all 0.2s ease;
        padding: 5px;
        flex: 1;
    }

    .bottom-nav-item i {
        font-size: 1.4rem;
        margin-bottom: 4px;
        transition: transform 0.2s ease;
    }

    .bottom-nav-item span {
        display: block;
        font-size: 10px;
        font-weight: 500;
        letter-spacing: 0.2px;
    }

    .bottom-nav-item.active {
        color: var(--accent);
        /* Brand Gold */
    }



    /* Active line indicator at top (Optional, but very "app-like") */
    .bottom-nav-item.active::after {
        display: none;
        /* Keeping it clean first */
    }

    .bottom-nav-item.book-btn {
        background: var(--accent);
        color: white !important;
        border-radius: 50%;
        width: 55px;
        /* Slightly larger FAB */
        height: 55px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: -35px;
        /* Higher overlap */
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.5);
        border: 4px solid rgba(255, 255, 255, 1);
        /* Solid white border */
    }

    .bottom-nav-item.book-btn i {
        font-size: 1.6rem;
        margin-bottom: 0;
    }

    .bottom-nav-item.book-btn span {
        display: none;
    }

    .desktop-only {
        display: none !important;
    }

    .whatsapp-float {
        display: none !important;
        /* Managed by bottom nav on mobile */
    }


    .service-card {
        border-radius: 20px;
        overflow: hidden;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
    .bottom-nav {
        display: none;
    }
}

/* =========================================
   Gallery Page Styles
   ========================================= */

/* Filter Buttons */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 2rem;
    border: 1px solid var(--accent);
    background: transparent;
    color: var(--text-primary);
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--accent);
    color: white;
}

/* Masonry/Grid Layout */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    /* Increased gap for premium feel */
    grid-auto-flow: dense;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    /* Match service-card */
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    /* Smoother transition */
    height: 350px;
    /* Taller for premium impact */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    /* Base shadow */
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Subtle border */
    background: #fff;
}

.gallery-item:hover {
    transform: translateY(-10px);
    /* Lift effect */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    /* Deep premium shadow */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    /* Slow zoom */
}

.gallery-item:hover img {
    transform: scale(1.1);
    /* Zoom effect */
}

.gallery-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    /* More dramatic gradient */
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    transform: translateY(20px);
    transition: 0.4s;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #fff;
    /* Ensure text is white */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.gallery-item:hover .gallery-overlay h3 {
    transform: translateY(0);
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.05);
    /* Subtle zoom */
}

/* Hover Overlay */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-overlay h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 400;
    transform: translateY(20px);
    transition: transform 0.3s ease 0.1s;
}

.gallery-item:hover .gallery-overlay i,
.gallery-item:hover .gallery-overlay h3 {
    transform: translateY(0);
}

/* Page Header Specific for Gallery */
.page-header {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    margin-top: 80px;
    /* Offset fixed header */
}

.page-header h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    transition: color 0.3s;
}

.close-lightbox:hover {
    color: var(--accent);
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {

    /* Gallery Grid for Mobile - 2 Column Masonry Style */
    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        /* 2 Columns */
        gap: 0.5rem;
        /* Small gap for phone feel */
        padding: 0 0.5rem;
    }

    .gallery-item {
        height: 200px;
        /* Shorter for mobile */
        border-radius: 12px;
        /* Softer corners */
    }

    /* Remove wide span on mobile for consistency */
    .gallery-item.wide {
        grid-column: span 1;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }
}

/* Standard Page Header */
.page-header {
    background-size: cover;
    background-position: center;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 80px;
    position: relative;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.page-header>div {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    color: #D4AF37;
}

.page-header p {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .page-header {
        height: 30vh;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-header p {
        font-size: 1.1rem;
    }
}

/* Overrides for White Theme */
.page-header h1 {
    color: #FFFFFF !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}