/* EVAC-Q8 Premium Industrial Design System */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Rajdhani:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --color-bg-dark: #0f1012;
    --color-bg-panel: rgba(20, 22, 25, 0.7);
    --color-text-primary: #ffffff;
    --color-text-secondary: #a0a0a0;
    --color-accent: #c49a6c;
    /* Warm bronze/gold for executive feel */
    --color-accent-glow: rgba(196, 154, 108, 0.3);
    --color-border: rgba(255, 255, 255, 0.1);

    --font-heading: 'Orbitron', sans-serif;
    /* Tactical/Tech headers */
    --font-subheading: 'Rajdhani', sans-serif;
    /* Industrial subheaders */
    --font-body: 'Inter', sans-serif;
    /* Clean readable body */

    --glass-blur: blur(20px);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg-dark);
    background-image: url('background_texture.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--color-text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Gradient Overlay to darken background for text readability */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(15, 16, 18, 0.4) 0%, rgba(15, 16, 18, 0.85) 100%);
    z-index: -1;
    pointer-events: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--color-accent);
}

p {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 60ch;
}

/* Utility Classes */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-accent);
    transform: translateX(-101%);
    transition: var(--transition-smooth);
    z-index: -1;
}

.btn:hover {
    color: #000;
    box-shadow: 0 0 30px var(--color-accent-glow);
}

.btn:hover::before {
    transform: translateX(0);
}

/* Header/Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
}

header.scrolled {
    background: rgba(15, 16, 18, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

nav ul {
    display: flex;
    gap: 3rem;
    list-style: none;
}

nav a {
    color: var(--color-text-primary);
    text-decoration: none;
    font-family: var(--font-subheading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    transition: color 0.3s;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--color-accent);
}

nav a:hover::after {
    width: 100%;
}

/* Sections */
section {
    padding: 8rem 0;
    position: relative;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.tagline {
    font-family: var(--font-subheading);
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
}

/* Glass Card Style */
.glass-card {
    background: var(--color-bg-panel);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--color-border);
    padding: 3rem;
    border-radius: 4px;
    /* Slight rounding, maintain industrial feel */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* Product Section */
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
}

.product-image-container {
    position: relative;
    border: 1px solid var(--color-border);
    padding: 2rem;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
}

.product-image-container::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 20px;
    height: 20px;
    border-top: 2px solid var(--color-accent);
    border-left: 2px solid var(--color-accent);
}

.product-image-container::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 20px;
    height: 20px;
    border-bottom: 2px solid var(--color-accent);
    border-right: 2px solid var(--color-accent);
}

.product-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    transition: transform 0.5s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
    /* Subtle zoom */
}

.product-details h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    color: var(--color-text-primary);
}

.feature-list {
    list-style: none;
    margin: 2rem 0;
}

.feature-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    color: var(--color-text-secondary);
}

.feature-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1;
    top: -2px;
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer {
    background: #000;
    padding: 4rem 0;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.copyright {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-grid.reverse {
        display: flex;
        flex-direction: column-reverse;
    }

    h1 {
        font-size: 3rem;
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        gap: 1.5rem;
    }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    /* Black w/ opacity */
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    border: 2px solid var(--color-accent);
    box-shadow: 0 0 50px rgba(196, 154, 108, 0.2);
    animation: zoomIn 0.3s;
    object-fit: contain;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 50px;
    color: var(--color-text-primary);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 2001;
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: var(--color-accent);
    text-decoration: none;
    cursor: pointer;
}

/* Add cursor pointer to product images to indicate clickability */
/* Impact Slider Section */
.impact-slider {
    padding: 6rem 0;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('background_texture.png');
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.impact-text {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--color-text-primary);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
    max-width: 1000px;
    margin: 0 auto;
    font-family: var(--font-heading);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.slide {
    display: none;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    display: block;
    opacity: 1;
    animation: fadeUp 1s ease-out;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}