@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --bg-obsidian: #0a0a0e;
    --bg-card: #14141c;
    --bg-glass: rgba(20, 20, 28, 0.75);
    --gold-primary: #d4af37;
    --gold-light: #f8e5b0;
    --gold-dark: #9e7d1c;
    --gold-gradient: linear-gradient(135deg, #fff2be 0%, #d4af37 50%, #9e7d1c 100%);
    --text-main: #fcfcfd;
    --text-muted: #e4e4ee;
    --border-gold: rgba(212, 175, 55, 0.28);
    --border-gold-glow: rgba(212, 175, 55, 0.6);
    --shadow-gold: 0 10px 30px -10px rgba(212, 175, 55, 0.25);
    --font-heading: 'Cinzel', serif;
    --font-body: 'Outfit', sans-serif;
}

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

body {
    background-color: var(--bg-obsidian);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.65;
}

/* Ensure high visibility for muted text on dark backgrounds */
.text-muted {
    color: var(--text-muted) !important;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--font-heading);
    color: var(--gold-light);
    letter-spacing: 1px;
}

/* ================= PRELOADER ================= */
#zaf-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #181824 0%, #08080c 100%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#zaf-preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-emblem {
    width: 130px;
    height: 130px;
    animation: pulseGold 2s infinite ease-in-out;
}

.preloader-spinner {
    width: 55px;
    height: 55px;
    border: 3px solid rgba(212, 175, 55, 0.15);
    border-top: 3px solid var(--gold-primary);
    border-radius: 50%;
    animation: spinGold 1s linear infinite;
    margin-top: 25px;
}

@keyframes spinGold {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulseGold {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4)); }
    50% { transform: scale(1.08); filter: drop-shadow(0 0 28px rgba(212, 175, 55, 0.8)); }
}

/* ================= NAVBAR & LOGO ================= */
.navbar-zaf {
    background: rgba(10, 10, 14, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-gold);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.zaf-logo-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.35));
    transition: transform 0.4s ease;
}

.zaf-logo-img:hover {
    transform: scale(1.06);
}

.navbar-brand-text {
    display: flex;
    flex-direction: column;
    margin-left: 14px;
}

.navbar-brand-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
}

.navbar-brand-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.nav-link {
    color: var(--text-main) !important;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 8px 16px !important;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--gold-primary) !important;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* ================= BUTTONS ================= */
.btn-gold {
    background: var(--gold-gradient);
    color: #0c0c10 !important;
    font-weight: 700;
    font-family: var(--font-heading);
    padding: 12px 28px;
    border-radius: 4px;
    border: none;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-gold);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px -5px rgba(212, 175, 55, 0.55);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold-light) !important;
    border: 1.5px solid var(--gold-primary);
    font-weight: 600;
    font-family: var(--font-heading);
    padding: 12px 28px;
    border-radius: 4px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.4s ease;
}

.btn-outline-gold:hover {
    background: var(--gold-primary);
    color: #0a0a0e !important;
    box-shadow: var(--shadow-gold);
}

/* ================= HERO IMAGE SLIDER ================= */
.zaf-hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.2s ease, transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,14,0.6) 0%, rgba(10,10,14,0.85) 60%, var(--bg-obsidian) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 60px 0;
}

.hero-badge {
    display: inline-block;
    padding: 6px 18px;
    border: 1px solid var(--gold-primary);
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold-light);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    border-radius: 30px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8e5b0 60%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    color: var(--text-muted);
    max-width: 650px;
    margin-bottom: 36px;
}

/* Hero Carousel Controls */
.hero-controls {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 15;
    display: flex;
    gap: 12px;
}

.hero-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(20, 20, 28, 0.8);
    border: 1px solid var(--border-gold);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-nav-btn:hover {
    background: var(--gold-primary);
    color: #000;
    transform: scale(1.1);
}

/* ================= GLASS CARDS & SECTIONS ================= */
.zaf-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 28px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.zaf-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-gold-glow);
    box-shadow: 0 20px 40px -15px rgba(212, 175, 55, 0.22);
}

.section-padding {
    padding: 90px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold-primary);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 18px;
}

/* ================= EVENT & CATEGORY CARDS ================= */
.event-card-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}

