/* CSS Variables for easy customization */
:root {
    /* Font settings - change these to easily switch fonts across the site */
    --font-primary: 'Roboto Flex', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
}

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

body {
    font-family: var(--font-primary);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    background-color: black;
}

.navbar {
    background-color: white;
    padding: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    flex-shrink: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    gap: 0.5rem;
}

.brand-link:hover {
    color: #000;
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
    background-color: black;
    min-height: 44px;
    display: flex;
    align-items: center;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.nav-link:hover {
    background-color: #333;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    gap: 4px;
    padding: 8px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: 0.3s;
    border-radius: 2px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        gap: 4px;
        padding: 8px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        justify-content: center;
        min-height: 48px;
        font-size: 1rem;
    }

    .brand-link {
        font-size: 1rem;
    }

    .logo {
        height: 32px;
    }

    .preorder-btn {
        padding: 1.25rem 2.5rem;
        font-size: 1.3rem;
        min-height: 56px;
    }

    /* Mobile Image and Layout Improvements */
    .main-content {
        flex-direction: column;
        flex: 1; /* Take remaining space without gap */
        padding: 0;
        margin: 0;
        overflow: hidden;
    }

    .image-container {
        flex: 1;
        width: 100vw;
        height: 100vh;
        overflow: hidden;
        position: relative;
        margin: 0;
        padding: 0;
    }

    .stove-fan {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        /* Zoom effect - can be manually adjusted */
        transform: scale(1.2);
        transition: transform 0.3s ease;
    }

    /* Manual styling controls via CSS variables */
    .stove-fan.zoomed {
        transform: scale(var(--mobile-zoom, 1.1));
        object-position: var(--mobile-position-x, center) var(--mobile-position-y, center);
    }

}

.main-content {
    display: flex;
    flex-direction: column; /* Stack image and button vertically on desktop */
   /* justify-content: center;*/
    align-items: center;
    flex: 1;
    padding: 0;
    background-color: black;
}

.image-container {
    position: relative;
    display: flex;
    width: 100%;
    max-width: 1200px; /* Limit max width on desktop */
    margin: 0 auto;
}

/* Button positioned over image on all screen sizes */
#preorder-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    min-height: 48px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.3);
    white-space: nowrap;
    font-weight: 600;
}

.stove-fan {
    width: 100%;
    height: auto;
}

/* Overlay styles removed - button now below image */

.preorder-btn {
    background-color: #dc3545;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    min-height: 44px;
    min-width: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.preorder-btn:hover {
    background-color: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.preorder-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.feature-section {
    background-color: black;
    width: 100%;
    padding: 0;
    margin: 0;
}

.feature-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Manual styling controls via CSS custom properties */
:root {
    --mobile-zoom: 1.0;
    --mobile-position-x: center;
    --mobile-position-y: center;
}

/* Video Section */
.video-section {
    background-color: #1a1a1a;
    padding: 3rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-container {
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .video-section {
        padding: 2rem 1rem;
    }
}