/* ========================================
   AJAY CARPENTER - RESTORED PREMIUM DESIGN
   ======================================== */

:root {
    --bg: #030303;
    --fg: #f5f5f5;
    --accent: #FFD600;
    /* Reverted to Yellow */
    --secondary: #A07855;
    /* Wood Brown */
    --easing: cubic-bezier(0.165, 0.84, 0.44, 1);

    /* Legacy Tokens */
    --primary: #FFD600;
    --text-dark: #f5f5f5;
    --text-light: #a0a0a0;
    --bg-white: #0a0a0a;
    --bg-light: #121212;
    --bg-dark: #000;
    --border: #333;

    --font-heading: 'Syncopate', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --font-accent: 'Space Mono', monospace;
}

/* --- NOISE & CURSOR --- */
.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

#cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    mix-blend-mode: difference;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--easing), height 0.3s var(--easing), transform 0.05s linear;
}

#cursor.magnet {
    width: 80px;
    height: 80px;
    background: transparent;
    border: 1px solid var(--accent);
}

#cursor.magnet::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--fg);
    overflow-x: hidden;
}

/* --- NAVBAR --- */
.brutal-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem 0;
    /* Vertical padding only, let container handle horizontal */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: all 0.6s var(--easing);
    /* mix-blend-mode: exclusion; - Removed for better mobile compatibility */
}

.navbar {
    width: 100%;
    display: flex;
    justify-content: center;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.brutal-nav.scrolled {
    top: 1rem;
    padding: 0.8rem 0;
    /* Vertical only */
    width: 90vw;
    max-width: 1400px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    mix-blend-mode: normal;
}

.brutal-nav.scrolled .navbar-container {
    padding: 0 2rem;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--accent);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    /* Reduced gap */
    white-space: nowrap;
}

.nav-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

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

.nav-link {
    text-decoration: none;
    color: #fff !important;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.cta-btn {
    padding: 0.7rem 1.8rem;
    background: #fff;
    color: #000;
    font-weight: 800;
    border: none;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.8rem;
    max-width: 100%;
}

/* --- HERO (Alerak Effect, Original Content) --- */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
    padding: 100px 5% 0 5%;
    /* Added top padding to clear fixed nav */
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/hero-bg.webp') center center / cover no-repeat;
    background-attachment: scroll;
    /* Fixed is buggy on mobile */
    overflow: hidden;
}

.hero-title-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    margin-bottom: 18vh;
    position: relative;
    z-index: 10;
}

.hero-eyebrow {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 2rem;
    display: block;
    text-align: center;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10vw, 13vw);
    line-height: 0.8;
    text-transform: uppercase;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.8);
    transition: all 0.4s var(--easing);
    width: fit-content;
    margin: 0 auto;
    pointer-events: none;
    /* Make the bounding box transparent to mouse */
}

.hero h1 .word {
    display: inline-block;
    pointer-events: auto;
    /* Only the words capture the hover */
    margin: 0 0.15vw;
}

.hero h1 .char {
    display: inline-block;
    transition: color 0.3s ease, -webkit-text-stroke 0.3s ease;
}

.hero h1:hover .char {
    color: var(--accent);
    -webkit-text-stroke: 0px;
}

.hero p {
    color: #a0a0a0;
    max-width: 650px;
    margin: 2.5rem auto;
    font-size: clamp(1rem, 1.25rem, 1.5rem);
    line-height: 1.6;
}

/* Tape Wrapper */
.tape-wrapper {
    position: absolute;
    bottom: 6vh;
    left: -10%;
    width: 120%;
    background: var(--accent);
    color: #000;
    transform: rotate(-1deg);
    /* Reduced rotation */
    padding: 10px 0;
    border-top: 3px solid #000;
    border-bottom: 3px solid #000;
    z-index: 5;
}

.tape-text {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 3vw, 2.2rem);
    font-weight: 800;
    white-space: nowrap;
    animation: tapeScroll 20s linear infinite;
    letter-spacing: 5px;
}

@keyframes tapeScroll {
    to {
        transform: translateX(-50%);
    }
}

/* --- SECTIONS (Restored previous design) --- */
section {
    padding: 8rem 0;
}

.container {
    max-width: 1400px;
    width: 95%;
    margin: 0 auto;
    padding: 0 1rem;
}

h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 3rem;
    color: #fff;
}

/* Trending/Services Grids */
.services-grid {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 0 5% 2rem 5%;
    scrollbar-width: none;
    -ms-overflow-style: none;
    user-select: none;
    cursor: grab;
}

