/* ═══════════════════════════════════════════════════════════════════════
   CEYLON AURA — Custom Styles
   Premium Dark Luxury Travel Design System
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Fonts ────────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
    --gold: #c9a96e;
    --gold-light: #d4b87a;
    --dark: #0a0a0a;
    --dark-card: #111111;
    --dark-elevated: #161616;
    --text-primary: rgba(255,255,255,0.9);
    --text-secondary: rgba(255,255,255,0.6);
    --text-muted: rgba(255,255,255,0.35);
    --border-subtle: rgba(255,255,255,0.06);
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) var(--dark);
}

body {
    font-family: var(--font-body);
    background: var(--dark);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ── Nav Link Underline Animation ─────────────────────────────────────── */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ── Header Scroll State ──────────────────────────────────────────────── */
#site-header.scrolled .header-backdrop {
    opacity: 1;
}

/* ── Hero Section ─────────────────────────────────────────────────────── */
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    min-height: 100vh;
    gap: 4px;
}

.hero-panel {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero-panel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-panel:hover img {
    transform: scale(1.05);
}

.hero-panel .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.2) 50%, transparent 100%);
    z-index: 1;
}

.hero-panel .hero-content {
    position: relative;
    z-index: 2;
    padding: 50px 40px;
}

.hero-tag {
    font-family: var(--font-body);
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-tag::before {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--gold);
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 300;
    line-height: 1.05;
    color: white;
    margin-bottom: 16px;
}

.hero-title-large {
    font-size: clamp(42px, 5.5vw, 80px);
}

.hero-title-medium {
    font-size: clamp(32px, 4vw, 56px);
}

.hero-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 360px;
}

/* ── Reserve Card (Hero Right) ────────────────────────────────────────── */
.reserve-card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 28px;
    max-width: 320px;
}

.reserve-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-reserve {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: var(--dark);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-reserve:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(201,169,110,0.25);
}

.btn-reserve svg {
    transition: transform 0.3s ease;
}

.btn-reserve:hover svg {
    transform: translateX(4px);
}

/* ── Section Styles ───────────────────────────────────────────────────── */
.section-pad {
    padding: 120px 0;
}

.section-tag {
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.section-tag svg {
    width: 16px;
    height: 16px;
    color: var(--gold);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 300;
    color: white;
    line-height: 1.1;
    font-style: italic;
}

/* ── Meet Aura AI Section ─────────────────────────────────────────────── */
.aura-section {
    position: relative;
    overflow: hidden;
}

.aura-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.aura-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 24px 0 36px;
    max-width: 420px;
}

.btn-dialogue {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--gold);
    padding: 14px 28px;
    border-radius: 12px;
    border: 1px solid rgba(201,169,110,0.3);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-dialogue:hover {
    background: rgba(201,169,110,0.08);
    border-color: var(--gold);
    transform: translateY(-1px);
}

.btn-dialogue .pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

/* Chat Mock UI */
.chat-container {
    background: var(--dark-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}

.chat-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
}

.chat-body {
    padding: 24px;
    min-height: 200px;
}

.chat-bubble {
    background: var(--dark-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    border-top-left-radius: 4px;
    padding: 18px 22px;
    margin-bottom: 12px;
    max-width: 90%;
}

.chat-bubble p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.65;
}

.chat-bubble .chat-meta {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 10px;
    letter-spacing: 0.05em;
}

.chat-input-bar {
    padding: 16px 24px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-input-bar input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-muted);
    font-size: 13px;
    font-family: var(--font-body);
}

.chat-send-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gold);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-send-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 20px rgba(201,169,110,0.3);
}

/* ── Curated Journeys Section ─────────────────────────────────────────── */
.journeys-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
}

.journeys-nav {
    display: flex;
    gap: 10px;
}

.journeys-nav button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.journeys-nav button:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.journeys-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

/* Journey Card */
.journey-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--dark-card);
    border: 1px solid var(--border-subtle);
    transition: all 0.4s ease;
    cursor: pointer;
}

.journey-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201,169,110,0.15);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.journey-card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

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

.journey-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    color: white;
    letter-spacing: 0.05em;
}

.journey-card-body {
    padding: 24px;
}

.journey-card-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 400;
    color: white;
    margin-bottom: 8px;
    font-style: italic;
}

.journey-card-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.journey-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.journey-card-link:hover {
    gap: 10px;
}

/* Design Your Arc Card */
.arc-card {
    background: var(--dark-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.4s ease;
}

.arc-card:hover {
    border-color: rgba(201,169,110,0.15);
}

.arc-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(201,169,110,0.08);
    border: 1px solid rgba(201,169,110,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    margin-bottom: 20px;
}

.arc-tag {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.arc-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
    color: white;
    margin-bottom: 12px;
    font-style: italic;
}

.arc-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.arc-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.arc-link:hover {
    gap: 12px;
}

/* ── Scroll Reveal Animation ──────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Loading Screen ───────────────────────────────────────────────────── */
#loading-screen {
    position: fixed;
    inset: 0;
    background: var(--dark);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-text {
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold);
    animation: loaderFade 1.5s ease infinite;
}

@keyframes loaderFade {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.loader-bar {
    width: 120px;
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin-top: 24px;
    position: relative;
    overflow: hidden;
    border-radius: 1px;
}

.loader-bar::after {
    content: '';
    position: absolute;
    left: -60px;
    top: 0;
    width: 60px;
    height: 100%;
    background: var(--gold);
    animation: loaderSlide 1.2s ease infinite;
}

@keyframes loaderSlide {
    0% { left: -60px; }
    100% { left: 120px; }
}

/* ── Ambient Glow Effects ─────────────────────────────────────────────── */
.ambient-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(120px);
    opacity: 0.15;
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .hero-panel {
        min-height: 60vh;
    }
    .aura-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .journeys-grid {
        grid-template-columns: 1fr 1fr;
    }
    .section-pad {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .hero-panel {
        min-height: 50vh;
    }
    .hero-panel .hero-content {
        padding: 30px 24px;
    }
    .journeys-grid {
        grid-template-columns: 1fr;
    }
    .journeys-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .section-pad {
        padding: 60px 0;
    }
}
