/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: #0a1a12;
    overflow-x: hidden;
    width: 100%;
}

/* Header styles - add background when scrolling */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
    background: transparent;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Default header text color (for landing page) */
header .logo-text,
header nav ul li a {
    color: #f0e6d2; /* Remove !important */
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* Add this new class that will be toggled with JavaScript */
header.scrolled {
    background-color: rgba(10, 26, 18, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding: 20px 40px;
}

.logo {
    display: flex;
    align-items: center;
    position: relative;
}

.logo-text {
    color: #f0e6d2;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    padding: 0;
    line-height: 1;
}

.logo-image {
    height: 45px;
    width: auto;
    transition: all 0.3s;
    margin: 0;
    position: relative;
    top: 0;
    object-fit: contain;
    vertical-align: middle;
}

.logo-text:hover .logo-image {
    transform: scale(1.1);
}

.logo-text:hover {
    color: #fff;
}

/* Make logo bigger on landing page, smaller when scrolled */
header:not(.scrolled) .logo-image {
    height: 36px;
}

header.scrolled .logo-image {
    height: 36px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: #f0e6d2;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s;
    position: relative;
    padding-bottom: 5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

nav ul li a:hover {
    color: #a3c973;
    transform: translateY(-2px);
}

/* Video Section with Centered Shoe and Bottom Text */
.video-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.video-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    /* This transparent overlay prevents interaction with the video */
}

#background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
    pointer-events: none !important; /* Force prevent interaction */
}

/* Text banner below the shoe - adjust positioning */
.video-content {
    position: absolute;
    bottom: -65px;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    z-index: 3;
    padding: 30px 5% 100px;
    text-align: center;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.4) 70%,
        rgba(0, 0, 0, 0) 100%
    );
}

.video-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #f0e6d2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
    margin: 0 0 5px 0;
    letter-spacing: -1px;
    position: relative;
    margin-top: -35px;
    transform: none;
}

.video-content .cta-button {
    position: relative;
    margin-top: -35px;
    padding: 20px 40px;
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
    background-color: rgba(0, 71, 19, 0.6);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: white;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.video-content .cta-button:hover {
    background-color: rgba(20, 122, 50, 0.7);
    transform: translateY(-3px);
    box-shadow: 
        0 12px 25px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Shine effect */
.video-content .cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    animation: shine 3s infinite;
    z-index: 1;
}

/* Shine animation */
@keyframes shine {
    0% {
        left: -100%;
    }
    20%, 100% {
        left: 150%;
    }
}

/* Holographic effect */
.video-content .cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        125deg,
        rgba(0, 100, 0, 0.2) 0%,
        rgba(144, 238, 144, 0.2) 20%,
        rgba(0, 255, 127, 0.2) 40%,
        rgba(32, 178, 170, 0.2) 60%,
        rgba(0, 128, 128, 0.2) 80%,
        rgba(0, 100, 0, 0.2) 100%
    );
    z-index: -1;
    mix-blend-mode: color-dodge;
    opacity: 0.6;
    animation: holographic 3s linear infinite;
}

/* Animation for the holographic effect */
@keyframes holographic {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .video-content h2 {
        font-size: 2.4rem;
    }
}

