/* ============================================
   PIT STOP SERVICE - MAIN STYLESHEET
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --primary: #E63946;
    --primary-dark: #B71C1C;
    --primary-light: #FF6B6B;
    --secondary: #1D3557;
    --secondary-light: #264573;
    --accent: #F4A261;
    --accent-dark: #E08C3B;
    --bg-light: #F8F9FA;
    --bg-dark: #0D1117;
    --bg-white: #FFFFFF;
    --text-primary: #212529;
    --text-light: #FFFFFF;
    --text-muted: #6C757D;
    --text-dark-muted: #ADB5BD;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --navbar-height: 70px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--navbar-height);
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1:focus {
    outline: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* --- Loading Screen --- */
.loading-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: linear-gradient(135deg, #0D1117 0%, #1D3557 100%);
    color: #FFFFFF;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

/* Road animation */
.loading-road {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #2a2a2a;
    border-top: 3px solid #444;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 2rem;
    overflow: hidden;
}

.road-line {
    width: 40px;
    height: 4px;
    background: #F4A261;
    border-radius: 2px;
    animation: roadMove 1s linear infinite;
}

.road-line:nth-child(2) { animation-delay: 0.2s; }
.road-line:nth-child(3) { animation-delay: 0.4s; }
.road-line:nth-child(4) { animation-delay: 0.6s; }
.road-line:nth-child(5) { animation-delay: 0.8s; }

@keyframes roadMove {
    0% { transform: translateX(100vw); }
    100% { transform: translateX(-100vw); }
}

/* Car */
.loading-car {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    animation: carBounce 0.5s ease-in-out infinite alternate;
}

.loading-car svg {
    width: 120px;
    height: 40px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.loading-car svg circle:nth-child(4),
.loading-car svg circle:nth-child(7) {
    animation: wheelSpin 0.4s linear infinite;
    transform-origin: center;
}

.car-shadow {
    width: 100px;
    height: 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    margin: 2px auto 0;
    animation: shadowPulse 0.5s ease-in-out infinite alternate;
}

@keyframes carBounce {
    0% { transform: translateX(-50%) translateY(0); }
    100% { transform: translateX(-50%) translateY(-3px); }
}

@keyframes shadowPulse {
    0% { transform: scaleX(1); opacity: 0.3; }
    100% { transform: scaleX(0.9); opacity: 0.2; }
}

@keyframes wheelSpin {
    to { transform: rotate(360deg); }
}

/* Text */
.loading-text {
    text-align: center;
    margin-bottom: 3rem;
}

.loading-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    color: #FFFFFF;
}

.loading-text span {
    color: #ADB5BD;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.loading-dots::after {
    content: '';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0% { content: ''; }
    25% { content: '.'; }
    50% { content: '..'; }
    75% { content: '...'; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Section Base --- */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header .accent-line {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto 1rem;
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn-outline:hover {
    background: var(--text-light);
    color: var(--secondary);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--text-light);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--secondary-light);
    border-color: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--navbar-height);
    display: flex;
    align-items: center;
    transition: all var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar-brand .brand-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.navbar-brand span {
    color: var(--primary);
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar-links a {
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 0.25rem 0;
}

.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition);
}

.navbar-links a:hover {
    color: var(--text-light);
}

.navbar-links a:hover::after {
    width: 100%;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
    z-index: 1001;
}

.hamburger span {
    width: 26px;
    height: 2.5px;
    background: var(--text-light);
    border-radius: 2px;
    transition: all var(--transition);
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu - separate from navbar */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    height: 100dvh;
    background: var(--bg-white);
    z-index: 999;
    padding: 100px 1.5rem 1.5rem;
    transition: right var(--transition);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    display: block;
    padding: 0.875rem 0;
    color: var(--secondary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: color var(--transition);
}

.mobile-menu a:hover {
    color: var(--primary);
}

.mobile-social {
    width: 48px;
    height: 48px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--text-light) !important;
    border-radius: var(--radius-sm);
    font-size: 1.25rem;
    margin-top: 1.5rem;
    border-bottom: none !important;
}

.mobile-social:hover {
    background: var(--primary-dark);
    color: var(--text-light) !important;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(13, 17, 23, 0.85) 0%, rgba(29, 53, 87, 0.8) 100%),
                url('https://images.unsplash.com/photo-1487754180451-c456f719a1fc?w=1920&q=80') center/cover no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--bg-white), transparent);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 700px;
    padding-top: var(--navbar-height);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(230, 57, 70, 0.15);
    border: 1px solid rgba(230, 57, 70, 0.3);
    color: var(--primary-light);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-light);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero h1 .highlight {
    color: var(--primary);
    display: block;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2.5rem;
    max-width: 550px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-info {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.hero-info-item i {
    font-size: 1.25rem;
    color: var(--primary);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.about-image-badge {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: var(--primary);
    color: var(--text-light);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
}

.about-image-badge .number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.about-image-badge .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.about-text h2 {
    font-size: 2.25rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.about-text .accent-line {
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}

.about-feature:hover {
    background: var(--bg-light);
}

.about-feature i {
    font-size: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
}

.about-feature span {
    font-weight: 500;
    font-size: 0.95rem;
}

/* --- Stats / Counters --- */
.stats-section {
    background: var(--secondary);
    padding: 3.5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    color: var(--text-light);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1), rgba(230, 57, 70, 0.05));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.75rem;
    color: var(--primary);
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--text-light);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================
   WHY US SECTION
   ============================================ */
.why-us {
    background: var(--bg-white);
    position: relative;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.why-us-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    border: 2px solid transparent;
}

.why-us-card:hover {
    border-color: rgba(230, 57, 70, 0.15);
    background: var(--bg-light);
}

.why-us-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--text-light);
    box-shadow: 0 8px 24px rgba(230, 57, 70, 0.3);
}

