/* ========================================
   ITALY TRAVEL LANDING PAGE
   ======================================== */

/* --- Font Faces --- */
@font-face {
    font-family: 'Mak';
    src: url('fonts/Mak.woff2') format('woff2'),
         url('fonts/Mak.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* --- CSS Custom Properties --- */
:root {
    /* Colors */
    --color-ink: #1a1a2e;
    --color-paper: #faf9f6;
    --color-accent: #c9a96e;
    --color-accent-dark: #b8944f;
    --color-accent-light: #e8d5b5;
    --color-text: #2d2d3a;
    --color-text-light: #6b6b7b;
    --color-text-muted: #9a9aab;
    --color-border: rgba(26, 26, 46, 0.08);
    --color-glass: rgba(255, 255, 255, 0.72);
    --color-glass-border: rgba(255, 255, 255, 0.18);
    --color-dark-overlay: rgba(26, 26, 46, 0.65);

    /* Typography - Display (H1, H2) */
    --font-display: 'Mak', Georgia, serif;
    /* Typography - Body (P, H3, UI) */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Type Scale */
    --text-h1: clamp(2.8rem, 6vw + 1rem, 5.5rem);
    --text-h2: clamp(2rem, 4vw + 0.5rem, 3.5rem);
    --text-h3: clamp(1.25rem, 1.5vw + 0.25rem, 1.5rem);
    --text-p1: clamp(1rem, 1vw + 0.25rem, 1.125rem);
    --text-p2: clamp(0.875rem, 0.9vw + 0.15rem, 1rem);
    --text-overline: clamp(0.75rem, 0.8vw + 0.1rem, 0.8125rem);
    --text-button: 0.9375rem;
    --text-menu: 0.9375rem;

    /* Line Heights */
    --lh-h1: 1.05;
    --lh-h2: 1.15;
    --lh-h3: 1.35;
    --lh-p1: 1.7;
    --lh-p2: 1.65;
    --lh-overline: 1.4;
    --lh-button: 1;
    --lh-menu: 1;

    /* Font Weights */
    --fw-h1: 400;
    --fw-h2: 400;
    --fw-h3: 600;
    --fw-p1: 400;
    --fw-p2: 400;
    --fw-overline: 500;
    --fw-button: 600;
    --fw-menu: 500;

    /* Letter Spacing */
    --ls-h1: -0.02em;
    --ls-h2: -0.01em;
    --ls-h3: 0;
    --ls-p1: 0;
    --ls-p2: 0;
    --ls-overline: 0.12em;
    --ls-button: 0.03em;
    --ls-menu: 0.02em;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);

    /* Container */
    --container-max: 1280px;
    --container-padding: clamp(1.25rem, 4vw, 3rem);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-p1);
    line-height: var(--lh-p1);
    font-weight: var(--fw-p1);
    color: var(--color-text);
    background-color: var(--color-paper);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* --- Typography Classes --- */
.overline {
    display: block;
    font-family: var(--font-body);
    font-size: var(--text-overline);
    line-height: var(--lh-overline);
    font-weight: var(--fw-overline);
    letter-spacing: var(--ls-overline);
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.overline--light {
    color: var(--color-accent-light);
}

.section-title {
    font-family: var(--font-display);
    font-size: var(--text-h2);
    line-height: var(--lh-h2);
    font-weight: var(--fw-h2);
    letter-spacing: var(--ls-h2);
    color: var(--color-ink);
    max-width: 700px;
}

.body-text {
    font-size: var(--text-p1);
    line-height: var(--lh-p1);
    color: var(--color-text);
}

.body-text--secondary {
    font-size: var(--text-p2);
    line-height: var(--lh-p2);
    color: var(--color-text-light);
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: var(--text-button);
    font-weight: var(--fw-button);
    letter-spacing: var(--ls-button);
    line-height: var(--lh-button);
    padding: 1rem 2.25rem;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--color-ink);
    color: var(--color-paper);
}

.btn--primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-accent);
    opacity: 0;
    transition: opacity var(--transition-base);
    border-radius: inherit;
}

.btn--primary:hover::before {
    opacity: 1;
}

.btn--primary span,
.btn--primary {
    position: relative;
    z-index: 1;
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--primary:active {
    transform: translateY(0);
}

.btn--large {
    padding: 1.25rem 3rem;
    font-size: 1.0625rem;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all var(--transition-base);
}

.header--scrolled {
    background: var(--color-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-glass-border);
    padding: 0.75rem 0;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--color-paper);
    transition: opacity var(--transition-fast);
}

