/* 
  CRAVE VACATIONS - DESIGN SYSTEM
  - Style: Luxury Explorer
  - Colors: Deep Royal Blue, Sand Gold, Clean White
*/

:root {
    --color-primary: #002244;
    /* Deep Royal */
    --color-accent: #D4AF37;
    /* Sand Gold */
    --color-bg: #FFFFFF;
    --color-surface: #F9FBFC;
    --color-text: #111111;
    --color-text-light: #666666;
    --color-border: #E5E9EC;

    --container-max: 1200px;
    --section-padding: 100px;

    --font-display: 'Poppins', sans-serif;
    --font-body: 'Outfit', sans-serif;

    --transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
}

.container-full {
    padding: 0 5%;
}

/* NAVIGATION */
.main-nav {
    background: transparent;
    padding: 30px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.5s var(--transition);
}

.main-nav.scrolled {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -0.05em;
    color: #fff;
}

.main-nav.scrolled .logo-text {
    color: var(--color-primary);
}

.gold {
    color: var(--color-accent);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: var(--transition);
}

.main-nav.scrolled .nav-links a {
    color: var(--color-text);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-accent);
}

/* HERO SECTION */
.hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../images/hero.jpg') center/cover no-repeat;
    color: #fff;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.hero-content {
    position: relative;
    max-width: 1100px;
    z-index: 1;
    margin: 0 auto;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6.5rem);
    line-height: 0.95;
    margin-bottom: 50px;
    font-weight: 950;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.accent-text {
    color: var(--color-accent);
}

/* TRAVEL NAV ICONS */
.travel-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.nav-item span {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.icon-box svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-primary);
}

.nav-item.active .icon-box.orange {
    background: #FF5E1E;
    /* Kayak-style Orange */
    box-shadow: 0 10px 20px rgba(255, 94, 30, 0.4);
}

.nav-item.active .icon-box.orange svg {
    stroke: #fff;
}

.nav-item:hover .icon-box {
    transform: translateY(-5px);
}

/* SEARCH CONTAINER REFINED */
.search-container {
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

.search-filters {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding-left: 10px;
}

.filter-item {
    color: var(--color-text);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.arrow-down::after {
    content: '▾';
    font-size: 0.8rem;
}

.search-box {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    height: 65px;
}

.input-group {
    flex: 1;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    border-right: 1px solid var(--color-border);
}

.input-group.date-input {
    flex: 0.8;
}

.divider {
    padding: 0 10px;
    color: var(--color-text-light);
    font-weight: bold;
    font-size: 1.2rem;
    background: #fff;
}

.input-group input {
    border: none;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    color: var(--color-text);
    width: 100%;
    outline: none;
    background: transparent;
}

.search-btn {
    background: #FF5E1E;
    /* Orange */
    color: #fff;
    border: none;
    height: 100%;
    padding: 0 50px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background: #E04D10;
}

/* CTA BANNER */
.cta-banner {
    background: var(--color-primary);
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.cta-banner p {
    font-weight: 600;
    font-size: 1.1rem;
}

.cta-link {
    color: var(--color-accent);
    font-weight: 800;
    text-decoration: none;
    margin-left: 10px;
    border-bottom: 2px solid transparent;
}

.cta-link:hover {
    border-bottom-color: var(--color-accent);
}

/* SECTIONS */
section {
    padding: var(--section-padding) 0;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 3rem;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: var(--color-primary);
    text-align: center;
}

/* DESTINATION SLIDER */
.section-destinations {
    background: var(--color-surface);
}

.dest-slider-wrapper {
    position: relative;
    padding: 0 40px;
}

.dest-slider {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 20px 0;
    scroll-behavior: smooth;
}

.dest-slider::-webkit-scrollbar {
    display: none;
}

.dest-item {
    flex: 0 0 380px;
    scroll-snap-align: start;
}

.dest-card-img {
    height: 500px;
    background-size: cover;
    background-position: center;
    border: 8px solid #fff;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.dest-card-img:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

.card-content {
    padding: 40px;
    width: 100%;
    z-index: 2;
}

.card-content h3 {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 2rem;
    color: #fff;
    letter-spacing: 0.1em;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    height: 70px;
    background: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.slider-arrow.next {
    right: -10px;
}

.slider-arrow.prev {
    left: -10px;
}

.slider-arrow svg {
    width: 30px;
    height: 30px;
    stroke: var(--color-primary);
}

/* INSIGHTS GRID */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.insight-card {
    background: #fff;
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.insight-thumb {
    height: 250px;
    overflow: hidden;
}

.insight-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.8s;
}

.insight-card:hover .insight-thumb img {
    transform: scale(1.1);
}

.insight-body {
    padding: 40px;
}

.insight-tag {
    display: inline-block;
    padding: 5px 12px;
    background: var(--color-surface);
    color: var(--color-accent);
    font-weight: 800;
    font-size: 0.7rem;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.insight-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    margin-bottom: 15px;
}

.btn-text {
    text-decoration: none;
    color: var(--color-primary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
}

/* FOOTER */
.main-footer {
    background: #001A33;
    color: rgba(255, 255, 255, 0.6);
    padding: 100px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-bottom: 80px;
}

.footer-brand .logo-text {
    font-size: 2rem;
}

.footer-links {
    display: flex;
    justify-content: space-between;
}

.link-col h4 {
    color: #fff;
    margin-bottom: 25px;
}

.link-col a {
    display: block;
    color: inherit;
    text-decoration: none;
    margin-bottom: 15px;
    font-weight: 500;
}

.link-col a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    text-align: center;
    font-size: 0.85rem;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .search-box {
        flex-direction: column;
    }

    .insights-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}