:root {
        --primary-red: #ff0000;
        --red: #ff0000; /* Add this so var(--red) works in your nav */
        --dark-bg: #000000;
        --text-white: #ffffff;
        --gray-text: #888888;
        --transition: 0.3s ease; /* Define the transition variable used in your nav */
    }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: var(--dark-bg);
            color: var(--text-white);
            margin: 0;
            padding: 0;
        }

/* ==========================================================================
2. NAVIGATION & DROPDOWN 
========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@700&display=swap');

:root {
    --red: #ff0000;
    --transition: all 0.3s ease;
}

.xtreme-nav-header {
    background: #000;
    padding: 10px 0;
    border-bottom: 2px solid #1a1a1a;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* This pushes Logo Left and Nav Right */
    max-width: 100%;
    padding: 0 50px;
}

/* Ensure the nav-section doesn't grow and push the logo off-center */
.nav-section {
    display: flex;
    align-items: center;
}

@media (max-width: 992px) {
    .nav-container { padding: 0 20px; }
    
    .nav-section.right {
        display: none; 
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #000;
        flex-direction: column;
        padding-bottom: 20px;
    }

    .nav-container.mobile-active .nav-section.right {
        display: flex;
    }
}
/* --- NAVIGATION LINKS --- */
.main-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav > li {
    position: relative;
}

.main-nav > li > a {
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
    display: block;
}

/* RED UNDERLINE EFFECT */
.main-nav > li > a::after {
    content: '';
    position: absolute;
    bottom: 8px; /* Lifted slightly to look cleaner */
    left: 20px;
    right: 20px;
    height: 2px;
    background-color: var(--red);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.main-nav > li > a:hover::after,
.main-nav > li > a.active::after {
    transform: scaleX(1);
}

.main-nav > li > a:hover,
.main-nav > li > a.active {
    color: var(--red);
}

/* --- LOGO STYLING --- */
.logo-horizontal {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.logo-main-row { 
    display: flex; 
    align-items: baseline; 
    gap: 4px; 
}

.gregs { 
    color: var(--red); 
    font-family: 'Times New Roman', serif; 
    font-size: 1.8rem; 
    font-weight: bold; 
}

.x-accent { 
    color: var(--red); 
    font-family: Arial, sans-serif; 
    font-size: 2.2rem; 
    font-weight: 900; 
    font-style: italic; 
    line-height: 1; 
}

.treme { 
    color: #fff; 
    font-family: 'Times New Roman', serif; 
    font-size: 1.5rem; 
    font-weight: bold; 
}

.swoosh-line { 
    width: 100%; 
    height: 3px; 
    background: #8bc34a; 
    margin: 2px 0; 
    border-radius: 10px; 
}

.logo-sub-row { 
    color: #8bc34a; 
    font-family: 'Oswald', sans-serif; 
    font-size: 0.8rem; 
    letter-spacing: 4px; 
    text-align: center; 
    font-weight: 700; 
}

/* --- DROPDOWN LOGIC --- */
.dropdown { position: relative; }

.dropdown-menu {
    display: none;
    position: absolute;
    top: 90%; /* Brought closer to the nav text */
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    min-width: 200px;
    padding: 10px 0;
    list-style: none;
    border-top: 3px solid var(--red);
    box-shadow: 0px 10px 30px rgba(0,0,0,0.5);
    z-index: 2100;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    padding: 12px 25px;
    font-size: 13px;
    color: #bbb;
    display: block;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    transition: 0.3s;
    text-transform: uppercase;
}

.dropdown-menu a:hover {
    background: #111;
    color: var(--red);
    padding-left: 35px; /* Slide effect on hover */
}

/* This creates an invisible bridge between the link and the menu */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -20px; /* This covers the gap above the menu */
    left: 0;
    right: 0;
    height: 20px;
    background: transparent; /* Invisible to the user */
}


/* --- DESKTOP VIEW (Default) --- */
@media (min-width: 993px) {
    .mobile-menu-btn { display: none !important; }
    .nav-section.right { display: flex !important; position: static !important; }
}

/* --- MOBILE VIEW --- */
@media (max-width: 992px) {
    /* Explicitly override to show the button */
    .mobile-menu-btn {
        display: block !important; 
        color: white;
        font-size: 30px;
        cursor: pointer;
        padding: 10px;
        z-index: 99999;
        position: relative;
    }

    .nav-section.right {
        display: none; 
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #000;
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        border-top: 2px solid var(--red);
        z-index: 9999;
    }

    .nav-container.mobile-active .nav-section.right {
        display: flex !important;
    }

    .main-nav {
        flex-direction: column;
        width: 100%;
    }
}

/*=====================================================
  HERO SECTION
=====================================================*/
.hero {
    text-align: center;
    padding: 140px 20px 60px; /* Increased top padding from 120px to 140px */
}

.hero h1 {
    font-family: 'Oswald', sans-serif;
    font-style: italic;
    font-size: clamp(40px, 8vw, 70px);
    margin: 0;
    text-transform: uppercase;
    margin-top: -95px;
}

.hero h1 span { color: var(--primary-red); }

.avg-rating {
    color: var(--gray-text);
    font-size: 18px;
    margin-top: 10px;
    letter-spacing: 2px;
}

/*================================================
Testimonials Grid 
===================================================*/
.testimonials-container {
    max-width: 1200px;
    margin: 0 auto 100px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    padding: 20px;
}
.review-card {
    background: #111;
    padding: 30px;
    border-radius: 4px;
    border-bottom: 3px solid transparent;
    transition: 0.3s;
}
.review-card:hover { border-color: var(--primary-red); transform: translateY(-5px); }

.stars { color: var(--primary-red); margin-bottom: 15px; font-size: 20px; }

.quote { font-size: 1.1rem; line-height: 1.6; margin-bottom: 20px; }

.author { font-weight: 700; text-transform: uppercase; color: var(--gray-text); font-size: 14px; }

.btn-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: var(--primary-red);
    color: white;
    padding: 15px 40px;
    font-weight: 800;
    text-transform: uppercase;
    border: none;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
    cursor: pointer;
    transition: 0.3s;
    z-index: 9999; /* Boosted z-index to stay above footer/grid */
    display: block !important; /* Forces visibility if hidden by accident */
}

