:root {
    /* Premium Dark Palette */
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --bg-card-hover: #1c1c1c;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent: #D32F2F;
    /* Automotive Red */
    --accent-glow: rgba(211, 47, 47, 0.4);
    --border-color: #333333;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --header-height: 100px;
    /* Increased header height */

    /* Transitions */
    --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography Utilities */
.text-accent {
    color: var(--accent);
}

.text-secondary {
    color: var(--text-secondary);
}

.text-center {
    text-align: center;
}

.uppercase {
    text-transform: uppercase;
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--accent);
    color: white;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--accent-glow);
    background-color: #b71c1c;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--accent);
    background-color: rgba(211, 47, 47, 0.1);
}

/* Header */
header {
    background-color: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: all 0.4s var(--ease-out);
}

header.scrolled {
    background-color: rgba(6, 6, 6, 0.98);
    height: 70px;
    /* Slightly smaller on scroll but still good */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

header.scrolled .logo {
    height: 55px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    height: 80px !important;
    /* Force growth */
    text-decoration: none;
    transition: height 0.3s var(--ease-out);
}

.logo img {
    height: 100% !important;
    width: auto !important;
    max-width: 350px !important;
    object-fit: contain;
    transition: transform 0.3s var(--ease-out);
}

.logo:hover img {
    transform: scale(1.02);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
    background-color: rgba(255, 255, 255, 0.05);
}

.nav-links a.btn-sm {
    background-color: var(--accent);
    color: white;
    opacity: 1;
    margin-left: 10px;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.nav-links a.btn-sm:hover {
    background-color: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/slider.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--header-height);
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--bg-card);
    padding: 40px;
    border: 1px solid var(--border-color);
    transition: all 0.3s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    background-color: var(--bg-card-hover);
    border-color: var(--accent);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

/* Features/Trust Section */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.trust-item {
    display: flex;
    gap: 20px;
}

.trust-item i {
    font-size: 2rem;
    color: var(--text-secondary);
}

/* Comparison / Gallery */
.before-after {
    position: relative;
    height: 400px;
    overflow: hidden;
    background-color: var(--bg-card);
}

/* Footer */
footer {
    background-color: #050505;
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h4 {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: white;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--bg-dark);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .mobile-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-out);
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    color: white;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 80px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }

    .logo {
        height: 38px;
    }

    .logo img {
        max-width: 220px;
    }
}

/* Footer Logo Adjustment */
footer .logo {
    height: 40px;
    margin-bottom: 20px;
}

footer .logo img {
    height: 100%;
    max-width: 180px;
}