@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600&display=swap');

:root {
    --bg-color: #0a0a0a;
    --text-color: #fff;
    --header-bg: rgba(0, 0, 0, 0.85);
    --product-bg: #1a1a1a;
    --hero-title-color: #fff;
    --hero-text-color: #ddd;
    --cta-color: #000;
    --cta-bg: linear-gradient(45deg, #0f0, #00c3ff);
    --cta-hover-bg: linear-gradient(45deg, #00c3ff, #0f0);
    --cta-text: #000;
    --link-color: #ddd;
    --link-hover: #0f0;
    --footer-bg: rgba(0, 0, 0, 0.85);
    --hero-bg-image: url('/assets/images/od1hq.jpg');
}

body.light-mode {
    --bg-color: #fff;
    --text-color: #000;
    --header-bg: rgba(255, 255, 255, 0.85);
    --product-bg: #f0f0f0;
    --hero-title-color: #fff;
    --hero-text-color: #fff;
    --cta-color: #fff;
    --cta-bg: linear-gradient(45deg, #007bff, #00c3ff);
    --cta-hover-bg: linear-gradient(45deg, #00c3ff, #007bff);
    --cta-text: #fff;
    --link-color: #333;
    --link-hover: #007bff;
    --footer-bg: rgba(255, 255, 255, 0.85);
    --hero-bg-image: url('/assets/images/od1_day.webp');
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
}

header,
footer {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--header-bg);
    flex-wrap: wrap;
}

.logo-nav-container {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-grow: 1;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
}

.logo img {
    height: 40px;
    margin-right: 15px;
}

.logo-text {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo-text:hover {
    animation: flicker-green 1.5s infinite alternate;
    color: #0f0;
}

body.light-mode .logo-text:hover {
    animation: flicker-blue 1.5s infinite alternate;
    color: #007bff;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
}

nav {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

nav a {
    color: var(--link-color);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--link-hover);
}

nav.active {
    display: flex;
}

.hero {
    height: 85vh;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.85)),
        var(--hero-bg-image);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 50px;
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--hero-title-color);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.hero p {
    font-size: 22px;
    max-width: 450px;
    line-height: 1.5;
    opacity: 0.9;
    color: var(--hero-text-color);
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
}

.cta {
    background: var(--cta-bg);
    color: var(--cta-color);
    padding: 12px 25px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 20px;
    transition: background 0.3s, transform 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(90deg, #0f0, #00f6ff, #0f0);
    z-index: -1;
    filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
}

.cta:hover {
    background: var(--cta-hover-bg);
    animation: pulse 0.6s ease-out;
}

.cta:hover::before {
    opacity: 0.7;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.5);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(0, 255, 0, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 255, 0, 0);
    }
}

.products {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.product {
    background: var(--product-bg);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    width: 280px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 255, 0, 0.2);
}

footer {
    text-align: center;
    padding: 25px;
    background: var(--footer-bg);
    font-size: 14px;
    letter-spacing: 1px;
}

.theme-toggle {
    cursor: pointer;
    font-size: 22px;
    padding: 6px;
    background: none;
    border: none;
    color: var(--text-color);
    border-radius: 50%;
    transition: transform 0.4s ease, color 0.3s ease;
}

.theme-toggle:hover {
    transform: rotate(15deg) scale(1.1);
    color: #0f0;
}

@media (max-width: 600px) {
    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-top: 15px;
        width: 100%;
    }

    nav.active {
        display: flex;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 18px;
    }

    .cta {
        font-size: 16px;
        padding: 10px 20px;
    }
}

header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    animation: slideDown 0.4s ease forwards;
    background: var(--header-bg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}


/* Full-screen mobile menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 100%;
    /* Initially hidden off-screen */
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: left 0.3s ease;
    /* Smooth slide-in effect */
    z-index: 2000;
    /* Ensure it appears above other content */
}

.mobile-menu.active {
    left: 0;
    /* Slide into view */
}

.mobile-menu a {
    font-size: 24px;
    margin: 15px 0;
    text-decoration: none;
    color: var(--link-color);
    font-weight: 500;
}

.mobile-menu a:hover {
    color: var(--link-hover);
}

.mobile-menu .close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 32px;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
}

@media (min-width: 601px) {

    .mobile-menu,
    .menu-toggle {
        display: none;
    }
}



.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 40px 20px 20px;
    max-width: 1000px;
    margin: auto;
}

.footer-column {
    min-width: 150px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.footer-column a {
    color: var(--link-color);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--link-hover);
}

.footer-copy {
    font-size: 13px;
    text-align: center;
    margin-top: 20px;
    color: var(--link-color);
    opacity: 0.8;
}