@media (max-width: 992px) {
    .video-content {
        bottom: 5%;
    }
    
    .video-content h2 {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    /* Header adjustments */
    header {
        padding: 15px 20px;
        justify-content: space-between;
    }
    
    /* Product grid adjustments */
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .product-image {
        height: 250px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    /* Video section adjustments */
    .video-section {
        height: auto;
        min-height: 100vh;
    }
    
    .video-container {
        background-image: url('./images/mobile-fallback.jpg');
        background-size: cover;
        background-position: center;
    }
    
    #background-video {
        opacity: 0; /* Hide video but keep it in the DOM */
    }
    
    .video-content {
        position: relative;
        bottom: 0;
        padding: 30px 20px;
        background-color: rgba(10, 26, 18, 0.9);
    }
    
    .video-content h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .video-cta-button {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    /* Slider adjustments */
    .slider-container {
        height: auto;
        padding-bottom: 60px;
    }
    
    .slide {
        flex-direction: column;
        height: auto;
        padding: 30px 20px;
    }
    
    .slide-image {
        width: 100%;
        height: 250px;
        margin-bottom: 20px;
    }
    
    .slide-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    .slide-content {
        width: 100%;
        padding: 0;
        text-align: center;
    }
    
    .slider-arrow {
        top: auto;
        bottom: 50%;
        transform: translateY(50%);
        width: 40px;
        height: 40px;
    }
    
    .slider-arrow.prev {
        left: 10px;
    }
    
    .slider-arrow.next {
        right: 10px;
    }
    
    .slider-nav {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
        padding: 10px 0;
    }
    
    .slider-dot {
        margin: 0 5px;
    }
    
    .slide-image {
        height: 45vh; /* Slightly shorter to ensure full visibility */
        width: 100%;
        overflow: hidden;
    }
    
    .slide-image img {
        width: 100%;
        height: 100%;
        object-fit: contain; /* Change from cover to contain to ensure full image is visible */
        object-position: center;
        background-color: #0a1a12; /* Add background color to fill empty space */
    }
    
    .slide-content {
        margin-bottom: 50px;
    }
    
    .slide {
        padding-bottom: 60px;
    }
    
    .logo-image {
        height: 30px !important;
    }
    
    header.scrolled .logo-image {
        height: 30px !important;
    }
    
    nav ul li {
        margin: 0 8px;
    }
    
    nav ul li a {
        font-size: 0.8rem;
    }
    
    .video-content {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 3;
        padding: 40px 5% 60px;
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.5) 50%,
            rgba(0, 0, 0, 0) 100%
        );
    }
    
    /* Ensure video takes full height on mobile */
    .video-section {
        height: 100vh;
        max-height: -webkit-fill-available; /* For iOS Safari */
    }
    
    /* Prevent black bars on video */
    #background-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    .video-content h2 {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 20px;
    }
    
    .video-content .cta-button {
        padding: 12px 25px;
        font-size: 0.9rem;
        margin-top: 15px;
    }
    
    .slide-image img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    .slider-container {
        height: 100vh;
    }
    
    .slide-content {
        bottom: 15%;
        left: 5%;
        max-width: 90%;
        padding: 20px;
        background: rgba(10, 26, 18, 0.6);
        backdrop-filter: blur(5px);
        border-radius: 8px;
    }
    
    .slide-content h2 {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }
    
    .slide-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
    }
    
    .slider-arrow.prev {
        left: 10px;
    }
    
    .slider-arrow.next {
        right: 10px;
    }
    
    .about-content, .join-content {
        padding: 30px 20px;
        max-width: 90%;
    }
    
    .about-content h2, .join-content h2 {
        font-size: 2.4rem;
        margin-bottom: 20px;
    }
    
    .about-content p, .join-content p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 15px;
    }
    
    .about-cta, .join-cta {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .waitlist-popup {
        width: 95%;
        padding: 25px;
    }
    
    .waitlist-popup h3 {
        font-size: 1.5rem;
    }
    
    .waitlist-form input {
        padding: 10px;
    }
    
    .submit-btn {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    .about-section, .join-section {
        height: auto;
        min-height: 100vh;
        padding: 80px 0;
    }
    
    .about-background, .join-background {
        background-attachment: scroll; /* Better performance on mobile */
    }
    
    .about-content, .join-content {
        width: 90%;
        padding: 30px 20px;
        margin: 0 auto;
    }
    
    /* Fix for wide images on mobile */
    .slide-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center; /* Center the image */
    }
    
    /* Product grid images */
    .product-image img {
        object-fit: cover;
        object-position: center; /* Center the image */
    }
    
    /* Video background */
    #background-video {
        object-fit: cover;
        object-position: center; /* Center the video */
    }
    
    /* Use mobile-specific background video */
    #background-video {
        display: none; /* Hide the desktop video */
    }
    
    /* Create a new video element for mobile */
    .video-container::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('../videos/terrain-video-mobile.mp4') no-repeat center center;
        background-size: cover;
        z-index: 1;
    }
}

