/* =========================================
   JAYASINGHE TOURS — PREMIUM REDESIGN 2026
   Theme: Cinematic Dark Luxury × Gold
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,300&family=Cinzel:wght@400;600;700&display=swap');

:root {
    /* Gold Palette */
    --gold-primary:    #C9A84C;
    --gold-light:      #E8C97A;
    --gold-pale:       rgba(201, 168, 76, 0.12);
    --gold-glow:       rgba(201, 168, 76, 0.25);
    --gold-border:     rgba(201, 168, 76, 0.2);

    /* Dark Palette */
    --dark-900:  #090C12;
    --dark-800:  #0D1117;
    --dark-700:  #121820;
    --dark-600:  #19202C;
    --dark-500:  #222C3C;
    --dark-400:  #2E3A4E;

    /* Text */
    --text-white:   #F8F9FB;
    --text-silver:  #C4CDDA;
    --text-muted:   #8492A6;
    --text-dark:    #0D1117;

    /* Backgrounds */
    --bg-page:    #F4F2EE;
    --bg-white:   #FFFFFF;
    --bg-cream:   #FAF8F4;

    /* Accent */
    --green-accent:   #1DB95A;
    --green-glow:     rgba(29, 185, 90, 0.3);
    --blue-accent:    #3B82F6;

    /* Shadows */
    --shadow-card:  0 4px 24px rgba(9, 12, 18, 0.08);
    --shadow-lift:  0 20px 60px rgba(9, 12, 18, 0.14);
    --shadow-gold:  0 8px 32px rgba(201, 168, 76, 0.2);

    /* Spacing */
    --section-pad: 110px 8%;
    --radius-card: 20px;
    --radius-sm:   10px;

    /* Fonts */
    --font-display: 'Cinzel', 'Georgia', serif;
    --font-serif:   'Cormorant Garamond', Georgia, serif;
    --font-body:    'DM Sans', -apple-system, sans-serif;
    
    /* Legacy compatibility */
    --primary-gold:   #C9A84C;
    --primary-dark:   #090C12;
    --secondary-dark: #0D1117;
    --accent-gold:    #E8C97A;
    --text-main:      #0D1117;
    --text-light:     #F8F9FB;
    --white:          #FFFFFF;
    --glass:          rgba(255,255,255,0.04);
    --glass-border:   rgba(255,255,255,0.08);
    --shadow-soft:    0 4px 24px rgba(9, 12, 18, 0.08);
    --font-heading:   'Cinzel', serif;
}

/* ── Reset ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg-page);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    letter-spacing: 0.02em;
}

img { display: block; max-width: 100%; }

a { text-decoration: none; color: inherit; }

/* SEO Helper */
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); border: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark-800); }
::-webkit-scrollbar-thumb { background: var(--gold-primary); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-light); }


/* =========================================
   PRELOADER
   ========================================= */
#preloader {
    position: fixed; inset: 0;
    background: var(--dark-900);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.spinner {
    width: 48px; height: 48px;
    border: 2px solid rgba(201, 168, 76, 0.15);
    border-top-color: var(--gold-primary);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
    margin: 0 auto 24px;
}

.welcome-text {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--gold-primary);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes spin    { to { transform: rotate(360deg); } }
@keyframes pulse   { 0%,100% { opacity:0.5; } 50% { opacity:1; } }


/* =========================================
   NAVBAR
   ========================================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(9, 12, 18, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 0 6%;
    height: 72px;
    border-bottom: 1px solid var(--gold-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: height 0.3s, background 0.3s;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.navbar-brand img {
    height: 46px;
    transition: transform 0.3s;
}

.navbar-brand:hover img { transform: scale(1.05); }

.navbar-brand h2 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-white);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    color: var(--text-silver);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: 6px;
    transition: color 0.25s, background 0.25s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--gold-primary);
    transition: 0.3s;
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: var(--gold-light);
    background: var(--gold-pale);
}

.nav-links a:hover::after { width: 50%; }

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
    border: none;
    background: transparent;
    padding: 6px;
    outline: none;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold-primary);
    margin: 5px 0;
    transition: 0.35s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }


/* =========================================
   HERO SLIDER
   ========================================= */
.hero-slider {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: var(--dark-900);
    height: 82vh;
    min-height: 520px;
    border-bottom: 1px solid var(--gold-border);
}

@media (max-width: 768px) {
    .hero-slider { height: 60vh; min-height: 380px; }
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 2s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
    z-index: 0;
}