.event-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.zaf-card:hover .event-card-img {
    transform: scale(1.08);
}

.event-category-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(10, 10, 14, 0.85);
    border: 1px solid var(--gold-primary);
    color: var(--gold-light);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.price-tag {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--gold-primary);
}

/* ================= TESTIMONIALS SECTION ================= */
.testimonial-card {
    background: linear-gradient(145deg, rgba(20, 20, 28, 0.9) 0%, rgba(12, 12, 18, 0.95) 100%);
    border: 1px solid var(--border-gold);
    border-radius: 14px;
    padding: 34px;
    position: relative;
}

.testimonial-quote-icon {
    font-size: 3rem;
    color: var(--gold-primary);
    opacity: 0.25;
    position: absolute;
    top: 20px;
    right: 25px;
}

.star-rating {
    color: var(--gold-primary);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

/* ================= QR TICKETING SYSTEM ================= */
.qr-ticket-wrapper {
    background: linear-gradient(135deg, #14141d 0%, #0d0d14 100%);
    border: 2px solid var(--gold-primary);
    border-radius: 16px;
    padding: 30px;
    position: relative;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.18);
}

.qr-code-box {
    background: #ffffff;
    padding: 16px;
    border-radius: 12px;
    display: inline-block;
    border: 3px solid var(--gold-primary);
}

/* ================= WHATSAPP FLOATING CTA ================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    z-index: 1000;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    color: #fff;
}

/* ================= FOOTER ================= */
.zaf-footer {
    background: #060609;
    border-top: 1px solid var(--border-gold);
    padding: 70px 0 30px;
}

.footer-social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-gold);
    color: var(--gold-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social-link:hover {
    background: var(--gold-primary);
    color: #000;
    transform: translateY(-4px);
}

/* ================= SCROLL ANIMATIONS (AOS-LIKE) ================= */
[data-zaf-animate] {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

[data-zaf-animate="zoom"] {
    transform: scale(0.92);
}

[data-zaf-animate].zaf-animated {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ================= LUXURY PAGE HEADER BANNERS ================= */
.page-header-banner {
    position: relative;
    padding: 100px 0 80px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid var(--border-gold);
    overflow: hidden;
    text-align: center;
}

.page-header-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 14, 0.72) 0%, rgba(14, 14, 22, 0.88) 65%, var(--bg-obsidian) 100%);
    z-index: 1;
}

.page-header-banner .header-watermark {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%) rotate(8deg);
    width: 300px;
    height: 300px;
    opacity: 0.14;
    pointer-events: none;
    z-index: 2;
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.6));
}

.page-header-banner .header-floating-icon {
    position: absolute;
    top: 20%;
    left: 7%;
    width: 150px;
    height: 150px;
    opacity: 0.15;
    pointer-events: none;
    z-index: 2;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5));
}

.page-header-banner .container {
    position: relative;
    z-index: 5;
}

/* ================= MOBILE VIEW X-AXIS CENTERING ================= */
@media (max-width: 767.98px) {
    section,
    .section-padding,
    .zaf-card,
    .hero-content,
    .hero-slide,
    .section-header {
        text-align: center !important;
    }

    /* Center flex containers horizontally on mobile */
    section .d-flex:not(.nav):not(.navbar-nav):not(.dropdown-menu):not(.form-check) {
        justify-content: center !important;
        text-align: center !important;
    }

    /* Center buttons and button groups */
    section .btn {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        margin-left: auto;
        margin-right: auto;
    }

    /* Center section tags and badges */
    .section-tag {
        display: inline-block;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Align card text and items to center along X-axis */
    .zaf-card {
        display: flex;
        flex-direction: column;
        align-items: center !important;
        text-align: center !important;
    }

    .zaf-card * {
        text-align: center !important;
    }

    /* Keep form controls full width inside centered forms */
    .zaf-card form,
    .zaf-card .form-control,
    .zaf-card .form-select,
    .zaf-card textarea {
        width: 100% !important;
        text-align: left !important;
    }

    /* Center footer items on mobile */
    footer .text-md-start,
    footer .text-md-end {
        text-align: center !important;
        justify-content: center !important;
    }
}