.services-grid.active {
    cursor: grabbing;
}

.services-grid img,
.gallery-grid img {
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.services-grid::-webkit-scrollbar {
    display: none;
}

.service-card-stack {
    flex: 0 0 400px;
    background: #0a0a0a;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s var(--easing);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.service-card-stack:hover {
    border-color: var(--accent);
    box-shadow: 0 25px 60px rgba(255, 214, 0, 0.1);
}

.service-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.service-info {
    padding: 2rem;
}

.service-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.service-info p {
    color: #a0a0a0;
}

/* Gallery Restored */
.gallery-grid {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 0 5% 2rem 5%;
    scrollbar-width: none;
    user-select: none;
    cursor: grab;
}

.gallery-grid.active {
    cursor: grabbing;
}

.gallery-item {
    flex: 0 0 auto;
}

.gallery-item img {
    width: 350px;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Added border base */
    transition: all 0.4s var(--easing);
    /* Added transition */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gallery-item img:hover {
    border-color: var(--accent);
    /* Accent border on hover */
    box-shadow: 0 20px 50px rgba(255, 214, 0, 0.1);
    /* Glow effect */
    transform: translateY(-5px);
    /* Subtle lift */
}

/* Contact Cards Updated */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Force 3 columns */
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-card {
    background: #111;
    padding: 3rem 1.5rem;
    border-radius: 12px;
    border: 1px solid #333;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s var(--easing);
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.contact-card:hover {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.contact-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
    /* Force white icons for consistency */
    transition: transform 0.3s var(--easing);
}

/* If the icons are black only, filter: none will make them invisible.
   Safest is to keep them white or maybe use drop-shadow.
   Let's try to keep them white but just scale.
*/

.contact-card:hover .contact-icon {
    transform: scale(1.1);
    filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.contact-card h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-detail {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    word-break: break-all;
}

.contact-prompt {
    font-size: 0.8rem;
    color: #666;
    /* Light grey prompt */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: auto;
    font-family: 'Space Mono', monospace;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.contact-card:hover .contact-prompt {
    opacity: 1;
    color: #888;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: repeat(1, 1fr);
        /* Stack vertically on mobile/tablet */
    }
}

footer {
    padding: 5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #000;
    border-top: 1px solid #222;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 80px;
    /* Slightly larger for footer */
    width: auto;
    filter: brightness(0) invert(1);
}

footer h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--accent);
    margin: 0;
}

footer p {
    color: #555;
    margin-top: 1rem;
}

/* Mobile Menu */
@media (max-width: 900px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: #000;
        flex-direction: column;
        justify-content: center;
        gap: 3rem;
        transform: translateY(-100%);
        transition: transform 0.6s var(--easing);
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-link {
        font-size: 2rem;
    }
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    z-index: 1001;
}

@media (max-width: 900px) {
    .menu-toggle {
        display: block;
    }
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--accent);
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

.menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- MODAL STYLES --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: flex-start;
    /* Changed from center to allow scrolling */
    overflow-y: auto;
    /* Enable scroll */
    z-index: 99999;
    /* Higher than everything */
    padding: 4rem 2rem;
    /* More padding for scroll space */
    cursor: auto !important;
    /* Restore default cursor */
}

/* Ensure all elements inside the modal use the default cursor */
.modal-overlay *,
.modal-overlay button,
.modal-overlay input,
.modal-overlay select {
    cursor: auto !important;
}

/* Specifically restore pointer for buttons and clickable labels */
.modal-overlay .cta-btn,
.modal-overlay .modal-close,
.modal-overlay .radio-group label {
    cursor: pointer !important;
}

/* Hide the custom cursor circle and noise when modal is open */
body.modal-open #cursor,
body.modal-open .noise {
    display: none;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #0a0a0a;
    width: 100%;
    max-width: 500px;
    padding: 3rem;
    border: 1px solid var(--accent);
    position: relative;
    box-shadow: 0 0 50px rgba(255, 214, 0, 0.1);
    animation: modalIn 0.4s var(--easing);
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--accent);
}

.modal-content h3 {
    font-family: var(--font-heading);
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.modal-content p {
    color: #888;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group select {
    width: 100%;
    background: #111;
    border: 1px solid #333;
    padding: 1rem;
    color: #fff;
    font-family: var(--font-secondary);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
}

.radio-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    cursor: pointer;
    text-transform: none;
}

.radio-group input[type="radio"] {
    width: auto;
    accent-color: var(--accent);
}

.budget-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: #0d0d0d;
    padding: 2rem;
    border: 1px solid #222;
    border-radius: 8px;
}

