/* ============================================
   AURELIA — Luxury Travel Experience
   Main Stylesheet
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --bg-midnight: #0B111A;
    --bg-surface: #151E2B;
    --bg-card: #1C2838;
    --text-glacier: #F4F6F9;
    --text-muted: #94A3B8;
    --gold: #C5A880;
    --gold-hover: #D8BD96;
    --border-subtle: rgba(197, 168, 128, 0.2);
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-midnight);
    color: var(--text-glacier);
    font-family: 'Montserrat', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 400;
    line-height: 1.8;
    overflow-x: hidden;
}

h1, h2, h3, h4, .serif-font {
    font-family: 'Cormorant Garamond', 'Noto Serif SC', Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.6rem 5%;
    background: rgba(11, 17, 26, 0.88);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

nav.scrolled {
    padding: 1rem 5%;
    background: rgba(11, 17, 26, 0.95);
}

.nav-brand {
    font-family: 'Cormorant Garamond', 'Noto Serif SC', Georgia, serif;
    font-size: 1.55rem;
    letter-spacing: 0.25em;
    color: var(--text-glacier);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-crest {
    width: 26px;
    height: 26px;
    display: inline-block;
}

.nav-brand span {
    color: var(--gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.lang-switch {
    background: transparent;
    border: 1px solid rgba(197, 168, 128, 0.4);
    color: var(--gold);
    padding: 0.45rem 0.9rem;
    font-family: inherit;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lang-switch:hover {
    background: var(--gold);
    color: var(--bg-midnight);
}

.btn-gold {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 0.7rem 1.6rem;
    text-decoration: none;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    transition: var(--transition-smooth);
    display: inline-block;
}

.btn-gold:hover {
    background: var(--gold);
    color: var(--bg-midnight);
    box-shadow: 0 0 20px rgba(197, 168, 128, 0.3);
}

/* --- Mobile Menu Toggle --- */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 1.5px;
    background: var(--text-glacier);
    transition: all 0.3s ease;
}

/* --- Hero Section --- */
header.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1.5rem;
    background: linear-gradient(135deg, rgba(11, 17, 26, 0.72) 0%, rgba(21, 30, 43, 0.86) 100%),
                url('https://images.unsplash.com/photo-1551698618-1dfe5d97d256?auto=format&fit=crop&w=2000&q=85') no-repeat center center/cover;
}

.hero-content {
    max-width: 900px;
    z-index: 2;
    animation: fadeIn 1.2s ease-out;
}

.hero-crest-large {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.2rem auto;
    display: block;
}

.hero-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: var(--gold);
    margin-bottom: 1.5rem;
    display: block;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5.4rem);
    line-height: 1.1;
    margin-bottom: 1.8rem;
    color: var(--text-glacier);
}

.hero p {
    font-size: 1.08rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 2.5rem auto;
}

/* --- Scroll Indicator --- */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: fadeIn 1.2s ease-out 0.6s both;
}

.scroll-indicator span {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* --- Philosophy Section --- */
.section-philosophy {
    padding: 8rem 10%;
    background-color: var(--bg-midnight);
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
}

.section-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--gold);
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    margin-bottom: 2rem;
    color: var(--text-glacier);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.9;
}

/* --- Divider --- */
.divider {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 2.5rem auto;
    opacity: 0.6;
}

/* --- Experiences Section --- */
.section-experience {
    padding: 8rem 8%;
    background-color: var(--bg-surface);
}

.exp-header {
    text-align: center;
    margin-bottom: 6rem;
}

.exp-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-bottom: 8rem;
}

.exp-row:last-child {
    margin-bottom: 0;
}

.exp-row.reverse {
    direction: rtl;
}

.exp-row.reverse > * {
    direction: ltr;
}

.exp-img-wrapper {
    position: relative;
    height: 480px;
    overflow: hidden;
    border-radius: 4px;
    background: linear-gradient(135deg, #0B111A 0%, #1C2838 100%);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.exp-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.exp-img-wrapper:hover img {
    transform: scale(1.04);
}

.exp-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-glacier);
}

.exp-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.8;
}

.exp-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.exp-features li {
    font-size: 0.9rem;
    color: var(--text-glacier);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.exp-features li::before {
    content: "";
    width: 6px;
    height: 6px;
    background-color: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
}

/* --- Destinations Section --- */
.section-destinations {
    padding: 8rem 8%;
    background-color: var(--bg-midnight);
}

.destinations-header {
    text-align: center;
    margin-bottom: 5rem;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
}

.destination-card {
    background-color: var(--bg-card);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: var(--transition-smooth);
}

.destination-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-subtle);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.destination-img {
    height: 280px;
    position: relative;
    background: linear-gradient(135deg, #0B111A 0%, #1C2838 100%);
}

.destination-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.destination-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(11, 17, 26, 0.85);
    backdrop-filter: blur(8px);
    color: var(--gold);
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 1px solid var(--border-subtle);
}

.destination-info {
    padding: 2.5rem 2rem;
}

.destination-info h4 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-glacier);
}

.destination-loc {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: 1.2rem;
    display: block;
}

.destination-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* --- Invitation Form Section --- */
.section-invitation {
    padding: 8rem 8%;
    background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-midnight) 100%);
    display: flex;
    justify-content: center;
}

.invitation-container {
    width: 100%;
    max-width: 700px;
    background: var(--bg-card);
    padding: 4rem;
    border-radius: 4px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 25px 50px rgba(0,0,0,0.6);
}

.invitation-header {
    text-align: center;
    margin-bottom: 3rem;
}

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

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

label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 0.6rem;
}

input, select, textarea {
    width: 100%;
    background: rgba(11, 17, 26, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-glacier);
    padding: 1rem;
    font-family: inherit;
    font-size: 0.9rem;
    border-radius: 2px;
    transition: border-color 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--gold);
}

input::placeholder, textarea::placeholder {
    color: rgba(148, 163, 184, 0.5);
}

select option {
    background: var(--bg-midnight);
    color: var(--text-glacier);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    background: var(--gold);
    color: var(--bg-midnight);
    border: none;
    padding: 1.2rem;
    font-family: 'Montserrat', 'Noto Sans SC', inherit;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-top: 1rem;
}

.btn-submit:hover {
    background: var(--gold-hover);
    box-shadow: 0 0 25px rgba(197, 168, 128, 0.4);
}

.success-msg {
    display: none;
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-glacier);
}

.success-msg h4 {
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.success-msg p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* --- Footer --- */
footer {
    padding: 4rem 8%;
    background-color: var(--bg-midnight);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

footer a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--gold-hover);
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

/* --- Animations --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* --- Responsive --- */
@media (max-width: 968px) {
    .exp-row, .exp-row.reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
        direction: ltr;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

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

    .invitation-container {
        padding: 2.5rem 1.5rem;
    }

    footer {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .exp-img-wrapper {
        height: 320px;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 5vw, 3.5rem);
    }

    .section-philosophy,
    .section-experience,
    .section-destinations,
    .section-invitation {
        padding: 5rem 6%;
    }
}

@media (max-width: 600px) {
    .nav-actions .btn-gold {
        display: none;
    }

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

    .exp-content h3 {
        font-size: 2rem;
    }

    footer {
        padding: 3rem 6%;
    }

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