.header--scrolled .header__logo {
    color: var(--color-ink);
}

.header__logo:hover {
    opacity: 0.8;
}

.logo-icon {
    font-size: 1.5rem;
    color: var(--color-accent);
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.nav__link {
    font-size: var(--text-menu);
    font-weight: var(--fw-menu);
    letter-spacing: var(--ls-menu);
    color: rgba(255, 255, 255, 0.85);
    transition: color var(--transition-fast);
    position: relative;
}

.header--scrolled .nav__link {
    color: var(--color-text);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition-base);
}

.nav__link:hover {
    color: var(--color-paper);
}

.header--scrolled .nav__link:hover {
    color: var(--color-accent);
}

.nav__link:hover::after {
    width: 100%;
}

/* Burger Menu */
.header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
}

.header__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-paper);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.header--scrolled .header__burger span {
    background: var(--color-ink);
}

.header__burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.header__burger.active span:nth-child(2) {
    opacity: 0;
}

.header__burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-ink);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-menu__link {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    color: var(--color-paper);
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-base);
}

.mobile-menu.active .mobile-menu__link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-menu__link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-menu__link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-menu__link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-menu__link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-menu__link:nth-child(5) { transition-delay: 0.3s; }

.mobile-menu__link:hover {
    color: var(--color-accent);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 8s ease-out;
}

.hero.loaded .hero__img {
    transform: scale(1);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 46, 0.8) 0%,
        rgba(26, 26, 46, 0.5) 50%,
        rgba(26, 26, 46, 0.3) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    padding-top: 8rem;
    padding-bottom: 4rem;
    max-width: 600px;
}

.hero__title {
    font-family: var(--font-display);
    font-size: var(--text-h1);
    line-height: var(--lh-h1);
    font-weight: var(--fw-h1);
    letter-spacing: var(--ls-h1);
    color: var(--color-paper);
    margin-bottom: var(--space-md);
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.hero__text {
    font-size: var(--text-p1);
    line-height: var(--lh-p1);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-lg);
    max-width: 480px;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

.hero__content .btn {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.8s ease-out 0.7s forwards;
}

/* --- About Section --- */
.about {
    padding: var(--space-3xl) 0;
    background: #1e1e32;
    color: var(--color-paper);
}

.about .section-title {
    color: var(--color-paper);
}

.about .overline {
    color: var(--color-accent-light);
}

.about__header {
    margin-bottom: var(--space-xl);
}

.about__content {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.about__text {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    max-width: 800px;
}

.about__text .body-text {
    color: rgba(255, 255, 255, 0.8);
}

.about__features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.feature-card {
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.1);
}

.feature-card__icon {
    font-size: 1.75rem;
    margin-bottom: var(--space-sm);
}

.feature-card__title {
    font-family: var(--font-body);
    font-size: var(--text-h3);
    line-height: var(--lh-h3);
    font-weight: var(--fw-h3);
    color: var(--color-paper);
    margin-bottom: 0.375rem;
}

.feature-card__text {
    font-size: var(--text-p2);
    line-height: var(--lh-p2);
    color: rgba(255, 255, 255, 0.6);
}

/* --- Benefits Section --- */
.benefits {
    padding: var(--space-3xl) 0;
    background: #16162a;
}

.benefits .section-title {
    color: var(--color-paper);
}

.benefits .overline {
    color: var(--color-accent-light);
}

.benefits__header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.benefits__header .section-title {
    margin: 0 auto;
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.benefit-card {
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.1);
}

.benefit-card__number {
    font-family: var(--font-display);
    font-size: 3rem;
    line-height: 1;
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
    transition: color var(--transition-base);
}

.benefit-card:hover .benefit-card__number {
    color: var(--color-accent-light);
}

.benefit-card__title {
    font-family: var(--font-body);
    font-size: var(--text-h3);
    line-height: var(--lh-h3);
    font-weight: var(--fw-h3);
    color: var(--color-paper);
    margin-bottom: var(--space-xs);
}

.benefit-card__text {
    font-size: var(--text-p2);
    line-height: var(--lh-p2);
    color: rgba(255, 255, 255, 0.6);
}

/* --- Destinations Section --- */
.destinations {
    padding: var(--space-3xl) 0;
    background: #12121f;
}

.destinations .section-title {
    color: var(--color-paper);
}

.destinations .overline {
    color: var(--color-accent-light);
}

.destinations__header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.destinations__header .section-title {
    margin: 0 auto;
}

.destinations__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.destination-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.destination-row.visible {
    opacity: 1;
    transform: translateY(0);
}

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

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

.destination-row__image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.destination-row__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.destination-row:hover .destination-row__image img {
    transform: scale(1.05);
}

.destination-row__content {
    padding: var(--space-lg);
}

.destination-row__number {
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1;
    color: rgba(201, 169, 110, 0.2);
    margin-bottom: var(--space-sm);
    display: block;
}

.destination-row__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    line-height: 1.2;
    color: var(--color-paper);
    margin-bottom: var(--space-sm);
}

