/* =========================
   1. VARIABLES & RESET
   ========================= */
:root {
    --primary: #FFD700; /* Torza Yellow */
    --primary-dark: #ccac00;
    --dark-bg: #111111;
    --darker-bg: #080808;
    --card-bg: #1a1a1a;
    --text-light: #f4f4f4;
    --text-muted: #aaaaaa;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden; /* Prevents side scrolling on mobile */
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: var(--text-light);
}

.highlight { color: var(--primary); }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section { padding: 100px 0; }
.text-center { text-align: center; }
.bg-darker { background-color: var(--darker-bg); }

/* =========================
   2. NAVBAR & HEADER (FIXED)
   ========================= */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 110px;
    transition: 0.4s;
    z-index: 1000;
    background-color: transparent;
    display: flex;
    align-items: center;
}

#navbar.scrolled {
    background-color: rgba(8, 8, 8, 0.98); /* Solid Black on scroll */
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    height: 80px;
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Logo Sizing */
.nav-logo-img {
    height: 100px;
    width: auto;
    display: block;
    transition: 0.3s;
}

/* Desktop Menu Links */
.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li { margin-left: 30px; }

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s;
    text-transform: uppercase;
}

.nav-links a:hover { color: var(--primary); }

/* Contact Button */
.btn-nav {
    border: 2px solid var(--primary);
    padding: 8px 20px;
    color: var(--primary) !important;
    border-radius: 3px;
}

.btn-nav:hover {
    background-color: var(--primary);
    color: var(--dark-bg) !important;
}

/* Hamburger Icon (Hidden on Desktop) */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 2000;
}

.hamburger i {
    font-size: 1.8rem;
    color: var(--primary);
    transition: 0.3s;
}

/* =========================
   3. MOBILE MENU LOGIC
   ========================= */
@media (max-width: 768px) {
    .hamburger { display: block; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden by default */
        height: 100vh;
        width: 100%; /* Full screen on mobile */
        background-color: #080808;
        flex-direction: column; /* Stack vertically */
        align-items: center;
        justify-content: center;
        transition: 0.4s ease-in-out;
    }

    /* Class added by JS to show menu */
    .nav-links.active { right: 0; }

    .nav-links li { margin: 25px 0; }
    
    .nav-links a { font-size: 1.5rem; }

    .nav-logo-img { height: 100px; }
}

/* =========================
   4. HERO SECTION
   ========================= */
#hero {
    height: 100vh;
    background-image: url('image1.png'); /* Make sure this file exists */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(8,8,8,0.9) 0%, rgba(8,8,8,0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 40px;
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 3px;
    transition: 0.3s;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--dark-bg);
    border: 2px solid var(--primary);
    margin-right: 15px;
}
.btn-primary:hover { background-color: transparent; color: var(--primary); }

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}
.btn-secondary:hover { background-color: var(--text-light); color: var(--dark-bg); }

/* =========================
   5. SECTIONS (About, Products, Contact)
   ========================= */
.layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

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

.features-list { list-style: none; margin-top: 30px; }
.features-list li {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 15px;
}
.features-list i { color: var(--primary); margin-right: 15px; }

.about-image img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Products */
.section-title { font-size: 2.5rem; margin-bottom: 10px; }
.section-subtitle { color: var(--text-muted); margin-bottom: 50px; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.product-card {
    background-color: var(--card-bg);
    border-top: 4px solid var(--primary);
    border-radius: 5px;
    overflow: hidden;
}
.product-card img { width: 100%; display: block; }
.product-info { padding: 30px; text-align: left; }
.product-info h4 { margin-bottom: 5px; }
.product-info .specs { color: var(--primary); font-weight: 700; font-size: 0.9rem; margin-bottom: 10px; }
.product-info .desc { color: var(--text-muted); font-size: 0.9rem; }

/* Contact */
.cta-section { border-top: 1px solid #333; }
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.method-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 5px;
}
.method-card i { font-size: 2.5rem; color: var(--primary); margin-bottom: 20px; }
.method-card h3, .method-card h4 { color: var(--primary); }

/* =========================
   6. FOOTER (3-Column Grid)
   ========================= */
footer {
    background-color: #080808;
    padding: 60px 0;
    border-top: 4px solid var(--primary);
    color: #fff;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* 3 Equal Columns */
    gap: 30px;
    align-items: start;
}

.center-content { display: flex; justify-content: center; }

.footer-logo-img { height: 120px; width: auto; }

.copyright { font-size: 0.9rem; color: #eee; font-weight: 700; margin-bottom: 10px; }
.disclaimer { font-size: 0.9rem; color: #666; line-height: 1.4; }

.distributor-label { font-size: 0.9rem; color: #aaa; margin-bottom: 5px; }
.banawe-brand {
    color: var(--primary) !important;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.0rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.distributor-sub { font-size: 0.9rem; color: #555; }

/* Mobile Footer */
@media (max-width: 900px) {
    .layout-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-content h2 { font-size: 2.5rem; }
}