.active-slide {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
}

.slide-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: var(--dark-900);
    object-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in;
}

.active-slide .slide-bg-img { opacity: 1; }

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(9,12,18,0.7) 0%,
        rgba(9,12,18,0.15) 40%,
        transparent 70%
    );
    z-index: 1;
}

.slide-cta {
    position: absolute;
    bottom: 14%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
}

.dots-container {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.dot {
    width: 8px; height: 8px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.35s;
}

.active-dot {
    background: var(--gold-primary);
    width: 28px;
    border-radius: 4px;
}

/* Hero Button */
.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: transparent;
    color: var(--text-white);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: rgba(201, 168, 76, 0.15);
    border-color: var(--gold-primary);
    color: var(--gold-light);
}

.hero-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
}

.hero-btn:hover {
    color: var(--dark-900);
    border-color: var(--gold-primary);
    box-shadow: 0 0 40px var(--gold-glow);
    transform: translateY(-3px);
}

.hero-btn:hover::before { transform: scaleX(1); transform-origin: left; }

.btn-submit { /* alias used in older code */ }


/* =========================================
   SECTIONS
   ========================================= */
.section {
    padding: var(--section-pad);
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--dark-900);
    margin-bottom: 16px;
    letter-spacing: 0.04em;
    line-height: 1.15;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 2px;
    background: var(--gold-primary);
    margin: 14px auto 0;
    border-radius: 2px;
}

.section-header p {
    font-family: var(--font-body);
    color: var(--text-muted);
    font-size: 1.05rem;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Override for dark sections */
section[style*="background: #121212"] .section-header h2,
section[style*="background:#121212"] .section-header h2 {
    color: var(--gold-light) !important;
}


/* =========================================
   CARDS (FLEET, TOURS, PACKAGES)
   ========================================= */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 36px;
}

.horizontal-card {
    background: var(--bg-white);
    border-radius: var(--radius-card);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow-card);
    transition: transform 0.45s cubic-bezier(0.23,1,0.32,1),
                box-shadow 0.45s cubic-bezier(0.23,1,0.32,1),
                border-color 0.3s;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.horizontal-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-light));
    opacity: 0;
    transition: opacity 0.35s;
    z-index: 2;
}

.horizontal-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lift);
    border-color: var(--gold-border);
}

.horizontal-card:hover::before { opacity: 1; }

.horizontal-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.2, 0, 0.2, 1);
}

.horizontal-card:hover img { transform: scale(1.07); }

.card-content {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.card-content h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--dark-900);
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.subtitle {
    display: inline-block;
    color: var(--dark-900);
    background: var(--gold-primary);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-bottom: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
}

.desc {
    color: #4B5563; /* Darker gray for better readability */
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.price {
    color: var(--dark-900);
    font-weight: 700;
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin: auto 0 18px;
    letter-spacing: 0.02em;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.price::before {
    content: 'FROM';
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    font-family: var(--font-body);
    margin-top: 2px;
}

.view-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-primary);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    transition: gap 0.3s, color 0.3s;
}

.horizontal-card:hover .view-btn {
    gap: 14px;
    color: var(--gold-light);
}


/* =========================================
   FEATURES / TRUST SECTION
   ========================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}

.feature-item {
    background: rgba(255,255,255,0.03);
    padding: 44px 32px;
    border-radius: var(--radius-card);
    text-align: center;
    border: 1px solid rgba(255,255,255,0.07);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, var(--gold-pale), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-item:hover {
    transform: translateY(-10px);
    border-color: var(--gold-border);
    background: rgba(255,255,255,0.05);
    box-shadow: 0 20px 50px rgba(0,0,0,0.35), 0 0 40px var(--gold-glow);
}

.feature-item:hover::before { opacity: 1; }

.feature-item i {
    font-size: 2.2rem;
    color: var(--gold-primary);
    margin-bottom: 22px;
    display: block;
    transition: transform 0.4s;
    position: relative;
    z-index: 1;
}

.feature-item:hover i { transform: scale(1.2) rotate(8deg); }

.feature-item h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 14px;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 1;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}


/* =========================================
   BOOKING FORM
   ========================================= */
.booking-card {
    background: var(--bg-white);
    padding: 64px;
    border-radius: 28px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: var(--shadow-lift);
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}

.booking-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-light), var(--gold-primary));
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-bottom: 22px;
}

