/* --- UI/UX Global Design Token Definitions --- */
:root {
    --primary: #FF5A60;         /* High-conversion Warm Coral */
    --secondary: #0E7C7B;       /* Vibrant Ocean Teal */
    --dark: #0F172A;            /* Slate-900 Core text & interface */
    --light: #F8FAFC;           /* Off-White clean background split */
    --white: #FFFFFF;
    --gray: #64748B;            /* Muted Slate descriptive text */
    --font: 'Plus Jakarta Sans', sans-serif;
    --shadow-soft: 0 12px 40px rgba(15, 23, 42, 0.04);
    --shadow-bold: 0 24px 64px rgba(15, 23, 42, 0.12);
    --radius-lg: 20px;
    --radius-md: 12px;
    --transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- Clean UI Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font);
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Responsive Header & Navbar Layout --- */
.navbar {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1100;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 88px;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--dark);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white) !important;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 24px rgba(255, 90, 96, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 90, 96, 0.35);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark);
}

/* --- Hero Frame & Booking Engine UI Component --- */
.hero {
    background: linear-gradient(to right, rgba(15, 23, 42, 0.65), rgba(15, 23, 42, 0.4)), 
                url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    min-height: 85vh;
    display: flex;
    align-items: center;
    color: var(--white);
    padding: 100px 0 140px;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-content h1 {
    font-size: clamp(38px, 5.5vw, 64px);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: clamp(16px, 2.2vw, 19px);
    max-width: 640px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 48px;
}

/* Floating Modular Booking Engine */
.booking-engine {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-bold);
    color: var(--dark);
    max-width: 1060px;
    position: absolute;
    bottom: -50px;
    width: calc(100% - 48px);
}

.search-field {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    padding: 10px 16px;
    border-right: 1px solid #E2E8F0;
}

.search-field:last-of-type {
    border-right: none;
}

.search-field i {
    color: var(--secondary);
    font-size: 22px;
}

.search-field label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--gray);
    letter-spacing: 0.75px;
}

.search-field input, .search-field select {
    border: none;
    outline: none;
    width: 100%;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    background: transparent;
    margin-top: 4px;
}

.btn-search {
    background-color: var(--secondary);
    color: var(--white);
    border: none;
    padding: 18px 36px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    font-family: var(--font);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-search:hover {
    background-color: #0A5E5D;
    box-shadow: 0 8px 20px rgba(14, 124, 123, 0.25);
}

/* --- Layout Architecture Configuration --- */
.destinations {
    padding: 160px 0 100px;
}

.features {
    padding: 100px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 56px;
    gap: 24px;
}

.sub-title {
    display: block;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    letter-spacing: -0.75px;
}

.section-header p {
    color: var(--gray);
    max-width: 420px;
    font-size: 15px;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
}

/* --- Responsive Premium Tour Cards --- */
.tour-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-bold);
}

.card-image {
    height: 260px;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 20px;
}

.card-badge {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    position: absolute;
    top: 20px;
    left: 20px;
}

.card-info {
    padding: 28px;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-size: 14px;
    font-weight: 600;
}

.location {
    color: var(--gray);
}

.location i {
    color: var(--primary);
    margin-right: 4px;
}

.rating {
    color: var(--dark);
}

.rating i {
    color: #FBBF24;
}

.tour-card h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
    letter-spacing: -0.25px;
}

.excerpt {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 24px;
}

.card-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #F1F5F9;
    padding-top: 20px;
}

.pricing {
    font-size: 14px;
    color: var(--gray);
}

.pricing .amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary);
}

.duration {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    background: #F1F5F9;
    padding: 6px 12px;
    border-radius: 8px;
}

/* --- Split Layout Feature Framework --- */
.split-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.features-text h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.features-text > p {
    color: var(--gray);
    margin-bottom: 40px;
    font-size: 16px;
}

.feature-node {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}

.icon-sphere {
    background-color: rgba(14, 124, 123, 0.08);
    color: var(--secondary);
    min-width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.feature-node h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.feature-node p {
    color: var(--gray);
    font-size: 14px;
}

.features-asset .image-wrapper {
    height: 500px;
    border-radius: var(--radius-lg);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-bold);
}

/* --- Interface Footer --- */
footer {
    background-color: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 88px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 48px;
    margin-bottom: 64px;
}

.brand-column h3 {
    color: var(--white);
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 16px;
}

.brand-column h3 span {
    color: var(--primary);
}

.brand-column p {
    max-width: 260px;
    font-size: 14px;
}

footer h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 24px;
}

footer a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 14px;
    transition: var(--transition);
}

footer a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.newsletter-input {
    display: flex;
    background: rgba(255, 255, 255, 0.06);
    padding: 6px;
    border-radius: var(--radius-md);
    margin-top: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-input input {
    background: transparent;
    border: none;
    outline: none;
    padding: 12px;
    color: var(--white);
    flex: 1;
    font-family: var(--font);
    font-size: 14px;
}

.newsletter-input button {
    background: var(--primary);
    border: none;
    color: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-input button:hover {
    background-color: #e04f54;
}

.footer-strip {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* --- Responsive Engine Media Queries --- */
@media (max-width: 1024px) {
    .booking-engine {
        position: static;
        margin-top: 40px;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
    .search-field {
        border-right: none;
        border-bottom: 1px solid #E2E8F0;
        padding-bottom: 16px;
    }
    .destinations {
        padding: 80px 0;
    }
    .split-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .features-asset .image-wrapper {
        height: 340px;
        order: -1; /* Pushes the image above text content nicely on smaller Viewports */
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Can be hooked into simple layout state toggles */
    }
    .menu-toggle {
        display: block;
    }
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}