/* Base Styles - Variables and Navbar are in separate files */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

main {
    padding-top: 5rem;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--primary);
}

a {
    text-decoration: none;
}

/* Hero Section */
.hero {
    min-height: 60vh;
    display: flex;
    padding: 2rem;
    gap: 4rem;
    align-items: center;
    background: var(--background);
    position: relative;  /* Add this for z-index context */
    overflow: hidden;
}

.hero-content {
    flex: 1;
    padding: 2rem;
    position: relative;  /* Stack above background */
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #666;
}

/* Gradient Button */
.gradient-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    background: linear-gradient(90deg, 
        var(--gradient-1),
        var(--gradient-2),
        var(--gradient-1)
    );
    background-size: 300% 100%;
    color:var(--primary);
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Carousels */
.hero-carousels {
    flex: 1;
    display: flex;
    gap: 2rem;
    height: 80vh;
}

.carousel-container {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    position: absolute;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.spot-card {
    aspect-ratio: 3/4;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
}

.spot-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About Section */
.about {
    padding: 5rem 2rem;
    background: var(--background);
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    padding: 2rem;
    border-radius: 1rem;
    background: linear-gradient(to bottom, var(--card), #1A1A1E);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

/* Responsive Design */
/* Update media query for mobile */
@media (max-width: 968px) {
    .navbar {
        padding: 1rem;
    }
    
    .nav-logo {
        font-size: 1.25rem;
    }
    
    .nav-links {
        gap: 0.5rem;
    }
    
    .nav-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    main {
        padding-top: 4rem;
    }
    
    .hero {
        min-height: 45rem;
        flex-direction: column;
        text-align: center;
        padding: 0rem 1rem;
    }

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1;
        background: #0e0e1075;  /* Dark overlay */
    }

    .hero-content {
        position: absolute;
        top: 20rem; /* Position from bottom */
        max-width: 600px;
        max-height: fit-content;
        margin: 0 auto;
        background: var(--background);  /* Dark overlay */
        border-radius: 1rem;
        box-shadow: var(--background) 1px 0px 40px 10px;
        padding: 2rem;
        animation: shadowGlow 3s ease-in-out infinite;
    }

    .hero-carousels {
        position: absolute;
        align-content: center;
        display: flex;
        ;
        width: 90%;
        height: 100%;
        margin: 0;
        z-index: 0;
        opacity: 1;  /* Subtle background effect */
    }

    .carousel-container {
        height: 100%;
    }

    .spot-card {
        aspect-ratio: auto;
        height: auto;
        max-height: none;  /* Remove max-height constraint */
        transform: scale(1);  /* Slightly larger for better coverage */
    }

    /* Adjust text contrast for better readability */
    .hero h1 {
        font-size: 2.5rem;
        text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    }

    .hero p {
        font-size: 1.1rem;
        text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    }

    .gradient-btn {
        position: relative;
        z-index: 2;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

    .about {
    padding: 5rem 2rem;
    background: #0E0E10;
    margin-top: 0rem; /* Add margin to separate from hero */
}
}

@media (max-width: 360px) {
    .hero p {
        font-size: 0rem;
    }
}
