/* Rapid Garage Fix - Premium Industrial Aesthetics */
:root {
    --primary-color: #0066ff;
    --primary-glow: rgba(0, 102, 255, 0.5);
    --accent-color: #ffcc00;
    --bg-dark: #0a0b0d;
    --bg-card: #15181d;
    --text-main: #e0e0e0;
    --text-muted: #a0a0a0;
    --white: #ffffff;
    --neon-yellow: #ffcc00;
    --neon-blue: #0066ff;
    --font-heading: 'Exo 2', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sections */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.neon-line {
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 0 auto;
    box-shadow: 0 0 15px var(--accent-color);
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    font-weight: 800;
    text-transform: uppercase;
    font-family: var(--font-heading);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px var(--primary-glow);
}

.btn-yellow {
    background-color: var(--accent-color);
    color: #000;
}

.btn-yellow:hover {
    transform: translateY(-3px);
    background-color: #ffd633;
    box-shadow: 0 0 25px rgba(255, 204, 0, 0.4);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 18px 45px;
    font-size: 1.1rem;
}

/* Top Bar */
.top-bar {
    background: #000;
    padding: 12px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid #222;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 25px;
}

.contact-info i {
    color: var(--accent-color);
    margin-right: 8px;
}

.top-actions {
    display: flex;
    gap: 15px;
}

/* Navbar */
.navbar {
    background: rgba(10, 11, 13, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #222;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--primary-color);
    filter: drop-shadow(0 0 5px var(--primary-glow));
}

.logo-accent {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

/* Hide hamburger on desktop */
.menu-toggle {
    display: none;
}

.nav-link {
    margin-left: 35px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
}

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

.cta-link {
    background: var(--primary-color);
    padding: 10px 25px;
    margin-left: 25px;
    color: #fff !important;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-card);
    min-width: 260px;
    display: none;
    border: 1px solid #333;
    padding: 10px 0;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 12px 25px;
    font-size: 0.85rem;
    border-bottom: 1px solid #222;
}

.dropdown-menu a:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Hero */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #000;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?auto=format&fit=crop&w=1920&q=80') center/cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--bg-dark) 30%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 204, 0, 0.1);
    color: var(--accent-color);
    padding: 5px 15px;
    border: 1px solid var(--accent-color);
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 25px;
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-color);
}

.hero-text h1 {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 25px;
    letter-spacing: -2px;
}

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

.hero-ctas {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.hero-trust-indicators {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
}

.v-divider {
    width: 1px;
    height: 30px;
    background: #444;
}

/* Fast Features */
.fast-features {
    background: var(--bg-card);
    padding: 50px 0;
    border-bottom: 2px solid #222;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.fast-feature {
    display: flex;
    align-items: center;
    gap: 20px;
}

.fast-feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.fast-feature h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.fast-feature p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border: 1px solid #222;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.service-link {
    color: var(--accent-color);
    font-weight: 800;
    font-size: 0.85rem;
}

/* Portfolio Work */
.portfolio {
    background: #000;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.work-item {
    height: 450px;
    position: relative;
    overflow: hidden;
}

.work-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
    filter: grayscale(0.5);
}

.work-item:hover .work-img {
    transform: scale(1.05);
    filter: grayscale(0);
}

.work-label {
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--primary-color);
    color: #fff;
    padding: 15px 25px;
    font-weight: 900;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

/* Footer */
footer {
    background: #000;
    padding: 100px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 80px;
    padding-bottom: 80px;
}

.f-col h3 {
    color: var(--white);
    margin-bottom: 30px;
}

.f-col p {
    color: var(--text-muted);
    margin-top: 20px;
}

.f-col ul {
    list-style: none;
}

.f-col ul li {
    margin-bottom: 15px;
}

.f-col ul a:hover {
    color: var(--primary-color);
}

.emergency-badge {
    background: #ff0000;
    color: #fff;
    padding: 10px 20px;
    display: inline-block;
    font-weight: 900;
    font-family: var(--font-heading);
    margin-top: 20px;
    animation: blink 2s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

.footer-bottom {
    background: #050505;
    text-align: center;
    padding: 30px 0;
    font-size: 0.8rem;
    color: #444;
    border-top: 1px solid #111;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 3.5rem;
    }

    .features-grid,
    .services-grid,
    .portfolio-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Testimonials */
.testimonials {
    background-color: var(--bg-card);
    border-bottom: 2px solid #222;
}

.testimonials .section-header h2 {
    color: var(--white);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.testimonial-card {
    background: var(--bg-dark);
    color: var(--text-main);
    padding: 35px;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
    border-top: 3px solid var(--primary-color);
}

.testimonial-card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.8);
    transform: translateY(-3px);
    border-top-color: var(--accent-color);
}

