/* ==========================================================================
   IVORY GRAND EVENT COMPLEX - STYLESHEET
   Aesthetic: Clean White, Charcoal Typography, Ivory Header, Editorial Luxury
   ========================================================================== */

/* --- CSS Variables --- */
:root {
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Base Palette */
    --color-bg: #ffffff;
    --color-bg-pure: #ffffff;
    
    /* Header Accent */
    --color-ivory: #FFFFE3;

    /* Typography */
    --color-text-primary: #111111;
    --color-text-body: #3c3c3c;
    --color-text-muted: #6e6e6e;
    --color-text-light: #949494;

    /* Borders */
    --color-border: #e8e8e8;
    --color-border-subtle: #f0f0f0;

    /* Primary Accents */
    --color-primary: #111111;
    --color-primary-hover: #2a2a2a;
    --color-whatsapp: #25D366;

    --container-max: 1200px;
    --container-wide: 1320px;
    --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text-body);
    background-color: var(--color-bg);
    line-height: 1.65;
    font-size: 15px;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

ul {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* --- Layout Containers --- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6.5rem 0;
    background-color: var(--color-bg-pure);
}

/* --- Section Introductions --- */
.section-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.5rem auto;
}

.eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.6rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 3.5vw, 3.2rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-text-primary);
    letter-spacing: -0.01em;
    text-align: center;
}

.section-desc {
    margin-top: 0.85rem;
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    text-align: center;
}

.title-line {
    width: 44px;
    height: 1px;
    background-color: var(--color-text-primary);
    margin: 1.5rem auto 0 auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    padding: 0.85rem 1.75rem;
    border-radius: 2px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--color-text-primary);
    color: #ffffff;
    border-color: var(--color-text-primary);
}

.btn-primary:hover {
    background-color: #2b2b2b;
    border-color: #2b2b2b;
    color: #ffffff;
}

.btn-outline {
    background-color: transparent;
    color: var(--color-text-primary);
    border-color: var(--color-border);
}

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

.btn-full {
    width: 100%;
}

/* ==========================================================================
   HEADER / NAVBAR (ALL TEXT & NAVIGATION IN IVORY #FFFFE3)
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(17, 17, 17, 0.94);
    border-bottom: 1px solid rgba(255, 255, 227, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.header-container {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 1.1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--color-ivory);
    line-height: 1.1;
}

.brand-sub {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: var(--color-ivory);
    opacity: 0.85;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-ivory);
    letter-spacing: 0.04em;
    padding: 0.4rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-ivory);
    transition: width 0.25s ease;
}

.nav-link:hover {
    color: var(--color-ivory);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-header {
    background-color: transparent;
    color: var(--color-ivory);
    border: 1px solid var(--color-ivory);
    padding: 0.55rem 1.25rem;
    font-size: 0.82rem;
    border-radius: 2px;
}

.btn-header:hover {
    background-color: var(--color-ivory);
    color: #111111;
}

/* Header Logo Badge */
.header-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.25rem;
    line-height: 1;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.header-logo-link:hover {
    transform: scale(1.04);
    opacity: 0.95;
}

.header-logo-img {
    height: 48px;
    width: auto;
    max-width: 110px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--color-ivory);
    transition: all 0.3s ease;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 94vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 7.5rem 1.5rem 6.5rem 1.5rem;
    background-color: #111111;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.45) 0%,
        rgba(10, 10, 10, 0.65) 60%,
        rgba(10, 10, 10, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 880px;
    margin: auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.2rem;
    padding: 0.35rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6.2vw, 4.8rem);
    font-weight: 400;
    line-height: 1.15;
    color: #ffffff;
    letter-spacing: -0.01em;
    margin-bottom: 1.2rem;
    width: 100%;
}

.hero-title-line {
    display: block;
    text-align: center;
    width: 100%;
}

.hero-tagline {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    color: rgba(255, 255, 255, 0.88);
    font-weight: 300;
    max-width: 660px;
    margin: 0 auto 2.2rem auto;
    line-height: 1.55;
    text-align: center;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

/* Venue Specs Bar */
.hero-specs {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 880px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 1.25rem 1.5rem;
    margin-top: 2.2rem;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 2px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.2rem;
}

.spec-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.6);
}

.spec-value {
    font-size: 0.9rem;
    font-weight: 500;
    color: #ffffff;
}

.spec-divider {
    width: 1px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   ABOUT SECTION (PURE WHITE BACKGROUND)
   ========================================================================== */
.about-section {
    background-color: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4.5rem;
    align-items: flex-start;
}

.about-text p {
    margin-bottom: 1.35rem;
    color: var(--color-text-body);
    font-size: 1.02rem;
    line-height: 1.8;
}

.about-text .lead-text {
    font-size: 1.18rem;
    font-weight: 400;
    color: var(--color-text-primary);
    line-height: 1.7;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-card {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    padding: 1.75rem;
    border-radius: 2px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.highlight-card:hover {
    transform: translateY(-2px);
    border-color: var(--color-text-primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.card-num {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-muted);
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
}

.highlight-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 0.45rem;
}

.highlight-card p {
    font-size: 0.92rem;
    color: var(--color-text-body);
    line-height: 1.6;
}

/* ==========================================================================
   GALLERY SECTION (PURE WHITE BACKGROUND)
   ========================================================================== */
.gallery-section {
    background-color: #ffffff;
    border-top: 1px solid var(--color-border-subtle);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.event-card {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth), border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-4px);
    border-color: #bcbcbc;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
}

.event-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background-color: #f2f2f2;
}

.event-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition-smooth);
}