@media (max-width: 576px) {
    /* Header adjustments */
    header {
        padding: 15px;
    }
    
    .logo-image {
        height: 30px !important;
    }
    
    /* Product section adjustments */
    .ecommerce-section {
        padding: 40px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-item {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .product-image {
        height: 220px;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .product-info h3 {
        font-size: 1.2rem;
    }
    
    /* Video section adjustments */
    .video-content h2 {
        font-size: 1.8rem;
    }
    
    .video-content {
        bottom: -40px;
        padding-bottom: 80px;
    }
    
    /* About and Join sections */
    .about-content, .join-content {
        padding: 30px 20px;
    }
    
    .about-content h2, .join-content h2 {
        font-size: 1.8rem;
    }
    
    .about-content p, .join-content p {
        font-size: 0.9rem;
    }
    
    /* Waitlist popup */
    .waitlist-popup {
        padding: 25px;
        width: 95%;
    }
    
    .waitlist-popup h3 {
        font-size: 1.5rem;
    }
    
    /* Further adjustments for smaller screens */
    .slide-image {
        height: 220px; /* Reduce height on smaller screens */
    }
    
    .product-image {
        height: 200px; /* Reduce height on smaller screens */
    }
    
    /* For very wide images, crop more aggressively */
    .slide-image img, 
    .product-image img {
        object-fit: cover;
        object-position: center;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    /* Header adjustments for very small screens */
    header {
        padding: 12px 15px;
    }
    
    header.scrolled {
        padding: 12px 15px;
    }
    
    .logo-image {
        height: 25px !important;
    }
    
    nav ul li {
        margin: 0 5px;
    }
    
    nav ul li a {
        font-size: 0.7rem;
    }
    
    /* Ensure proper video sizing */
    .video-section {
        height: 70vh;
    }
    
    /* Adjust content positioning */
    .video-content {
        padding-bottom: 80px;
    }
    
    .video-content h2 {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 20px;
    }
    
    .video-content .cta-button {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    
    /* Slider content adjustments */
    .slide-content h2 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
    }
    
    /* About and Join section adjustments */
    .about-content h2, .join-content h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .about-content p, .join-content p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 12px;
    }
    
    .slide-image {
        overflow: hidden;
    }
    
    .slide-image img {
        transform: scale(1.1);
    }
    
    .waitlist-popup {
        width: 95%;
        max-width: 320px;
        padding: 25px 15px;
    }
    
    .waitlist-popup h3 {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }
    
    .waitlist-popup p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .waitlist-form input {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .form-disclaimer {
        font-size: 0.7rem;
    }
}

/* Fix for navigation on very small screens */
@media (max-width: 380px) {
    nav ul {
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        background-color: rgba(10, 26, 18, 0.9);
        padding: 15px;
        border-radius: 0 0 0 5px;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    nav.active ul {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    /* Add a mobile menu toggle button */
    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        color: #f0e6d2;
        font-size: 1.5rem;
        cursor: pointer;
    }
    
    /* Hide the mobile menu toggle on larger screens */
    @media (min-width: 381px) {
        .mobile-menu-toggle {
            display: none;
        }
    }
    
    .product-item {
        max-width: 100%;
    }
    
    .product-image {
        height: 180px;
    }
    
    .color-options {
        justify-content: center;
    }
    
    .join-waitlist {
        font-size: 0.8rem;
        padding: 10px 0;
    }
    
    /* Slider adjustments */
    .slide-content h2 {
        font-size: 1.6rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
    }
    
    .slider-arrow {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}

/* Full-screen Product Slider */
.product-slider-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background-color: #0a1a12;
}

.slider-container {
    position: relative;
    height: 100%;
    width: 100%;
}

.slider-track {
    position: relative;
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

/* Adjust the slide-image container */
.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    background-color: #0a1a12;
}

/* Fix image quality issues and prevent cropping */
.slide-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 70%;
    filter: brightness(0.95);
    transition: transform 0.7s ease, filter 0.7s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Adjust specific slide positioning */
.slide[data-product="city"] .slide-image img {
    object-position: center 70%;
}

.slide[data-product="desert"] .slide-image img {
    object-position: center 70%;
}

.slide[data-product="jungle"] .slide-image img {
    object-position: center 70%;
}

/* Strengthen the gradient overlay to ensure text readability */
.slide-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(
        to top,
        rgba(10, 26, 18, 0.9) 0%,
        rgba(10, 26, 18, 0.5) 60%,
        rgba(10, 26, 18, 0) 100%
    );
    z-index: 2;
}

/* Adjust the slide content to overlay on the image */
.slide-content {
    position: absolute;
    bottom: 15%;
    left: 10%;
    z-index: 5;
    max-width: 40%;
    color: #f0e6d2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: 0.3s;
    overflow: visible;
}

.slide.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.slide-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 4rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 5px;
    color: #f0e6d2;
}

.slide-content p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1.6;
    color: #000000; /* Black text for paragraphs */
    opacity: 0.9;
}

.slide-cta {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    border: 1px solid #f0e6d2;
    color: #f0e6d2;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.slide-cta:hover {
    background-color: #f0e6d2;
    color: #0a1a12;
    transform: translateY(-3px);
}

/* Slider Navigation - Position at the bottom */
.slider-nav {
    position: absolute; /* Change back to absolute positioning */
    bottom: 40px; /* Position at the bottom of the slider */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    z-index: 100;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(240, 230, 210, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: #f0e6d2;
    transform: scale(1.2);
}

/* Slider Arrows - Position in the middle */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(10, 26, 18, 0.5);
    border: 1px solid rgba(240, 230, 210, 0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background-color: rgba(10, 26, 18, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: 30px;
}

.slider-arrow.next {
    right: 30px;
}

.slider-arrow i {
    color: #f0e6d2;
    font-size: 1.2rem;
}

/* Product Showcase Section - update to create a more natural, magazine-style layout */
.product-showcase {
    background: linear-gradient(
        to bottom, 
        rgba(10, 26, 18, 1) 0%, 
        rgba(226, 215, 195, 0.9) 100px,
        rgba(226, 215, 195, 0.95) 100%
    );
    padding: 150px 5% 80px;
    position: relative;
    margin-top: -50px;
}

/* Update product container for magazine-style layout */
.product-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Update product name typography for a more premium look */
.product-details h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 500;
    color: #0a3d1f;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

/* Refine the underline effect for a more elegant look */
.product-details h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background-color: #0a3d1f;
    transition: width 0.4s ease;
}

.product-card:hover .product-details h3:after {
    width: 60px;
}

/* Add a subtle product description */
.product-details p {
    font-size: 0.95rem;
    margin: 15px auto 5px;
    color: #0a3d1f;
    opacity: 0.8;
    max-width: 80%;
    font-weight: 300;
    letter-spacing: 1px;
    font-family: 'Poppins', sans-serif;
}

/* Add a subtle price display */
.product-details .price {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #0a3d1f;
    margin-top: 10px;
    font-weight: 400;
    letter-spacing: 1px;
}

/* Update the section title for a more premium look */
.product-container::before {
    content: 'EXPLORE OUR COLLECTION';
    position: absolute;
    top: -80px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 8px;
    color: #0a3d1f;
    opacity: 0.7;
    font-family: 'Playfair Display', serif;
}

/* Update product card styling for a more natural, integrated look */
.product-card {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    margin-bottom: 30px;
    background-color: transparent;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    border: none;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Desktop images */
.product-image {
    position: relative;
    height: 300px;
    overflow: hidden;
    cursor: pointer;
    background-size: cover;
    background-position: center;
}

.product-item:nth-child(1) .product-image {
    background-image: url('./images/white.jpg');
}

.product-item:nth-child(2) .product-image {
    background-image: url('./images/green.jpg');
}

.product-item:nth-child(3) .product-image {
    background-image: url('./images/orange.jpg');
}

/* Mobile images */
@media (max-width: 576px) {
    .product-item:nth-child(1) .product-image {
        background-image: url('./images/white-mobile.jpg');
    }
    
    .product-item:nth-child(2) .product-image {
        background-image: url('./images/green-mobile.jpg');
    }
    
    .product-item:nth-child(3) .product-image {
        background-image: url('./images/orange-mobile.jpg');
    }
}

/* Update product details for a cleaner, more integrated look */
.product-details {
    padding: 20px 0;
    text-align: center;
    color: #0a3d1f;
    z-index: 2;
    position: relative;
    background-color: transparent;
    margin-top: 0;
    border-radius: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* Update info button to be more subtle */
.info-button {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 3;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.info-button:hover {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.9);
    opacity: 1;
}

.info-button i {
    font-size: 20px;
    color: #333;
}

/* Video CTA Button (replacing scroll indicator) */
.video-cta-button {
    display: inline-block;
    padding: 15px 40px;
    margin-top: 30px;
    background-color: transparent;
    border: 1px solid #f0e6d2;
    color: #f0e6d2;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.video-cta-button:hover {
    background-color: #f0e6d2;
    color: #0a1a12;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Add shine effect similar to other buttons */
.video-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    animation: shine 3s infinite;
    z-index: 1;
}

/* Updated About Us Section with Full-Screen Background Image */
.about-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #f8f8f8; /* Light beige background matching the image */
    padding: 80px 0;
}

/* Remove the background image */
.about-background {
    display: none;
}

/* Update About content styling */
.about-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 50px;
    background-color: #f5f0e5; /* Slightly darker beige for content box */
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* Softer shadow for better blending */
    opacity: 1;
    transform: translateY(0);
    border: 1px solid #e8dfc7; /* Subtle border for definition */
}

.about-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.2rem;
    margin-bottom: 30px;
    letter-spacing: 5px;
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    color: #1e3a2f; /* Very dark green from image */
}

.about-content h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background-color: #1e3a2f; /* Very dark green from image */
}

.about-content p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #000000; /* Black text for paragraphs */
    opacity: 0.95;
}

