/* 
   Wanderlust Expeditions - Design System
   Premium Adventure Travel Aesthetic
*/

:root {
    /* Color Palette */
    --sand: #F2E8D9;
    --terra: #C4622D;
    --terra-dark: #A34E24;
    --deep: #1A1208;
    --deep-light: #2D2418;
    --moss: #4A5E3A;
    --gold: #D4A843;
    --mist: #8B9EA8;
    --cream: #FBF6EE;
    --white: #FFFFFF;
    --text-muted: #6B7280;
    --border: rgba(196, 98, 45, 0.15);
    
    /* Typography */
    --font-primary: 'DM Sans', sans-serif;
    --font-heading: 'Playfair Display', serif;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 120px 20px; /* Increased from 100px */
    
    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background: var(--cream);
    color: var(--deep);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Helpers */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

.section-tag {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--terra);
    margin-bottom: 1rem;
    display: inline-block;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
}

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

.section-header {
    margin-bottom: 4rem;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

nav.scrolled {
    background: rgba(251, 246, 238, 0.85);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--terra);
    letter-spacing: -0.02em;
}

.nav-links-wrapper {
    display: flex;
    align-items: center;
    gap: 3rem;
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--deep);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--terra);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--terra);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-cta {
    background: var(--terra);
    color: var(--white);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(196, 98, 45, 0.3);
}

.nav-cta:hover {
    background: var(--deep);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle .bar {
    width: 25px;
    height: 2px;
    background: var(--deep);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 100px; /* Offset for fixed nav */
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    animation: zoomOut 20s infinite alternate;
}

@keyframes zoomOut {
    from { transform: scale(1.1); }
    to { transform: scale(1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(26, 18, 8, 0.9) 30%, rgba(26, 18, 8, 0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 40px 100px; /* Added 100px bottom padding to push buttons up */
}

.hero-tag {
    display: inline-block;
    background: var(--terra);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: clamp(3.5rem, 8vw, 6rem);
    margin-bottom: 2rem;
}

.hero h1 em {
    color: var(--gold);
    font-style: italic;
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 2rem; /* Reduced from 3rem to move buttons up */
    color: rgba(255, 255, 255, 0.8);
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--terra);
    color: var(--white);
    padding: 0.9rem 2.2rem; /* Reduced size */
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem; /* Reduced size */
    border: 2px solid var(--terra);
}

.btn-primary:hover {
    background: transparent;
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    padding: 0.9rem 2.2rem; /* Reduced size */
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem; /* Reduced size */
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.6;
}

.hero-scroll span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
}

.scroll-indicator {
    width: 2px;
    height: 50px;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gold);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* Stats Bar */
.stats-bar {
    background: var(--terra);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 4rem 20px;
    color: var(--white);
    text-align: center;
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

/* Destinations */
.destinations {
    padding: var(--section-padding);
}

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

.dest-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.dest-card.large {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.dest-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.dest-card:hover img {
    transform: scale(1.1);
}

.dest-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(26, 18, 8, 0.9), transparent);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.dest-name {
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
}

.dest-card.large .dest-name {
    font-size: 2.5rem;
}

.dest-trips {
    font-size: 0.9rem;
    opacity: 0.8;
}

.dest-tag {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--gold);
    color: var(--deep);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 5;
}

/* Packages */
.packages {
    background: var(--sand);
    padding: var(--section-padding);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pkg-card {
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.pkg-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.pkg-img {
    height: 250px;
    overflow: hidden;
}

.pkg-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s;
}

.pkg-card:hover .pkg-img img {
    transform: scale(1.1);
}

.pkg-body {
    padding: 2.5rem;
}

.pkg-duration {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--terra);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.pkg-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.pkg-features {
    margin-bottom: 2rem;
}

.pkg-features li {
    font-size: 0.95rem;
    color: var(--text-muted);
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pkg-features li::before {
    content: '✓';
    color: var(--moss);
    font-weight: 900;
}

.pkg-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--sand);
    padding-top: 2rem;
}

.pkg-price {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--terra);
}

.pkg-price span {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pkg-btn {
    background: var(--deep);
    color: var(--white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.pkg-btn:hover {
    background: var(--terra);
}

.pkg-card.popular {
    position: relative;
    border: 2px solid var(--terra);
}

.pkg-card.popular::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--terra);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    z-index: 5;
}

/* Booking Section */
.booking {
    padding: var(--section-padding);
    background: var(--deep);
    color: var(--white);
}

.booking-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: center;
}

.booking-info .section-title {
    color: var(--sand);
}

.booking-features {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.b-feature {
    display: flex;
    gap: 1.5rem;
}

.b-icon {
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.05);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

.b-feature h4 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.b-feature p {
    color: rgba(255, 255, 255, 0.6);
}

.booking-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3.5rem;
    border-radius: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-contact {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
}

.form-group input, .form-group select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 12px;
    color: var(--white);
    font-family: var(--font-primary);
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.1);
}

.form-group select option {
    background: var(--deep);
}

.book-btn {
    width: 100%;
    background: var(--terra);
    color: var(--white);
    border: none;
    padding: 1.2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.book-btn:hover {
    background: var(--gold);
    color: var(--deep);
    transform: translateY(-3px);
}

/* Testimonials */
.testimonials {
    padding: var(--section-padding);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testi-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.testi-stars {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.testi-text {
    font-size: 1.1rem;
    color: var(--deep-light);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 2rem;
}

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

.testi-avatar {
    width: 50px;
    height: 50px;
    background: var(--sand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--terra);
    font-size: 1.2rem;
}

.testi-name {
    font-weight: 700;
    font-size: 1rem;
}

.testi-trip {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Footer */
.footer {
    background: var(--deep);
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 0 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 60px;
}

.footer-brand .logo-text {
    color: var(--sand);
}

.footer-brand p {
    margin: 1.5rem 0 2rem;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
}

.social-links a:hover {
    background: var(--terra);
    color: var(--white);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

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

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

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--terra);
    font-weight: 600;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    background: #25D366;
    color: var(--white);
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
}

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

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

/* Responsive */
@media (max-width: 1024px) {
    .nav-links { display: none; }
    .mobile-toggle { display: flex; }
    
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .booking-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-content { padding: 0 20px; }
    
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    .destinations-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .dest-card.large {
        grid-column: 1;
        grid-row: auto;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid, .form-contact {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
