:root {
    --primary-color: #000000;
    /* Black */
    --secondary-color: #333333;
    /* Dark Grey */
    --accent-color: #f2f2f2;
    /* Light Grey */
    --text-color: #333333;
    --white: #ffffff;
    --header-height: 80px;
    --header-bg: rgba(0, 0, 0, 0.9);
    /* Opaque Black */
    --footer-bg: #000000;
    /* Solid Black */
}

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

body {
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
}

/* Header & Nav */
/* Header & Nav */
header {
    background-color: var(--header-bg);
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 45px;
    /* Reduced from 60px */
    width: auto;
    /* Filter removed to show original Red logo */
}

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

nav a {
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s;
}

nav a:hover {
    color: #ccc;
    border-bottom: 2px solid var(--white);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
}

/* Hero Section */
/* Video Sections */
.video-section {
    position: relative;
    height: 100vh;
    /* Full Viewport Height */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 20px;
    overflow: hidden;
}

.video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* 50% opacity dark overlay */
    z-index: 1;
    /* Above video, below content */
}

.video-section video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    z-index: 0;
}

.video-content {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.7);
    /* Black overlay */
    padding: 40px;
    border-radius: 8px;
    max-width: 800px;
    animation: fadeIn 1s ease-out;
}

.video-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.video-content p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.detail-text {
    font-size: 1.1rem;
    margin-top: -15px;
    margin-bottom: 30px;
    font-weight: 300;
    opacity: 0.9;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* Enhancements */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.3s, transform 0.2s;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    /* Ensure text is visible on dark button */
    transform: translateY(-2px);
}

/* Sections */
.section-padding {
    padding: 60px 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    font-size: 2rem;
    text-transform: uppercase;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

/* Features/About */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background-color: var(--white);
    /* Ensure dark text is legible */
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s;
    background-color: var(--white);
}

.product-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 200px;
    background-color: #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Product Detail */
.product-detail-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-detail-image {
    flex: 1 1 400px;
    min-height: 400px;
    background-color: #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 8px;
}

.product-detail-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.product-detail-content {
    flex: 1 1 500px;
}

.product-specs {
    margin-top: 30px;
    border-collapse: collapse;
    width: 100%;
}

.product-specs td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.product-specs tr:first-child {
    border-top: 1px solid #eee;
}

.product-specs td:first-child {
    font-weight: bold;
    width: 40%;
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: var(--white);
    padding: 50px 5% 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
    display: inline-block;
}

.footer-column ul {
    list-style: none;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--white);
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    color: #aaa;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--header-bg);
        /* Match header black background */
        box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }

    nav ul.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
}