.about-cta {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 30px;
    background-color: #1e3a2f; /* Very dark green from image */
    border: 1px solid #1e3a2f;
    color: #f5f0e5; /* Light beige text */
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.about-cta:hover {
    background-color: #1e3a2f; /* Slightly lighter dark green on hover */
    border-color: #1e3a2f;
    color: #f5f0e5;
    transform: translateY(-3px);
}

/* Updated Join Us Section to match About Us Section */
.join-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.join-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./images/mountain-background.jpg'); /* Same as About section */
    background-size: cover;
    background-position: center;
    filter: brightness(0.7);
    z-index: 1;
    /* Remove animations if causing issues */
    transform: scale(1);
}

.join-content {
    position: relative;
    z-index: 2;
    color: #f0e6d2;
    text-align: center;
    max-width: 800px;
    padding: 50px;
    background-color: rgba(10, 26, 18, 0.6);
    backdrop-filter: blur(5px);
    border-radius: 3px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    /* Make visible by default */
    opacity: 1;
    transform: translateY(0);
}

.join-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.2rem;
    margin-bottom: 30px;
    letter-spacing: 5px;
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    color: #f0e6d2;
}

.join-content h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background-color: #f0e6d2;
}

.join-content p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #f0e6d2;
    opacity: 0.95;
}