.stars {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.stars i {
    margin-right: 2px;
}

.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 20px;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.customer {
    font-weight: 700;
    color: var(--white);
}

.verified-badge {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.verified-badge i {
    color: #4285f4;
}


/* --- FIX: Top Bar CTA Button Visibility --- */
.top-actions .btn-outline {
    background-color: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    color: var(--white, #ffffff) !important;
}

.top-actions .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-color: var(--white, #ffffff) !important;
    color: var(--white, #ffffff) !important;
}

.top-actions .btn:not(.btn-outline):not(.btn-emergency-sm) {
    background-color: var(--accent-color, #e67e22) !important;
    color: var(--white, #ffffff) !important;
    border: none !important;
}

.top-actions .btn:not(.btn-outline):hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

/* ------------------------------------------ */

/* CHAT WIDGET */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.chat-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white, #ffffff);
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-btn:hover {
    background: var(--accent-color, #333);
    transform: scale(1.1);
}

.chat-popup {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 320px;
    background: var(--white, #ffffff);
    border-radius: var(--radius, 8px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: none;
    overflow: hidden;
}

.chat-popup.active {
    display: block;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.chat-header {
    background: var(--primary-color);
    color: var(--white, #ffffff);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 {
    color: var(--white, #ffffff);
    font-size: 1rem;
    margin: 0;
}

.chat-close {
    background: none;
    border: none;
    color: var(--white, #ffffff);
    cursor: pointer;
    font-size: 1.1rem;
    opacity: 0.8;
}

.chat-close:hover {
    opacity: 1;
}

.chat-body {
    padding: 20px;
    background: #f8fafc;
}

.chat-body p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: #333;
}

.chat-body input {
    width: 100%;
    padding: 10px 14px;
    margin-bottom: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.9rem;
}

.chat-body input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* =============================================
   MOBILE RESPONSIVE STYLES
   ============================================= */

/* Tablet breakpoint */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .work-item {
        height: 280px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* Mobile breakpoint */
@media (max-width: 768px) {

    /* Top Bar */
    .top-bar {
        display: none;
    }

    /* Navbar & Hamburger */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        gap: 5px;
    }

    .bar {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--white);
        border-radius: 3px;
        transition: var(--transition);
    }

    .navbar {
        position: sticky;
        top: 0;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        background: #111;
        padding: 10px 0 20px;
        gap: 0;
        z-index: 2000;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
        border-top: 2px solid var(--primary-color);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #222;
    }

    .nav-link {
        display: block;
        padding: 16px 20px;
        margin: 0;
        font-size: 1rem;
    }

    .cta-link {
        margin: 10px 0 0;
        text-align: center;
        padding: 16px 20px;
        width: 100%;
        display: block;
    }

    .nav-dropdown .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        background: rgba(255, 255, 255, 0.05);
        border: none;
        padding: 0;
        min-width: unset;
    }

    .nav-dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    /* Hero */
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 60px;
    }

    .hero-text h1 {
        font-size: 2.4rem;
        letter-spacing: -1px;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-ctas {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .hero-ctas .btn {
        width: 100%;
        text-align: center;
    }

    .hero-trust-indicators {
        flex-wrap: wrap;
        gap: 10px;
        font-size: 0.85rem;
    }

    .status-badge {
        font-size: 0.8rem;
    }

    /* Fast Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .fast-feature {
        flex-direction: column;
        text-align: center;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Portfolio */
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .work-item {
        height: 240px;
    }

    .work-label {
        font-size: 0.75rem;
        padding: 8px 12px;
    }

    /* Section headers */
    .section-header h2 {
        font-size: 1.8rem;
    }

    section {
        padding: 60px 0;
    }

    /* About / Stats */
    div[style*="repeat(4, 1fr)"] {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    div[style*="grid-template-columns: 1.2fr 1fr"],
    div[style*="grid-template-columns: 1fr 1.4fr"],
    div[style*="grid-template-columns: 1fr 1.2fr"] {
        grid-template-columns: 1fr !important;
    }

    /* Testimonials */
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}