:root {
    --tnt-orange: #ff4500;
    --dark-bg: #0a0a0a;
    --card-bg: #141414;
    --text-main: #ffffff;
    --text-dim: #a0a0a0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--dark-bg);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

/* --- Navigation --- */
nav {
    background: rgba(0,0,0,0.95);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #222;
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    align-items: center; 
}

/* AGGRESSIVE GAMER STYLE LOGO */
.brand { 
    display: flex;         
    align-items: center;    
    font-family: 'Orbitron', sans-serif; 
    font-size: 1.5rem; 
    font-weight: 900;      
    letter-spacing: 3px;   
    text-transform: uppercase;
    color: var(--text-main);
}

.brand span { 
    color: var(--tnt-orange); 
    font-weight: 400;      
    letter-spacing: 1px;   
    margin-left: 5px;
}

/* SPEAKER IMAGE SIZE CONTROL */
.nav-icon {
    height: 64px;          
    width: auto;           
    margin-left: 5px;     
    filter: drop-shadow(0 0 8px var(--tnt-orange));
    flex-shrink: 0;
    display: block;
}

nav ul { display: flex; list-style: none; gap: 30px; }
nav a { color: white; text-decoration: none; font-weight: bold; font-size: 0.9rem; transition: 0.3s; }
nav a:hover { color: var(--tnt-orange); }

/* --- Hero Section --- */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Reduced bottom padding from 80px to 20px to close the gap */
    padding: 40px 20px 20px 20px; 
    text-align: center;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000 100%);
    min-height: auto;
    overflow: visible; 
}

.logo-img { 
    width: 450px; 
    max-width: 95%; 
    margin-top: 0; 
    margin-bottom: 40px; 
    position: relative; 
    z-index: 10; 
    transition: transform 0.5s ease, filter 0.5s ease;
    cursor: pointer;
    filter: drop-shadow(0 0 15px rgba(255, 69, 0, 0.4)); 
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 30px rgba(255, 69, 0, 0.8));
}

/* Phone Number Styling */
h1.glitch-text { 
    font-family: 'Orbitron'; 
    font-size: 3.5rem; 
    letter-spacing: 4px; 
    margin: 0; 
    line-height: 1.2;
    color: var(--text-main);
}

/* Address & Services Text Spacing */
.sub-text { 
    color: var(--text-dim); 
    font-size: 1rem; 
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.sub-text:first-of-type { 
    margin-top: 35px;    
    margin-bottom: 5px;  
}

p.sub-text + p.sub-text {
    margin-top: 0;
}

/* The Contact Button */
.btn-main {
    display: inline-block; 
    background: var(--tnt-orange);
    color: white;
    padding: 18px 45px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    /* Pushes button away from the Services text above it */
    margin-top: 50px; 
    /* This ensures no hidden margin is pushing the NEXT section away */
    margin-bottom: 0; 
}

.btn-main:hover { 
    transform: scale(1.05); 
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.4); 
}

/* --- Section Titles --- */
.section-title { 
    font-family: 'Orbitron'; 
    font-size: 2rem; 
    /* This ensures the "Our Specialties" title doesn't have a huge top gap */
    margin-top: 1px;       
    margin-bottom: 40px; 
    text-align: center;
    width: 100%;
}

/* --- Services Grid Container --- */
.container { 
    padding: 40px 20px 20px 20px; /* SHRUNK BOTTOM GAP FROM 80px to 20px */
    max-width: 1100px; 
    margin: 0 auto; 
    text-align: center; 
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #222;
    transition: 0.3s;
}

.service-card:hover { border-color: var(--tnt-orange); }
.service-card h3 { color: var(--tnt-orange); margin-bottom: 15px; }
.service-card p { color: var(--text-dim); }

/* --- Brand Logos Section --- */
.brand-section {
    padding: 20px 20px 60px 20px; /* SHRUNK TOP GAP FROM 80px to 20px */
    background: rgba(255, 255, 255, 0.02); 
    text-align: center;
}

/* Pushes the Alpine/Pioneer logos closer to the heading */
.brand-section .section-title {
    margin-bottom: 25px; 
}

.brand-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 50px; 
    max-width: 1000px;
    margin: 0 auto;
}

.brand-grid img {
    height: 45px; 
    width: auto;
    filter: grayscale(100%) brightness(0.8); 
    opacity: 0.6;
    transition: 0.4s ease;
}

.brand-grid img:hover {
    filter: grayscale(0%) brightness(1); 
    opacity: 1;
    transform: scale(1.1);
}

/* --- Form --- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;           /* Takes up the full available width */
    max-width: 850px;      /* Increased from 550px to 850px to match your text */
    margin: 0 auto;        /* Keeps it centered */
}

.contact-form input, 
.contact-form textarea {
    width: 100%;           /* Ensures the boxes fill the 850px container */
    padding: 15px;
    background: #000;
    border: 1px solid #333;
    color: white;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

footer { padding: 40px; text-align: center; color: #444; font-size: 0.8rem; }

/* --- HAMBURGER MENU LOGIC --- */
#menu-toggle, .hamburger { display: none; }

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 1000;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: white;
        transition: 0.3s;
    }

    .nav-menu {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 80px; 
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        padding: 20px 0;
        text-align: center;
        border-bottom: 2px solid var(--tnt-orange);
    }

    #menu-toggle:checked ~ .nav-menu {
        display: flex;
    }

    #menu-toggle { display: none; }
    #menu-toggle:checked ~ .hamburger span:nth-child(2) { opacity: 0; }
}