:root {
    --primary-color: #00d2ff;
    --secondary-color: #00ff9d;
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-body: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --transition-speed: 0.3s;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    text-transform: uppercase;
    font-weight: 800;
    line-height: 1.1;
}

h2 {
    font-size: 2.5rem;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glowPulse {
    0% { box-shadow: 0 0 5px rgba(0, 210, 255, 0.2); }
    50% { box-shadow: 0 0 20px rgba(0, 210, 255, 0.5); }
    100% { box-shadow: 0 0 5px rgba(0, 210, 255, 0.2); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.container-wide {
    max-width: 95%;
    margin: 0 auto;
    padding: 0 30px;
}

section {
    padding: 100px 0;
}

/* Header & Nav */
header {
    background: rgba(10, 10, 10, 0.85);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 5px 0;
    background: rgba(10, 10, 10, 0.95);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo h2 {
    margin: 0;
    font-size: 1.8rem;
    border: none;
    letter-spacing: 3px;
    background: linear-gradient(to right, #fff, #ccc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
}

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

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

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/Hero_Background.png') no-repeat center -30%/cover;
    opacity: 0.3;
    z-index: 0;
    filter: contrast(1.2) brightness(0.8);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10,10,10,0.3), var(--bg-dark));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero-title-main {
    font-size: 4.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 0 20px rgba(0,0,0,0.8);
}

.text-highlight {
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
}

.text-highlight-secondary {
    color: var(--secondary-color);
    text-shadow: 0 0 15px rgba(0, 255, 157, 0.4);
}

.hero p {
    font-size: 1.3rem;
    color: #e0e0e0;
    margin-bottom: 40px;
    max-width: 600px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.1);
    transition: all 0.3s ease;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transition: 0.4s;
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn:hover {
    color: #000;
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.6);
    transform: translateY(-3px);
}

/* Features Section */
.features-section {
    background: linear-gradient(to bottom, var(--bg-dark), #111);
    position: relative;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 210, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.feature-card p {
    color: var(--text-muted);
}

/* Gallery / Showcase */
.showcase-section {
    position: relative;
    overflow: hidden;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.showcase-item {
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--glass-border);
}

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

.showcase-item:hover img {
    transform: scale(1.1);
}

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

.showcase-item:hover .showcase-overlay {
    transform: translateY(0);
}

/* About Section */
.about {
    background: #0f0f0f;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img {
    position: relative;
}

.about-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(0, 210, 255, 0.1);
    border: 1px solid var(--glass-border);
    animation: float 6s ease-in-out infinite;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: #050505;
    padding: 60px 0 30px;
    border-top: 1px solid var(--glass-border);
    margin-top: 0;
}

footer p {
    color: #666;
    text-align: center;
}

/* Utilities */
.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--glass-border);
        height: calc(100vh - 80px); /* Full height menu */
        overflow-y: auto;
    }

    .nav-links li {
        margin: 15px 0;
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.5s forwards;
    }

    .nav-links li:nth-child(1) { animation-delay: 0.1s; }
    .nav-links li:nth-child(2) { animation-delay: 0.2s; }
    .nav-links li:nth-child(3) { animation-delay: 0.3s; }

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

    .hamburger {
        display: block;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero-title-main {
        font-size: 2.8rem; /* Smaller font for mobile */
    }
    
    .hero p {
        font-size: 1rem;
    }

    .hero::before {
        background-position: center top !important; /* Reset position for mobile */
    }

    section {
        padding: 60px 0;
    }

    /* Contact Page Mobile */
    .contact-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-info, .contact-form-container {
        min-width: 100%;
    }
    
    .contact-info h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title-main {
        font-size: 2.2rem;
    }
    
    .container, .container-wide {
        padding: 0 15px;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }
}

/* Slideshow styles (Keeping existing product slider styles) */
.slideshow-container {
    width: 100%;
    aspect-ratio: 1 / 1; 
    max-height: 500px;
    position: sticky;
    top: 120px; 
    border-radius: 20px;
    background: transparent; 
    overflow: hidden;
}

@media (max-width: 900px) {
    .slideshow-container {
        flex: 0 0 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }
    .product-visual-wrapper {
        grid-template-columns: 1fr;
    }
}

.product-visual-wrapper .slideshow-container img,
.slideshow-container img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    opacity: 0 !important;
    transition: opacity 0.5s ease-in-out !important;
    border: none !important;
    border-radius: 20px;
}

.slideshow-container img.active {
    opacity: 1 !important;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -20px;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s ease;
    border-radius: 50%;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.next { right: 10px; }
.prev { left: 10px; }

.prev:hover, .next:hover {
    background-color: var(--primary-color);
    color: #000;
}

.slideshow-container.b80-outdoor,
.slideshow-container.d4550-series,
.slideshow-container.d6070-series,
.slideshow-container.l150180-series {
    aspect-ratio: 4/3;
    max-height: 600px;
}

.slideshow-container.b80-outdoor img,
.slideshow-container.d4550-series img,
.slideshow-container.d6070-series img,
.slideshow-container.l150180-series img {
    object-fit: contain !important;
    object-position: center !important;
    background-color: transparent;
}

/* Footer Nav Fix */
.footer-nav-links a {
    text-decoration: none;
    transition: 0.3s;
}
.footer-nav-links a:hover {
    color: var(--primary-color) !important;
}
