/* Basic Setup & Reset */
:root {
    --primary: #FF6B6B;
    --secondary: #4ECDC4;
    --dark: #1A1A1D;
    --light: #F7FFF7;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --font-fancy: 'Playfair Display', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark);
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(26, 26, 29, 0.7);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar .logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--light);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--light);
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

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

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

.cta-btn-nav {
    background: var(--primary);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url('images/hero_bg.png') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 0;
    /* Hidden initially for animation */
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-family: var(--font-fancy);
    font-style: italic;
}

.cta-btn {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--light);
    color: var(--dark);
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-btn:hover {
    background: var(--primary);
    color: var(--light);
    transform: scale(1.05);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--light);
    font-size: 2rem;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 10;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Animations */
.fade-in {
    animation: fadeIn Up 1s forwards;
}

.delay-1 {
    animation-delay: 0.5s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.delay-2 {
    animation-delay: 1s;
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Features Section */
.features {
    padding: 5rem 5%;
    background: var(--dark);
}

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

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, background 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

.icon-wrapper {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: #ccc;
}

/* Tribe Section */
.tribe-section {
    display: flex;
    flex-wrap: wrap;
    padding: 5rem 5%;
    align-items: center;
    background: linear-gradient(135deg, #2D2D34 0%, #1A1A1D 100%);
}

.subtitle {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* Destinations/Routes Section */
.destinations-section {
    padding: 6rem 5%;
    background: var(--dark);
}

.routes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.route-card {
    height: 400px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease;
}

.route-card:hover {
    transform: scale(1.02);
}

.route-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.route-card:hover .route-info {
    transform: translateY(0);
}

.route-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--light);
}

.route-info span {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Showcase Section - keeping as secondary promo */
.showcase {

    display: flex;
    flex-wrap: wrap;
    padding: 5rem 5%;
    align-items: center;
    background: linear-gradient(135deg, #1A1A1D 0%, #2D2D34 100%);
}

.content-wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 4rem;
    align-items: center;
}

.text-col {
    flex: 1;
}

.text-col h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.text-col p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #ddd;
}

.secondary-btn {
    display: inline-block;
    /* Fix: was inline */
    padding: 1rem 2rem;
    border: 2px solid var(--secondary);
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    background: var(--secondary);
    color: var(--dark);
}

.image-col {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-card {
    width: 100%;
    height: 400px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.big-icon {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.2);
    animation: spin 20s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* CTA Section */
.cta-section {
    padding: 6rem 5%;
    text-align: center;
    background: url('https://images.unsplash.com/photo-1476514525535-07fb3b4ae5f1?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') no-repeat center center/cover;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.email-signup {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    /* Fix for mobile */
    justify-content: center;
}

.email-signup input {
    flex: 1;
    padding: 1rem;
    border-radius: 5px;
    border: none;
    min-width: 250px;
    /* Fix for mobile */
}

.email-signup button {
    padding: 1rem 2rem;
    border: none;
    background: var(--primary);
    color: white;
    font-weight: 700;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.email-signup button:hover {
    background: #ff4757;
}

/* Footer */
footer {
    background: #111;
    padding: 4rem 5% 1rem;
    color: #aaa;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--light);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-col a {
    display: block;
    color: #aaa;
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 2rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(26, 26, 29, 0.95);
        padding: 2rem;
        gap: 1rem;
        text-align: center;
        backdrop-filter: blur(10px);
    }

    .nav-links.active {
        display: flex;
        animation: fadeIn 0.3s ease;
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }

    .hamburger i {
        font-size: 2rem;
        color: var(--light);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .image-col {
        width: 100%;
    }

    .email-signup {
        flex-direction: column;
        align-items: center;
    }

    .email-signup input {
        width: 100%;
        margin-bottom: 1rem;
    }

    .email-signup button {
        width: 100%;
    }
}

/* Scroll Animation Classes */
.feature-card,
.text-col,
.image-card,
.cta-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

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

.navbar.scrolled {
    background: rgba(26, 26, 29, 0.95);
    padding: 1rem 5%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}