input, select, textarea {
    width: 100%;
    padding: 16px 22px;
    border: 1.5px solid #E8EBF0;
    border-radius: 12px;
    font-size: 15px;
    font-family: var(--font-body);
    outline: none;
    transition: all 0.3s ease;
    background: var(--bg-cream);
    color: var(--text-dark);
    -webkit-appearance: none;
}

input::placeholder, textarea::placeholder { color: #6B7280; font-weight: 400; opacity: 1; }

input:focus, select:focus, textarea:focus {
    border-color: var(--gold-primary);
    background: var(--bg-white);
    box-shadow: 0 0 0 4px var(--gold-pale);
}

select { cursor: pointer; }

textarea { resize: vertical; min-height: 110px; margin-bottom: 22px; display: block; }

.booking-btn-row {
    display: flex;
    gap: 18px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.booking-action-btn {
    flex: 1 1 0;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 32px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.email-btn {
    background: var(--dark-900);
    color: var(--text-white);
    border: 1.5px solid var(--dark-900);
}

.email-btn:hover {
    background: var(--gold-primary);
    color: var(--bg-white);
    border-color: var(--gold-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.whatsapp-btn {
    background: #10B981; /* Professional sleek Emerald green */
    color: #fff;
    border: 1.5px solid #10B981;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2);
}

.whatsapp-btn:hover {
    background: #059669; /* Darker emerald profile */
    color: #fff;
    border-color: #059669;
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(5, 150, 105, 0.3);
}


/* =========================================
   FOOTER
   ========================================= */
.premium-footer {
    background: var(--dark-900);
    color: var(--text-silver);
    padding: 90px 8% 44px;
    border-top: 1px solid var(--gold-border);
    position: relative;
}

.premium-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 60px;
}

@media (max-width: 900px) {
    .footer-grid {
        flex-wrap: wrap;
    }
}

.footer-brand h3 {
    font-family: var(--font-display);
    color: var(--gold-primary);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 18px;
    letter-spacing: 0.06em;
}

.footer-brand h3::after {
    content: '.';
    color: var(--gold-primary);
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 320px;
}

.footer-links h3, .footer-contact h3 {
    color: var(--text-white);
    margin-bottom: 24px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-family: var(--font-body);
}

.footer-links ul, .footer-contact ul {
    list-style: none;
}

.footer-links li, .footer-contact li {
    margin-bottom: 13px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.footer-links a, .footer-contact a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.25s, padding-left 0.25s;
}

.footer-links a:hover {
    color: var(--gold-light);
    padding-left: 8px;
}

.footer-contact a:hover { color: var(--gold-light); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--text-muted);
}


/* =========================================
   MODALS
   ========================================= */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    inset: 0;
    background: rgba(9, 12, 18, 0.95);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.modal-content {
    background: var(--bg-white);
    margin: 3% auto;
    padding: 44px;
    width: 90%;
    max-width: 860px;
    border-radius: 24px;
    position: relative;
    box-shadow: 0 60px 120px rgba(0,0,0,0.6);
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-light));
}

.close {
    position: absolute;
    right: 24px;
    top: 18px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 300;
    cursor: pointer;
    z-index: 100;
    color: var(--text-muted);
    border-radius: 50%;
    border: 1px solid #E8EBF0;
    transition: all 0.25s;
    line-height: 1;
    background: var(--bg-cream);
}

.close:hover {
    color: var(--dark-900);
    background: var(--gold-primary);
    border-color: var(--gold-primary);
    transform: rotate(90deg);
}

.modal-slider {
    position: relative;
    overflow: hidden;
    margin-bottom: 32px;
    border-radius: 16px;
    background: var(--dark-900);
    aspect-ratio: 16/9;
}

.modal-track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.23, 1, 0.32, 1);
    height: 100%;
}

.modal-track img {
    width: 100%;
    flex-shrink: 0;
    object-fit: cover;
    height: 100%;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(9, 12, 18, 0.5);
    color: var(--text-white);
    width: 46px;
    height: 46px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    z-index: 10;
    transition: all 0.3s;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.slider-btn.left  { left: 16px; }
.slider-btn.right { right: 16px; }

.slider-btn:hover {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
    color: var(--dark-900);
    transform: translateY(-50%) scale(1.1);
}

.modal h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--dark-900);
    margin-bottom: 8px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.modal-price-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold-primary);
    color: var(--dark-900);
    padding: 6px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: 6px;
    box-shadow: 0 4px 16px var(--gold-glow);
}

