/* ===== CSS Variables & Design System ===== */
:root {
    /* Colors */
    --clr-bg: #0a0a0f;
    --clr-surface: #14141e;
    --clr-surface-light: #1f1f2e;
    --clr-text: #ffffff;
    --clr-text-muted: #a0a0b0;

    --clr-primary: #ff7e67;
    --clr-primary-hover: #ff6045;
    --clr-accent: #2ab7ca;

    --clr-gold: #f4d06f;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;

    /* Spacing */
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 8rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);

    /* Borders & Shadows */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(255, 126, 103, 0.3);
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg);
    color: var(--clr-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: var(--spacing-xxl) 0;
}

.section-dark {
    background-color: var(--clr-surface);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    max-width: 700px;
    margin-inline: auto;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, #fff, var(--clr-text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
}

/* ===== Buttons ===== */
.btn-primary,
.btn-primary-large {
    display: inline-block;
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-hover));
    color: white;
    font-weight: 600;
    border-radius: 50px;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
}

.btn-primary-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-primary:hover,
.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary-large {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 600;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: background var(--transition-normal), transform var(--transition-normal);
}

.btn-secondary-large:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.btn-text {
    background: none;
    border: none;
    color: var(--clr-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color var(--transition-fast), gap var(--transition-fast);
}

.btn-text:hover {
    color: var(--clr-primary-hover);
    gap: 0.8rem;
}

/* ===== Navbar ===== */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color var(--transition-normal), padding var(--transition-normal);
    padding: 1.5rem 0;
}

.glass-nav.scrolled {
    padding: 1rem 0;
    background: rgba(10, 10, 15, 0.9);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links li a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--clr-text-muted);
}

.nav-links li a:hover {
    color: var(--clr-text);
}

.nav-links li a.btn-primary {
    color: white;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.1);
    animation: zoomInOut 20s infinite alternate linear;
}

@keyframes zoomInOut {
    0% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1.15);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.8) 0%, rgba(10, 10, 15, 0.3) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
    z-index: 1;
    margin-top: 4rem;
}

.hero-title {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(to right, #ffffff, #f4d06f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards 0.3s;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #e0e0e0;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards 0.5s;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards 0.7s;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    animation: bounce 2s infinite;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-20px) translateX(-50%);
    }

    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* ===== Collage Grid ===== */
.collage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 1.5rem;
}

.collage-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-subtle);
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.collage-item:hover img {
    transform: scale(1.1);
}

.collage-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
    transition: padding var(--transition-normal);
}

.collage-item:hover .collage-overlay {
    padding-bottom: 2rem;
}

.collage-overlay h3 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.collage-overlay p {
    font-size: 0.9rem;
    color: var(--clr-primary);
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-normal);
}

.collage-item:hover .collage-overlay p {
    opacity: 1;
    transform: translateY(0);
}

/* Grid Spans */
.item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.item-wide {
    grid-column: span 2;
}

.item-tall {
    grid-row: span 2;
}

/* ===== Itineraries Grid ===== */
.itinerary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.itinerary-card {
    background: var(--clr-surface-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.itinerary-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 126, 103, 0.2);
}

.card-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.itinerary-card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(5px);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.card-description {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-highlights {
    margin-bottom: 2rem;
}

.card-highlights li {
    font-size: 0.9rem;
    color: #dfdfdf;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.card-highlights li i {
    color: var(--clr-accent);
    font-size: 0.8rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.price {
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
}

/* ===== Footer ===== */
.footer {
    background-color: #050508;
    padding: 6rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 2fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.footer-brand p {
    color: var(--clr-text-muted);
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--clr-surface-light);
    color: var(--clr-text);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--clr-primary);
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.link-group h4 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.link-group ul li {
    margin-bottom: 0.8rem;
}

.link-group ul li a {
    color: var(--clr-text-muted);
}

.link-group ul li a:hover {
    color: var(--clr-primary);
}

.footer-newsletter h4 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-newsletter p {
    color: var(--clr-text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-form input {
    padding: 1rem;
    background: var(--clr-surface-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: white;
    font-family: var(--font-body);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--clr-primary);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}

/* ===== Responsive Styles ===== */
@media (max-width: 1024px) {
    .collage-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .item-large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .item-wide {
        grid-column: span 2;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 15, 0.98);
        padding: 2rem;
        flex-direction: column;
        gap: 2rem;
        transform: translateY(-150%);
        opacity: 0;
        transition: all 0.3s ease;
        z-index: -1;
    }

    .nav-toggle:checked~.nav-links {
        transform: translateY(0);
        opacity: 1;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}