.destination-row__text {
    font-size: var(--text-p1);
    line-height: var(--lh-p1);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-md);
}

.destination-row__tag {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--color-accent);
    color: var(--color-ink);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.destination-row:hover .destination-row__tag {
    background: var(--color-accent-light);
    transform: translateX(4px);
}

/* --- Gallery Section --- */
.gallery {
    padding: var(--space-3xl) 0;
    background: var(--color-ink);
}

.gallery__header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.gallery__header .overline {
    color: var(--color-accent-light);
}

.gallery__header .section-title {
    color: var(--color-paper);
    margin: 0 auto;
}

.gallery__carousel {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.gallery__track {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 16 / 9;
}

.gallery__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.gallery__slide.active {
    opacity: 1;
    z-index: 1;
}

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

.gallery__slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-xl) var(--space-xl) var(--space-lg);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
    z-index: 2;
}

.gallery__slide-number {
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1;
    color: var(--color-accent);
    opacity: 0.6;
    display: block;
    margin-bottom: var(--space-xs);
}

.gallery__slide-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.2;
    color: var(--color-paper);
    margin-bottom: 0.5rem;
}

.gallery__slide-text {
    font-size: var(--text-p1);
    line-height: var(--lh-p1);
    color: rgba(255, 255, 255, 0.8);
    max-width: 400px;
}

.gallery__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-paper);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
}

.gallery__btn:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-ink);
    transform: translateY(-50%) scale(1.1);
}

.gallery__btn--prev {
    left: -28px;
}

.gallery__btn--next {
    right: -28px;
}

.gallery__dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: var(--space-lg);
}

.gallery__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.gallery__dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.gallery__dot.active {
    background: var(--color-accent);
    transform: scale(1.2);
}

/* --- Route / Timeline Section --- */
.route {
    padding: var(--space-3xl) 0;
    background: #1a1a2e;
}

.route .section-title {
    color: var(--color-paper);
}

.route .overline {
    color: var(--color-accent-light);
}

.route__header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.route__header .section-title {
    margin: 0 auto;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline__line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--color-accent-light);
    transform: translateX(-50%);
}

.timeline__item {
    position: relative;
    width: 50%;
    padding: 0 var(--space-xl) var(--space-xl);
}

.timeline__item--left {
    padding-right: var(--space-xl);
    text-align: right;
}

.timeline__item--right {
    margin-left: 50%;
    padding-left: var(--space-xl);
}

.timeline__dot {
    position: absolute;
    top: 0.5rem;
    width: 16px;
    height: 16px;
    background: var(--color-accent);
    border: 3px solid #1a1a2e;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.3);
    z-index: 1;
}

.timeline__item--left .timeline__dot {
    right: -8px;
}

.timeline__item--right .timeline__dot {
    left: -8px;
}

.timeline__content {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slow);
}

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

.timeline__number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    line-height: 1;
    color: var(--color-accent-light);
    margin-bottom: var(--space-xs);
    display: block;
}

.timeline__title {
    font-family: var(--font-body);
    font-size: var(--text-h3);
    line-height: var(--lh-h3);
    font-weight: var(--fw-h3);
    color: var(--color-paper);
    margin-bottom: var(--space-xs);
}

.timeline__text {
    font-size: var(--text-p2);
    line-height: var(--lh-p2);
    color: rgba(255, 255, 255, 0.7);
}

.timeline__item--left .timeline__text {
    margin-left: auto;
}

/* --- CTA Section --- */
.cta {
    position: relative;
    padding: var(--space-3xl) 0;
    overflow: hidden;
}

.cta__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

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

.cta__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 46, 0.88) 0%,
        rgba(26, 26, 46, 0.7) 100%
    );
}

.cta__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta__title {
    font-family: var(--font-display);
    font-size: var(--text-h2);
    line-height: var(--lh-h2);
    font-weight: var(--fw-h2);
    letter-spacing: var(--ls-h2);
    color: var(--color-paper);
    margin-bottom: var(--space-md);
}

.cta__text {
    font-size: var(--text-p1);
    line-height: var(--lh-p1);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-lg);
}