.why-us-card h3 {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.why-us-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Car Brands Bar --- */
.brands-bar {
    background: var(--bg-light);
    padding: 3rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.brands-bar .container {
    text-align: center;
}

.brands-bar p {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.brands-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-muted);
    opacity: 0.5;
}

.brands-list span {
    transition: opacity var(--transition);
}

.brands-list span:hover {
    opacity: 1;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery {
    background: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 17, 23, 0.7), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.lightbox-close {
    position: absolute;
    top: -3rem;
    right: 0;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.contact-info > p {
    color: var(--text-muted);
    line-height: 1.7;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    background: var(--bg-light);
    transition: all var(--transition);
}

.contact-item:hover {
    background: rgba(230, 57, 70, 0.05);
    transform: translateX(4px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text-light);
    flex-shrink: 0;
}

.contact-item-content h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.contact-item-content p {
    font-size: 1rem;
    color: var(--secondary);
    font-weight: 500;
}

.contact-item-content a {
    color: var(--secondary);
    font-weight: 500;
}

.contact-item-content a:hover {
    color: var(--primary);
}

/* Hours Table */
.hours-table {
    width: 100%;
    margin-top: 0.5rem;
}

.hours-table tr {
    display: flex;
    justify-content: space-between;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.hours-table tr:last-child {
    border-bottom: none;
}

.hours-table td:first-child {
    color: var(--secondary);
    font-weight: 500;
}

.hours-table td:last-child {
    color: var(--text-muted);
}

.hours-closed {
    color: var(--primary) !important;
    font-weight: 600 !important;
}

/* Map */
.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 100%;
    min-height: 450px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
    border: 0;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--secondary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.25rem;
    transition: all var(--transition);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.footer-brand h3 span {
    color: var(--primary);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-col ul li a i {
    margin-right: 0.5rem;
    color: var(--primary);
    font-size: 0.8rem;
}

.footer-bottom {
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
}

.footer-bottom a {
    color: var(--primary);
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 999;
    border: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    box-shadow: 0 4px 16px rgba(230, 57, 70, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.slide-left {
    transform: translateX(-30px);
}

.animate-on-scroll.slide-left.visible {
    transform: translateX(0);
}

.animate-on-scroll.slide-right {
    transform: translateX(30px);
}

.animate-on-scroll.slide-right.visible {
    transform: translateX(0);
}

/* Staggered animation delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
.delay-7 { transition-delay: 0.7s; }
.delay-8 { transition-delay: 0.8s; }

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet and below */
@media (max-width: 1024px) {
    .navbar-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-image {
        order: -1;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 640px) {
    :root {
        --navbar-height: 70px;
    }

    .section {
        padding: 3.5rem 0;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .hero {
        min-height: 100svh;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        text-align: center;
        justify-content: center;
    }

    .hero-info {
        flex-direction: column;
        gap: 1rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .about-text h2 {
        font-size: 1.75rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-number {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .brands-list {
        gap: 1.5rem;
        font-size: 0.9rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* ============================================
   BLAZOR ERROR UI
   ============================================ */
#blazor-error-ui {
    background: var(--primary);
    color: var(--text-light);
    padding: 0.75rem;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    text-align: center;
    display: none;
}

#blazor-error-ui .reload {
    color: var(--text-light);
    text-decoration: underline;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    margin-left: 1rem;
}

/* --- Mobile menu overlay --- */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}