.event-card:hover .event-image-wrap img {
    transform: scale(1.05);
}

.event-zoom-badge {
    position: absolute;
    bottom: 0.85rem;
    right: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background-color: rgba(17, 17, 17, 0.85);
    color: #ffffff;
    padding: 0.3rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 500;
    border-radius: 2px;
    opacity: 0;
    transform: translateY(4px);
    transition: all 0.25s ease;
}

.event-card:hover .event-zoom-badge {
    opacity: 1;
    transform: translateY(0);
}

.event-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background-color: #ffffff;
}

.event-category {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-text-muted);
    margin-bottom: 0.4rem;
}

.event-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--color-text-primary);
    margin-bottom: 0.65rem;
}

.event-desc {
    font-size: 0.9rem;
    color: var(--color-text-body);
    line-height: 1.6;
}

/* ==========================================================================
   CONTACT & LOCATION SECTION (PURE WHITE BACKGROUND)
   ========================================================================== */
.contact-section {
    background-color: #ffffff;
    border-top: 1px solid var(--color-border-subtle);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 3.5rem;
    align-items: flex-start;
}

.col-heading {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--color-text-primary);
    margin-bottom: 0.6rem;
}

.form-sub {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    margin-bottom: 1.75rem;
}

/* Contact Info Items */
.info-items {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
}

.info-icon {
    width: 42px;
    height: 42px;
    border-radius: 2px;
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-primary);
    flex-shrink: 0;
}

.whatsapp-icon {
    color: #128C7E;
}

.info-text .label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-text-muted);
    margin-bottom: 0.15rem;
}

.info-text .value {
    font-size: 0.96rem;
    color: var(--color-text-primary);
    line-height: 1.5;
}

.info-text .link {
    font-weight: 500;
}

.info-text .link:hover {
    text-decoration: underline;
}

/* Map Card */
.map-card {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    padding: 1rem;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.map-embed-wrap {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 2px;
    background-color: #f5f5f5;
}

/* Inquiry Form */
.inquiry-form {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    padding: 2.25rem 2rem;
    border-radius: 2px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.form-group {
    margin-bottom: 1.35rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-primary);
    letter-spacing: 0.02em;
    margin-bottom: 0.45rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 2px;
    color: var(--color-text-primary);
    font-size: 0.92rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-text-primary);
    box-shadow: 0 0 0 2px rgba(17, 17, 17, 0.06);
}

.form-group textarea {
    resize: vertical;
}

.form-status {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 2px;
    font-size: 0.9rem;
    text-align: center;
}

.form-status.success {
    background-color: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.form-status.error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background-color: #111111;
    color: #ffffff;
    padding: 4.5rem 0 2rem 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr;
    gap: 3rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: #ffffff;
}

.footer-sub {
    display: block;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
    margin-bottom: 1.1rem;
}

.footer-desc {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    max-width: 300px;
}

.footer-heading {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.2rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-links a,
.footer-links span {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-links .hours {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.82rem;
}

.social-pills {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.social-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.86rem;
    padding: 0.55rem 1rem;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 2px;
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.25s ease;
}

.social-pill:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.footer-bottom {
    padding-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(10, 10, 10, 0.9);
}

.lightbox-container {
    position: relative;
    z-index: 2;
    max-width: 950px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 2.2rem;
    cursor: pointer;
    line-height: 1;
}

.lightbox-img {
    max-height: 78vh;
    width: auto;
    max-width: 100%;
    border-radius: 2px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    margin-top: 1rem;
    color: #ffffff;
    text-align: center;
    font-size: 0.95rem;
    font-family: var(--font-heading);
    letter-spacing: 0.02em;
}

/* ==========================================================================
   SUBTLE SCROLL ANIMATIONS
   ========================================================================== */
.fade-up-element {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
    will-change: opacity, transform;
}

.fade-up-element.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4.5rem 0;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #111111;
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem 1.5rem;
        gap: 1.25rem;
        border-bottom: 1px solid rgba(255, 255, 227, 0.15);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
        transform: translateY(-120%);
        transition: transform 0.3s ease;
    }

    .nav-menu.is-active {
        transform: translateY(0);
    }

    .header-logo-link {
        align-self: center;
        margin-top: 0.5rem;
    }

    .header-logo-img {
        height: 42px;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-section {
        min-height: 85vh;
        padding-top: 6.5rem;
    }

    .hero-specs {
        flex-direction: column;
        gap: 0.85rem;
        padding: 1.1rem;
    }

    .spec-divider {
        width: 60%;
        height: 1px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}