.budget-container input[type="number"] {
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--accent);
    padding: 0.5rem;
    text-align: center;
    font-size: 1.5rem;
    font-family: var(--font-secondary);
    color: var(--accent);
    width: 100%;
}

textarea {
    resize: none;
    background: #111;
    border: 1px solid #333;
    padding: 1rem;
    color: #fff;
    width: 100%;
}

/* Highly Improved Slider Styling */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    /* Slightly thicker track */
    background: #222;
    border-radius: 10px;
    outline: none;
}

input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    background: #222;
    border-radius: 10px;
}

/* The Thumb (The moving part) */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 24px;
    width: 24px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    margin-top: -8px;
    /* Centers thumb on track */
    box-shadow: 0 0 15px rgba(255, 214, 0, 0.4);
    border: 3px solid #000;
    transition: transform 0.2s ease;
}

input[type="range"]:active::-webkit-slider-thumb {
    transform: scale(1.2);
}

input[type="range"]::-moz-range-track {
    width: 100%;
    height: 8px;
    background: #222;
    border-radius: 10px;
}

input[type="range"]::-moz-range-thumb {
    height: 24px;
    width: 24px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid #000;
    box-shadow: 0 0 15px rgba(255, 214, 0, 0.4);
}

/* --- STRICT MOBILE RESPONSIVE REFACTOR (768px Rules) --- */
/* --- SERVICE AREAS GRID --- */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Force 3 columns */
    gap: 2rem;
    padding: 0 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.location-card {
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    /* Slightly rounder */
    padding: 2.5rem 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s var(--easing);
    text-align: center;
    /* Center text */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.location-card:hover {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.pin-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(255, 214, 0, 0.3));
    /* Glow effect */
}

.location-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: #fff;
    margin: 0 0 1rem 0;
    line-height: 1.2;
    letter-spacing: 1px;
}

.loc-status {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: rgba(255, 214, 0, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 20px;
}

/* Add responsive break for smaller screens */
@media (max-width: 900px) {
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on tablet */
    }
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    position: relative;
    display: block;
}

.pulse::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--accent);
    animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
    0% {
        width: 100%;
        height: 100%;
        opacity: 1;
    }

    100% {
        width: 300%;
        height: 300%;
        opacity: 0;
    }
}