.modal-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

.modal-features li {
    font-size: 0.95rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 12px;
    background: #FFFFFF;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: transform 0.3s, box-shadow 0.3s;
}

.modal-features li:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    border-color: var(--gold-border);
}

.modal-features li i {
    color: var(--gold-primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}


/* =========================================
   PAGE HEADER (Sub-pages)
   ========================================= */
.page-header {
    background: var(--dark-900);
    color: var(--text-white);
    padding: 90px 8% 70px;
    text-align: center;
    border-bottom: 1px solid var(--gold-border);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(201,168,76,0.08) 0%, transparent 70%);
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 0.1em;
    margin-bottom: 14px;
    position: relative;
}

.page-header h1 span { color: var(--gold-primary); }

.page-header p {
    color: var(--text-muted);
    font-size: 1rem;
    letter-spacing: 0.05em;
    position: relative;
}


/* =========================================
   FAQ PAGE
   ========================================= */
.faq-sections-wrapper { max-width: 1100px; margin: 0 auto; }

.faq-section-block { margin-bottom: 70px; }

.category-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--dark-900);
    margin-bottom: 36px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.08em;
    position: relative;
}

.category-title::after {
    content: '';
    display: block;
    width: 44px;
    height: 2px;
    background: var(--gold-primary);
    margin: 12px auto 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.faq-card {
    background: var(--bg-white);
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0,0,0,0.05);
    border-left: 3px solid var(--gold-primary);
    transition: transform 0.3s, box-shadow 0.3s;
}

.faq-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
}

.faq-card h3 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--dark-900);
    margin-bottom: 14px;
    font-weight: 700;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
}

.faq-card h3 i {
    color: var(--gold-primary);
    margin-top: 3px;
    flex-shrink: 0;
}

.faq-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.85;
}


/* =========================================
   LEGAL PAGES
   ========================================= */
.legal-container {
    max-width: 860px;
    margin: 0 auto;
    line-height: 1.9;
}

.legal-intro {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 44px;
    font-style: italic;
    text-align: center;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.legal-item {
    background: var(--bg-white);
    padding: 34px;
    margin-bottom: 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0,0,0,0.04);
    border-left: 3px solid var(--gold-primary);
}

.legal-item h3 {
    font-family: var(--font-display);
    color: var(--dark-900);
    font-size: 1.15rem;
    margin-bottom: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding-bottom: 12px;
    border-bottom: 1px solid #F0F0F0;
}

.legal-item p {
    color: var(--text-muted);
    line-height: 1.85;
    font-size: 0.93rem;
}


/* =========================================
   FLOATING AI BUTTON
   ========================================= */
.floating-ai-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #22C55E 0%, #15803D 100%);
    border-radius: 50%;
    box-shadow: 0 8px 28px var(--green-glow);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 26px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    animation: pulseai 2.8s infinite;
}