.join-cta {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 30px;
    background-color: transparent;
    border: 1px solid #f0e6d2;
    color: #f0e6d2;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.join-cta:hover {
    background-color: #f0e6d2;
    color: #0a1a12;
    transform: translateY(-3px);
}

/* Waitlist Form Popup Styles */
.waitlist-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.waitlist-overlay.active {
    opacity: 1;
    visibility: visible;
}

.waitlist-popup {
    background-color: rgba(10, 26, 18, 0.95);
    border: 1px solid rgba(240, 230, 210, 0.2);
    max-width: 500px;
    width: 90%;
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.waitlist-overlay.active .waitlist-popup {
    transform: translateY(0);
    opacity: 1;
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #f0e6d2;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-popup:hover {
    color: #fff;
    transform: scale(1.1);
}

.waitlist-popup h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #f0e6d2;
    margin-bottom: 15px;
    text-align: center;
    letter-spacing: 3px;
}

.waitlist-popup p {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #f0e6d2;
    margin-bottom: 25px;
    text-align: center;
    opacity: 0.9;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.form-group {
    position: relative;
}

.waitlist-form input {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(240, 230, 210, 0.1);
    border: 1px solid rgba(240, 230, 210, 0.3);
    border-radius: 3px;
    color: #f0e6d2;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.waitlist-form input:focus {
    outline: none;
    background-color: rgba(240, 230, 210, 0.15);
    border-color: rgba(240, 230, 210, 0.5);
}

.waitlist-form input::placeholder {
    color: rgba(240, 230, 210, 0.6);
}

.submit-btn {
    background-color: transparent;
    border: 1px solid #f0e6d2;
    color: #f0e6d2;
    padding: 12px 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #f0e6d2;
    color: #0a1a12;
    transform: translateY(-3px);
}

.form-disclaimer {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 15px;
}

/* Animation for form submission */
@keyframes formSuccess {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.form-success .waitlist-form {
    display: none;
}

.form-success-message {
    display: none;
    text-align: center;
    animation: formSuccess 0.5s ease;
}

.form-success .form-success-message {
    display: block;
}

/* Improve mobile menu toggle button styling */
.mobile-menu-toggle {
    display: none; /* Hidden by default, will be shown only on small screens */
    background: none;
    border: none;
    color: #f0e6d2;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 100;
}

.mobile-menu-toggle:hover {
    color: #fff;
    transform: scale(1.1);
}

/* Only show the mobile menu toggle on small screens */
@media (max-width: 380px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    /* Hide the regular navigation on small screens */
    nav ul {
        display: none;
    }
    
    /* Show the navigation when active */
    nav.active ul {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        background-color: rgba(10, 26, 18, 0.95);
        backdrop-filter: blur(10px);
        padding: 20px;
        border-radius: 0 0 0 8px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        z-index: 99;
    }
    
    nav ul li {
        margin: 12px 0;
        text-align: right;
    }
    
    nav ul li a {
        font-size: 0.9rem;
        padding: 5px 10px;
        display: block;
    }
}

/* E-commerce Product Section */
.ecommerce-section {
    background-color: #f5f5f5;
    padding: 80px 0;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 50px;
    color: #0a1a12;
    letter-spacing: 3px;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: #0a1a12;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}

.product-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    height: 300px;
    overflow: hidden;
    cursor: pointer; /* Add cursor pointer to indicate interactivity */
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #0a1a12;
}

.product-description {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.product-price {
    font-weight: 600;
    font-size: 1.2rem;
    color: #0a1a12;
    margin-bottom: 15px;
}

.color-options {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.color-option {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease;
    position: relative;
}

.color-option:hover {
    transform: scale(1.2);
}

.color-option.active {
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px #0a1a12;
}

/* Color swatches */
.color-option.white-grey {
    background: linear-gradient(135deg, #f5f5f5 50%, #333 50%);
}

.color-option.green {
    background-color: #0a5419;
}

.color-option.orange {
    background-color: #ce840d;
}

.color-option.white {
    background-color: #fff;
    border: 1px solid #ddd;
}

.color-option.beige {
    background-color: #f5f5dc;
}

/* Change the add-to-cart button to join-waitlist */
.join-waitlist {
    width: 100%;
    padding: 12px 0;
    background-color: #0a1a12;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.join-waitlist:hover {
    background-color: #1e3a2f;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Add shine effect similar to other buttons */
.join-waitlist {
    position: relative;
    overflow: hidden;
}

.join-waitlist::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    animation: shine 3s infinite;
    z-index: 1;
}

/* Keep the existing shine animation */

/* Responsive adjustments */
@media (max-width: 768px) {
    .ecommerce-section {
        padding: 60px 0 40px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-item {
        max-width: 90%;
        margin: 0 auto;
    }
    
    /* Make product images rectangular */
    .product-image {
        height: 220px;
        border-radius: 8px 8px 0 0;
    }
    
    .product-image img {
        object-position: center 30%;
    }
}

@media (max-width: 480px) {
    .ecommerce-section {
        padding: 60px 0;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

/* Ensure product images scale properly */
.product-image {
    position: relative;
    height: 300px;
    overflow: hidden;
    cursor: pointer;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

@media (max-width: 576px) {
    .product-item {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .product-image {
        height: 220px;
    }
}

@media (max-width: 380px) {
    .product-image {
        height: 180px;
    }
}

/* Ensure proper image handling */
.product-image img,
.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.05);
}

@media (max-width: 576px) {
    /* Adjust image containers for mobile */
    .product-image {
        height: 220px;
    }
    
    .slide-image {
        height: 250px;
    }
}

@media (max-width: 380px) {
    /* Further reduce height for very small screens */
    .product-image {
        height: 180px;
    }
    
    .slide-image {
        height: 200px;
    }
}

/* Mobile optimizations for product slider */
@media (max-width: 768px) {
    /* Comment out product slider section for mobile */
    .product-slider-section {
        display: none; /* Hide the entire section on mobile */
    }
    
    /* The following styles will only apply if the section is visible */
    /*
    .slider-container {
        height: 100vh;
        min-height: 500px;
    }
    
    .slide {
        height: 100vh;
        min-height: 500px;
    }
    
    .slide-image {
        position: relative;
        height: 50vh;
        width: 100%;
        overflow: hidden;
    }
    
    .slide[data-product="desert"] .slide-image img {
        content: url('../images/white-mobile.jpg');
    }
    
    .slide[data-product="jungle"] .slide-image img {
        content: url('../images/green-mobile.jpg');
    }
    
    .slide[data-product="city"] .slide-image img {
        content: url('../images/orange-mobile.jpg');
    }
    
    .slide-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 30%;
    }
    
    .slide-content {
        position: relative;
        bottom: auto;
        left: auto;
        max-width: 90%;
        margin: 20px auto;
        padding: 20px;
        background-color: rgba(10, 26, 18, 0.8);
        border-radius: 8px;
        transform: none;
        opacity: 1;
    }
    
    .slide.active .slide-content {
        transform: none;
    }
    
    .slide-content h2 {
        font-size: 2.5rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .product-slider-section .slider-nav {
        position: absolute;
        bottom: 20px !important;
        top: auto !important;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .product-slider-section .slider-arrow {
        position: absolute;
        top: 25% !important;
        transform: translateY(-50%);
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
    }
    */
}

/* Very small screens */
@media (max-width: 380px) {
    .slide-image {
        height: 35vh;
    }
    
    .product-image {
        height: 180px;
    }
} 