/* ============================================
   VOYAGE ÉLÉGANCE — Travel Agency
   Editorial / Luxury Magazine Aesthetic
   ============================================ */

:root {
    --color-bg: #faf8f5;
    --color-bg-warm: #f5f0e8;
    --color-text: #1a1a1a;
    --color-text-secondary: #6b6560;
    --color-text-muted: #9a948e;
    --color-accent: #b8860b;
    --color-accent-light: #d4a843;
    --color-accent-dark: #8b6914;
    --color-surface: #ffffff;
    --color-border: #e8e2d9;
    --color-overlay: rgba(26, 20, 14, 0.55);
    --color-overlay-dark: rgba(26, 20, 14, 0.75);

    --font-display: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Jost', -apple-system, sans-serif;
    --font-accent: 'Cormorant Garamond', Georgia, serif;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 3rem;
    transition: all 0.5s var(--ease-out-expo);
}

.nav.scrolled {
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--color-border);
    padding: 0.875rem 3rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.nav-brand-icon {
    font-size: 1.5rem;
    color: var(--color-accent);
    font-weight: 300;
}

.nav-brand-text {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--color-text);
}

.nav.scrolled .nav-brand-text {
    color: var(--color-text);
}

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

.nav-link {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
    padding-bottom: 0.25rem;
}

.nav.scrolled .nav-link {
    color: var(--color-text-secondary);
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--color-accent-light);
}

.nav.scrolled .nav-link:hover,
.nav.scrolled .nav-link.active {
    color: var(--color-accent);
}

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

.nav-cta {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.75rem 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
}

.nav.scrolled .nav-cta {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.nav-cta:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: #fff;
    transition: all 0.3s ease;
}

.nav.scrolled .nav-toggle span {
    background: var(--color-text);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(26, 20, 14, 0.3) 0%,
        rgba(26, 20, 14, 0.5) 50%,
        rgba(26, 20, 14, 0.7) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeInUp 1.2s var(--ease-out-expo) 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-accent-light);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title-line {
    display: block;
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: #fff;
}

.hero-title-accent {
    font-style: italic;
    color: var(--color-accent-light);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.75);
    max-width: 540px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    z-index: 2;
    animation: fadeIn 1s ease 1.5s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-scroll span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.5);
}

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

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 1rem 2.25rem;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    text-decoration: none;
}

.btn-primary {
    background: var(--color-accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(184, 134, 11, 0.3);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
}

.btn-small {
    padding: 0.625rem 1.25rem;
    font-size: 0.75rem;
    background: transparent;
    color: var(--color-accent);
    border: 1px solid var(--color-border);
}

.btn-small:hover {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

.btn-large {
    padding: 1.125rem 3rem;
    font-size: 0.85rem;
    width: 100%;
}

/* ============================================
   SECTIONS COMMON
   ============================================ */
.section-header {
    max-width: 600px;
    margin-bottom: 4rem;
}

.section-header.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-number {
    display: block;
    font-family: var(--font-accent);
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--color-accent);
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.section-desc {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ============================================
   DESTINATIONS
   ============================================ */
.destinations {
    padding: 7rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.destination-card {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3/4;
    transition: transform 0.6s var(--ease-out-expo);
}

.destination-card:hover {
    transform: translateY(-6px);
}

.destination-card-large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

.destination-card-wide {
    grid-column: span 2;
    aspect-ratio: 16/9;
}

.destination-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

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

.destination-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(26, 20, 14, 0.85), transparent);
    color: #fff;
    transition: padding 0.4s var(--ease-out-expo);
}

.destination-card:hover .destination-info {
    padding-bottom: 2.5rem;
}

.destination-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent-light);
    margin-bottom: 0.5rem;
    display: block;
}

.destination-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.destination-card-large .destination-name {
    font-size: 2.2rem;
}

.destination-desc {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
}

.destination-price {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-accent-light);
}

/* ============================================
   TOURS
   ============================================ */
.tours {
    padding: 7rem 3rem;
    background: var(--color-bg-warm);
}

.tours .section-header {
    max-width: 1400px;
    margin: 0 auto 4rem;
}

.tours-list {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tour-item {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 0;
    background: var(--color-surface);
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.5s var(--ease-out-expo);
}

.tour-item:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.tour-image {
    overflow: hidden;
}

.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

.tour-item:hover .tour-image img {
    transform: scale(1.06);
}

.tour-content {
    padding: 2.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tour-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tour-duration,
.tour-type {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-text-muted);
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: 2px;
}

.tour-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.tour-desc {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.tour-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.tour-price {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-accent);
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: 7rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-visual img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 2px;
}

.about-badge {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    background: var(--color-surface);
    padding: 2rem 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    border-radius: 2px;
}

.about-badge-num {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-accent);
    line-height: 1;
}

.about-badge-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-text-secondary);
}

.about-content {
    padding-left: 1rem;
}

.about-text {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-accent);
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    padding: 7rem 3rem;
    background: var(--color-bg-warm);
}

.testimonials-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial {
    background: var(--color-surface);
    padding: 2.5rem;
    border-radius: 2px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.5s var(--ease-out-expo);
}

.testimonial:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.testimonial-stars {
    color: var(--color-accent);
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    margin-bottom: 1.25rem;
}

.testimonial-text {
    font-family: var(--font-accent);
    font-size: 1.15rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-name {
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--color-text);
}

.testimonial-trip {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ============================================
   CONTACT / CTA
   ============================================ */
.contact {
    position: relative;
    padding: 7rem 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 700px;
    overflow: hidden;
}

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

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

.contact-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 20, 14, 0.65);
}

.contact-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.contact-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.contact-desc {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.form-group {
    width: 100%;
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    outline: none;
    transition: all 0.3s ease;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-input:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--color-accent-light);
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-text);
    color: rgba(255, 255, 255, 0.6);
    padding: 5rem 3rem 2rem;
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand-icon {
    font-size: 1.5rem;
    color: var(--color-accent-light);
    margin-right: 0.5rem;
}

.footer-brand-text {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: #fff;
}

.footer-brand-desc {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 300;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--color-accent-light);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--color-accent-light);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out-expo);
}

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

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

    .destination-card-large {
        grid-column: span 2;
        grid-row: span 1;
        aspect-ratio: 16/9;
    }

    .destination-card-wide {
        grid-column: span 2;
    }

    .tour-item {
        grid-template-columns: 1fr;
    }

    .tour-image {
        height: 280px;
    }

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

    .about-visual img {
        height: 400px;
    }

    .about-badge {
        bottom: -1rem;
        right: 1rem;
    }

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

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

@media (max-width: 768px) {
    .nav {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-bg);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        color: var(--color-text-secondary);
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        min-height: 600px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .destinations {
        padding: 4rem 1.5rem;
    }

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

    .destination-card-large,
    .destination-card-wide {
        grid-column: span 1;
        aspect-ratio: 3/4;
    }

    .tours {
        padding: 4rem 1.5rem;
    }

    .tour-content {
        padding: 1.5rem;
    }

    .about {
        padding: 4rem 1.5rem;
    }

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

    .testimonials {
        padding: 4rem 1.5rem;
    }

    .contact {
        padding: 4rem 1.5rem;
        min-height: auto;
    }

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

    .footer {
        padding: 3rem 1.5rem 1.5rem;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