@keyframes pulseai {
    0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
    70%  { box-shadow: 0 0 0 18px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.floating-ai-btn:hover {
    transform: scale(1.12);
    background: linear-gradient(135deg, #16A34A, #166534);
    box-shadow: 0 14px 40px rgba(34, 197, 94, 0.45);
    animation: none;
}

.ai-tooltip {
    position: absolute;
    right: 74px;
    background: var(--dark-900);
    color: var(--gold-light);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    opacity: 0;
    pointer-events: none;
    transform: translateX(8px);
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 1px solid var(--gold-border);
}

.floating-ai-btn:hover .ai-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* AI Greeting Bubble */
.ai-greeting-bubble {
    position: fixed;
    bottom: 102px;
    right: 28px;
    background: var(--bg-white);
    color: var(--dark-900);
    padding: 14px 18px;
    border-radius: 16px 16px 0 16px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.14);
    font-size: 0.88rem;
    font-weight: 500;
    z-index: 998;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: fadeInBubble 0.45s ease-out;
    border-left: 3px solid var(--gold-primary);
    max-width: 248px;
    line-height: 1.45;
}

@keyframes fadeInBubble {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.ai-greeting-bubble i.fa-robot { color: var(--gold-primary); }

.close-bubble {
    cursor: pointer;
    opacity: 0.4;
    transition: opacity 0.25s;
    font-size: 0.75rem;
    margin-left: 4px;
    flex-shrink: 0;
}

.close-bubble:hover { opacity: 1; }


/* =========================================
   SWIPER OVERRIDES
   ========================================= */
.swiper-button-next,
.swiper-button-prev {
    color: var(--text-white) !important;
    background: rgba(9, 12, 18, 0.5) !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1) !important;
    transition: all 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--gold-primary) !important;
    color: var(--dark-900) !important;
    border-color: var(--gold-primary) !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 14px !important;
    font-weight: 900;
}

.swiper-pagination-bullet {
    background: rgba(255,255,255,0.25) !important;
    opacity: 1 !important;
    width: 8px;
    height: 8px;
    transition: all 0.3s;
}

.swiper-pagination-bullet-active {
    background: var(--gold-primary) !important;
    width: 24px;
    border-radius: 4px;
}

.swiper-pagination { bottom: 4px !important; }


/* =========================================
   SCROLL REVEAL
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1),
                transform 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================
   HELPERS
   ========================================= */
a, button { -webkit-tap-highlight-color: transparent; }

.text-center { text-align: center; }
.p-10 { padding: 40px; }

.formal-legal-doc {
    text-align: justify;
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.9;
}

.formal-legal-doc p { margin-bottom: 18px; }
.formal-legal-doc strong { color: var(--dark-900); }

.contract-intro {
    font-style: italic;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #EEE;
    color: var(--text-muted);
}


/* =========================================
   RESPONSIVE — TABLET & MOBILE
   ========================================= */
@media screen and (max-width: 768px) {

    :root { --section-pad: 60px 5%; }

    /* Navbar */
    .hamburger { display: block; }

    .nav-links {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(9, 12, 18, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 999;
        gap: 0;
    }

    .nav-links.active { display: flex; }

    .nav-links a {
        margin: 12px 0;
        font-size: 1.1rem;
        color: var(--text-white);
        letter-spacing: 0.12em;
    }

    .nav-links a::after { display: none; }

    /* Hero */
    .hero-slider {
        aspect-ratio: 2.5 / 1;
        height: auto;
        min-height: unset;
    }

    .slide-cta { bottom: 12%; }

    .hero-btn {
        padding: 10px 20px;
        font-size: 0.7rem;
    }

    .dots-container { bottom: 8px; }

    /* Sections */
    .section-header { margin-bottom: 40px; }

    .section-header h2 {
        font-size: 1.9rem;
    }

    /* Cards */
    .cards-grid {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .horizontal-card { transform: none !important; border-radius: 14px; }
    .horizontal-card:active { transform: scale(0.98) !important; }
    .horizontal-card img { height: 200px; transform: none !important; }
    .card-content { padding: 20px 18px; }
    .card-content h3 { font-size: 1.15rem; }

    /* Features */
    .features-grid { grid-template-columns: 1fr; gap: 16px; }
    .feature-item { padding: 30px 24px; transform: none !important; }

    /* Booking */
    .booking-card { padding: 32px 20px; }
    .form-row { grid-template-columns: 1fr; gap: 14px; margin-bottom: 14px; }

    input, select, textarea {
        font-size: 16px; /* prevent iOS zoom */
        padding: 14px 16px;
    }

    .booking-btn-row { flex-direction: column; gap: 12px; }
    .booking-action-btn { min-width: unset; }

    /* Modal */
    .modal-content { width: 95%; padding: 24px 18px; margin: 4vh auto; }
    .modal h2 { font-size: 1.5rem; }
    .modal-slider { aspect-ratio: 4/3; }

    /* FAQ */
    .faq-grid { grid-template-columns: 1fr; }
    .page-header h1 { font-size: 2rem; }

    /* Footer */
    .footer-grid { gap: 36px; }
    .premium-footer { padding: 60px 6% 40px; }
    .footer-brand p { max-width: 100%; }

    /* Floating button */
    .floating-ai-btn { bottom: 20px; right: 20px; width: 54px; height: 54px; font-size: 22px; }
}


@media screen and (max-width: 480px) {
    .section-header h2 { font-size: 1.6rem; }
    .navbar-brand h2 { font-size: 0.95rem; }
    .hero-btn { padding: 9px 16px; font-size: 0.65rem; }
    .horizontal-card img { height: 180px; }
    .page-header h1 { font-size: 1.7rem; }
}

@media screen and (max-width: 375px) {
    .hero-slider { aspect-ratio: 2.2 / 1; }
    .hero-btn { padding: 8px 12px; font-size: 0.6rem; }
    .navbar-brand h2 { display: none; }
}