@media (max-width: 768px) {

    /* 1. Container Management */
    * {
        max-width: 100%;
        cursor: auto !important;
        box-sizing: border-box;
        /* Re-confirming */
    }

    body {
        overflow-x: hidden;
        position: relative;
        width: 100%;
    }

    .navbar-container {
        padding: 0 10px !important;
        /* Decreased from 32px to 10px */
    }

    section,
    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        margin: 0 auto;
        word-wrap: break-word;
        /* Prevents long words from stretching */
    }

    /* 2. Image Scaling for Services & Gallery */
    .service-image img,
    .gallery-item img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain;
    }

    /* 3. Flexbox Layout Stacking */
    #servicesGrid,
    .gallery-grid {
        display: flex !important;
        flex-direction: row !important;
        gap: 15px !important;
        width: 100% !important;
        padding-bottom: 20px !important;
        overflow-x: auto !important;
        scrollbar-width: none;
        -ms-overflow-style: none;
        align-items: stretch;
    }

    .contact-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        width: 100% !important;
        padding: 0 !important;
    }

    /* Update Service and Gallery Items for Horizontal Scroll */
    .service-card-stack,
    .gallery-item {
        width: 75vw !important;
        flex: 0 0 75vw !important;
        margin-bottom: 0 !important;
    }

    .gallery-item img {
        width: 100% !important;
        height: 100% !important;
        aspect-ratio: 3/4 !important;
        object-fit: cover !important;
    }

    /* Trending stays as a compact horizontal scroll for variety, but optimized */
    #trendingGrid {
        display: flex;
        overflow-x: auto;
        gap: 15px;
        padding-bottom: 20px;
        width: 100%;
        max-width: 100%;
        overflow-y: hidden;
    }

    #trendingGrid .service-card-stack {
        width: 60vw !important;
        flex: 0 0 60vw !important;
    }

    /* 4. Typography Downscaling */
    h1,
    .hero h1 {
        font-size: 10vw !important;
        line-height: 1.1 !important;
        -webkit-text-stroke: 0.5px rgba(255, 255, 255, 0.8) !important;
        width: 100% !important;
        text-align: center;
        margin-bottom: 1rem;
    }

    h2 {
        font-size: 8vw !important;
        margin-bottom: 1.5rem;
    }

    h3 {
        font-size: 6vw !important;
    }

    .hero-eyebrow {
        font-size: 3vw !important;
        letter-spacing: 2px !important;
    }

    /* 5. Viewport Units / Removing Fixed Pixels */
    .logo-text {
        width: auto !important;
        flex-shrink: 1 !important;
        overflow: visible !important;
    }

    .nav-logo {
        height: 6vw !important;
        /* Reduced from 8vw */
        width: auto !important;
        flex-shrink: 0 !important;
    }

    .logo-text span {
        font-size: 3vw !important;
        /* Reduced from 3.2vw */
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: #fff !important;
        white-space: nowrap !important;
    }

    .cta-btn {
        padding: 1.5vw 3vw !important;
        /* Reduced padding */
        font-size: 2.2vw !important;
        /* Reduced font size */
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }

    .menu-toggle span {
        width: 20px !important;
        /* Smaller hamburger lines */
        height: 2px !important;
        margin: 4px 0 !important;
    }

    .nav-actions {
        gap: 2vw !important;
        align-items: center;
    }

    .brutal-nav.scrolled {
        width: 95vw !important;
        left: 2.5vw !important;
        padding: 2vw 0 !important;
        transform: none !important;
    }

    /* Hero Fixes */
    .hero {
        padding-top: 100px;
        min-height: 50vh;
        /* Significantly reduced from 100vh */
        height: auto;
        width: 100%;
        background-size: cover;
        background-attachment: scroll !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        padding-bottom: 3rem;
    }

    .hero-title-container {
        transform: none !important;
        margin: 0 !important;
        padding: 0 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .tape-wrapper {
        bottom: 5vh;
        /* Adjusted position */
        width: 100vw;
        /* Force full width */
        left: 50%;
        /* Center relative to parent */
        transform: translateX(-50%) rotate(-1deg);
        /* Center and rotate */
        margin: 0;
        padding: 8px 0;
        box-sizing: border-box;
    }

    .tape-text {
        font-size: 3.5vw;
        /* Slightly smaller text */
        letter-spacing: 2px;
    }

    /* Section Spacing Fix */
    section {
        padding: 3rem 0 !important;
        /* Reduced from 8rem default */
    }

    #cursor {
        display: none !important;
    }

    /* Footer Fixes */
    footer {
        padding: 2rem 1rem;
        /* Compact footer */
        text-align: center;
        overflow: hidden;
    }

    footer .footer-logo-container {
        flex-direction: column;
        gap: 1rem;
    }

    footer p {
        font-size: 0.8rem;
        line-height: 1.5;
        padding: 0 10px;
        word-wrap: break-word;
    }

    /* Remove Get Quote from Footer in Mobile as requested */
    footer .cta-btn {
        display: none !important;
    }

    /* Mobile Menu Full Width Fix */
    .nav-menu {
        width: 100vw;
        right: 0;
        left: 0;
        padding: 0;
        margin: 0;
    }

    /* Fix scrolling text height on mobile to prevent wrapping */
    #service-areas .scrolling-text-container {
        height: 25px !important;
        /* Forced half height */
        padding: 0 10px !important;
    }

    #service-areas .scrolling-text span {
        font-size: 0.7rem !important;
        /* Drastically reduced font size */
        margin: 0 1rem !important;
    }
}

/* Extra small device optimizations */
@media (max-width: 480px) {

    h1,
    .hero h1 {
        font-size: 11vw !important;
    }

    .logo-text .nav-logo {
        height: 10vw !important;
    }

    .tape-wrapper {
        bottom: 8vh;
    }

    /* --- COMPACT LOCATION CARDS FOR MOBILE --- */
    .locations-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        /* Keep 2 columns */
        gap: 8px !important;
        padding: 0 5px !important;
    }

    .location-card {
        padding: 0.8rem 0.3rem !important;
        /* Drastically reduced padding (1/4th size) */
        border-radius: 6px !important;
    }

    .pin-icon {
        font-size: 1rem !important;
        /* Smaller pin */
        margin-bottom: 0.3rem !important;
    }

    .location-card h3 {
        font-size: 0.75rem !important;
        /* Tiny font to fit single line */
        margin-bottom: 0.3rem !important;
        white-space: nowrap !important;
        /* Force single line */
        letter-spacing: 0 !important;
    }

    .loc-status {
        font-size: 0.45rem !important;
        /* Micro status text */
        padding: 0.2rem 0.4rem !important;
        gap: 3px !important;
        white-space: nowrap !important;
    }

    .pulse {
        width: 4px !important;
        height: 4px !important;
    }
}