/* --- Footer --- */
.footer {
    padding: var(--space-xl) 0 0;
    background: var(--color-ink);
}

.footer__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--color-paper);
    margin-bottom: var(--space-sm);
}

.footer__tagline {
    font-size: var(--text-p2);
    color: rgba(255, 255, 255, 0.6);
    max-width: 300px;
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.footer__heading {
    font-size: var(--text-menu);
    font-weight: 600;
    color: var(--color-paper);
    margin-bottom: var(--space-sm);
}

.footer__link {
    display: block;
    font-size: var(--text-p2);
    color: rgba(255, 255, 255, 0.6);
    padding: 0.375rem 0;
    transition: color var(--transition-fast);
}

.footer__link:hover {
    color: var(--color-accent);
}

.footer__bottom {
    padding: var(--space-md) 0;
}

.footer__copy {
    font-size: var(--text-p2);
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

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

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

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .hero__img {
        transform: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --text-h1: clamp(2.25rem, 5vw + 1rem, 4rem);
        --text-h2: clamp(1.75rem, 3.5vw + 0.5rem, 2.75rem);
    }

    .header__nav {
        display: none;
    }

    .header__burger {
        display: flex;
    }

    .about__content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .about__features {
        grid-template-columns: repeat(3, 1fr);
    }

    .benefits__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .destination-row {
        gap: var(--space-lg);
    }

    .gallery__carousel {
        margin: 0 -1rem;
    }

    .gallery__btn {
        width: 44px;
        height: 44px;
    }

    .gallery__btn--prev {
        left: 0.5rem;
    }

    .gallery__btn--next {
        right: 0.5rem;
    }

    .gallery__slide-content {
        padding: var(--space-lg) var(--space-md) var(--space-md);
    }

    .gallery__slide-number {
        font-size: 2.5rem;
    }

    .timeline__line {
        left: 32px;
    }

    .timeline__item {
        width: 100%;
        padding-left: 64px;
        padding-right: 0;
    }

    .timeline__item--left {
        padding-right: 0;
        text-align: left;
    }

    .timeline__item--right {
        margin-left: 0;
    }

    .timeline__item--left .timeline__dot,
    .timeline__item--right .timeline__dot {
        left: 24px;
        right: auto;
    }

    .timeline__item--left .timeline__text {
        margin-left: 0;
    }

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

/* Mobile */
@media (max-width: 640px) {
    :root {
        --text-h1: clamp(2rem, 8vw, 3rem);
        --text-h2: clamp(1.5rem, 6vw, 2rem);
        --text-h3: 1.125rem;
        --text-p1: 1rem;
        --text-p2: 0.875rem;
        --text-overline: 0.75rem;
        --space-xl: 3rem;
        --space-2xl: 4rem;
        --space-3xl: 5rem;
    }

    .hero__content {
        padding-top: 6rem;
    }

    .hero__title {
        font-size: clamp(2rem, 10vw, 3.25rem);
    }

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

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

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

    .destination-row--reverse {
        direction: ltr;
    }

    .destination-row__number {
        font-size: 3rem;
    }

    .destination-row__content {
        padding: var(--space-md);
    }

    .gallery__track {
        aspect-ratio: 4 / 3;
    }

    .gallery__btn {
        width: 40px;
        height: 40px;
    }

    .gallery__btn--prev {
        left: 0.75rem;
    }

    .gallery__btn--next {
        right: 0.75rem;
    }

    .gallery__slide-content {
        padding: var(--space-md) var(--space-sm) var(--space-sm);
    }

    .gallery__slide-number {
        font-size: 2rem;
    }

    .gallery__slide-title {
        font-size: 1.5rem;
    }

    .gallery__slide-text {
        font-size: var(--text-p2);
    }

    .gallery__dots {
        gap: 0.5rem;
        margin-top: var(--space-md);
    }

    .gallery__dot {
        width: 10px;
        height: 10px;
    }

    .timeline__line {
        left: 16px;
    }

    .timeline__item {
        padding-left: 44px;
    }

    .timeline__item--left .timeline__dot,
    .timeline__item--right .timeline__dot {
        left: 8px;
    }

    .timeline__number {
        font-size: 2.5rem;
    }

    .cta__content {
        padding: 0 var(--space-sm);
    }

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

/* Small Mobile */
@media (max-width: 375px) {
    :root {
        --text-h1: 1.875rem;
        --text-h2: 1.5rem;
    }

    .btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.875rem;
    }

    .btn--large {
        padding: 1rem 2rem;
        font-size: 0.9375rem;
    }
}