.btn-float:hover { 
    transform: scale(1.05); 
    filter: brightness(1.2); 
}

/*====================================================
 Modal / Form Background 
 =====================================================*/
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0; 
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.95); /* Slightly darker for focus */
    justify-content: center;
    align-items: center;
    z-index: 10000; /* Highest priority */
}
.modal-content {
    background: #111;
    padding: 40px;
    width: 90%;
    max-width: 500px;
    border: 1px solid #333;
}

input, textarea, select {
    width: 100%; padding: 12px; margin: 10px 0 20px;
    background: #222; border: 1px solid #444; color: white;
}

#reviewForm .submit-btn, 
#reviewForm .cancel-btn {
    flex: 1; /* Makes both buttons the same width */
    padding: 12px 10px; /* Smaller vertical padding */
    font-size: 13px;
    font-weight: 800; 
    cursor: pointer;
    text-transform: uppercase;
    border: none;
    transition: 0.3s;
}

#reviewForm .submit-btn {
    background: var(--primary-red); 
    color: white; 
}

#reviewForm .submit-btn:hover {
    filter: brightness(1.2);
}

#reviewForm .cancel-btn {
    background: #333; /* Darker/Neutral for Cancel */
    color: #bbb; 
}

#reviewForm .cancel-btn:hover {
    background: #444;
    color: white;
}

 /*=================================================
 7. FOOTER 
 ============================================*/

/* XTREME INDUSTRIAL FOOTER */
.xtreme-footer {
    background: #000;
    position: relative;
    padding-top: 20px; /* Reduced from 60px */
    margin-top: 90px;  /* Brought closer to the section above */
    color: #fff;
}

/* The aggressive diagonal top edge - Made slightly shallower */
.footer-top-slant {
    position: absolute;
    top: -30px; /* Reduced from -40px */
    left: 0;
    width: 100%;
    height: 60px; /* Reduced from 80px */
    background: #000;
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0% 100%);
    border-top: 4px solid #d90000;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 20px; /* Thinner padding */
    margin-top: 50px;
}

.footer-main {
    text-align: center;
    padding-bottom: 20px; /* Reduced from 40px */
}

/* Big Bold Branding - PULLED UP HIGHER */
.footer-logo-section {
    margin-top: -60px; /* This pulls the logo UP into the slant */
    position: relative;
    z-index: 5;
}

.footer-logo {
    font-family: 'Oswald', sans-serif;
    font-size: 2.8rem; /* Made slightly bigger since it's the hero now */
    letter-spacing: -1px;
    margin-bottom: 0px; 
}

.footer-logo span {
    color: #d90000;
    -webkit-text-stroke: 1px #d90000;
}

.footer-logo-section p {
    font-family: 'Oswald', sans-serif;
    letter-spacing: 4px;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 15px; /* Reduced from 30px */
}

.footer-divider {
    width: 40px; /* Smaller divider */
    height: 3px;
    background: #d90000;
    margin: 0 auto 30px; /* Reduced from 50px */
}

/* 3-Column Info Grid - MORE COMPACT */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px; /* Reduced from 40px */
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 20px; /* Reduced from 40px */
}

.footer-col h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    color: #d90000;
    margin-bottom: 10px;
}

.footer-col p, .footer-col a {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem; /* Slightly smaller text */
    color: #aaa;
    text-decoration: none;
    line-height: 1.4;
}

/* Bottom Copyright Bar */
.footer-bottom-bar {
    padding: 15px 0; /* Reduced from 30px */
    text-align: center;
}

.footer-bottom-bar p {
    font-size: 0.7rem;
    color: #444;
    letter-spacing: 1px;
    margin: 0;
}

.footer-map {
    margin-top: 15px;
    border: 1px solid #1d1b1b; /* Dark border to match theme */
    border-radius: 4px;
    overflow: hidden;
    filter: grayscale(100%) invert(90%) contrast(100%); /* Optional: Makes the map dark-themed */
    transition: 0.3s;
}

.footer-map:hover {
    filter: none; /* Map turns to full color on hover */
}

.footer-map iframe {
    display: block;
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    background: #111; /* Dark background */
    border: 1px solid #222;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-socials svg {
    width: 18px; /* Perfectly sized inside the circle */
    height: 18px;
    fill: #fff; /* Icons start as white */
    transition: fill 0.3s ease;
}

.footer-socials a:hover {
    background: #000;
    border-color: #d90000; /* Red border on hover */
    transform: translateY(-3px);
}

.footer-socials a:hover svg {
    fill: #d90000; /* Icons turn red on hover */
}

/* Clean Alignment for Hours Column */
.hours-wrap p {
    display: flex;
    justify-content: space-between; /* Pushes time to the right */
    border-bottom: 1px solid #111; /* Subtle divider */
    padding-bottom: 5px;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.hours-wrap p span:first-child {
    color: #d90000; /* Red days */
    font-weight: bold;
}

/* Ensure social icons are aligned left under the title */
.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    justify-content: center; /* Center them for the main-section feel */
}

/* Make sure the grid handles the center column correctly */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    align-items: start;
}

/* Mobile Fix */
@media (max-width: 768px) {
    .footer-socials {
        justify-content: center;
    }
}