/* 
    Design System for Auto Services Website
    Theme: Dark Premium
    Colors: #050505 (BG), #121212 (Surface), #FF2200 (Accent Red), #FF6A00 (Accent Orange)
*/

:root {
    /* Colors */
    --bg-color: #050505;
    --surface-color: #121212;
    --accent-red: #FF2200;
    --accent-orange: #FF6A00;
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B0;
    --glow-red: 0 0 15px rgba(255, 34, 0, 0.5);
    --glow-orange: 0 0 15px rgba(255, 106, 0, 0.5);

    /* Typography */
    --heading-font: 'Unbounded', sans-serif;
    --body-font: 'Montserrat', sans-serif;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--body-font);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

/* Global Layout Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.text-accent {
    color: var(--accent-red);
}

/* Glassmorphism Panel */
.panel {
    background: var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 45px;
    width: auto;
    display: block;
    transition: var(--transition-smooth);
}

header.scrolled .logo img {
    height: 35px;
}

.footer-logo img {
    height: 35px;
    margin-bottom: 20px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links li a {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--text-primary);
    text-shadow: var(--glow-red);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
    order: 3;
}

.nav-phone {
    border: 2px solid var(--accent-red);
    color: var(--text-primary);
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.nav-phone:hover {
    background: var(--accent-red);
    box-shadow: var(--glow-red);
    color: white;
}

.nav-cta {
    background: var(--accent-red);
    color: white;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    box-shadow: var(--glow-red);
}

.nav-cta:hover {
    transform: translateY(-2px);
    background: var(--accent-orange);
    box-shadow: var(--glow-orange);
}

/* Hero Sections */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.inner-hero {
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-position: center;
    margin-top: 80px;
}

.inner-hero h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 110%;
    /* Slightly larger for the blur */
    height: 110%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.35) blur(3px);
    transform: translate(-2%, -2%);
    /* Prevent edge artifacts */
}

.hero-content {
    max-width: 800px;
    padding: 0 40px;
}

.hero-content h1 {
    font-size: clamp(2rem, 6vw, 3.8rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: var(--heading-font);
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: var(--accent-red);
    color: white;
    box-shadow: var(--glow-red);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--text-primary);
    color: var(--text-primary);
    margin-left: 20px;
}

.btn:hover {
    transform: scale(1.05);
}

/* Booking Form Section */
.booking-section {
    background: #080808;
    position: relative;
}

.booking-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.booking-form-wrapper {
    background: var(--surface-color);
    padding: 50px;
    border-radius: 15px;
    border: 1px solid rgba(255, 34, 0, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 0.8rem;
}

.form-control {
    width: 100%;
    padding: 15px;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 5px;
    font-family: var(--body-font);
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-red);
    background: #222;
}

/* Custom Select Styling */
.custom-select-wrapper {
    position: relative;
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.custom-select-wrapper::after {
    content: '\25BE';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-red);
    pointer-events: none;
    font-size: 1.2rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--surface-color);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-red);
    box-shadow: 0 15px 30px rgba(255, 34, 0, 0.1);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Footer */
footer {
    background: #020202;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--accent-red);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 40px;
    height: 40px;
    background: var(--surface-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.social-btn:hover {
    background: var(--accent-red);
    box-shadow: var(--glow-red);
}

.copyright {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.copyright-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.copyright-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.copyright-right a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: var(--transition-smooth);
    line-height: normal;
}

.copyright-right a:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .copyright-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Responsive */
.hero-list li {
    margin-bottom: 12px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-list i {
    font-size: 1.2rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0.8;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-secondary);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-red);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0% {
        transform: translate(-50%, 0);
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

.arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.arrows span {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid var(--text-secondary);
    border-right: 2px solid var(--text-secondary);
    transform: rotate(45deg);
    margin: -3px;
    animation: scroll-arrows 2s infinite;
}

.arrows span:nth-child(2) {
    animation-delay: 0.3s;
}

@keyframes scroll-arrows {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-5px, -5px);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: rotate(45deg) translate(5px, 5px);
    }
}

/* GPS & Features Core Styles */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
}

.feature-list {
    list-style: none;
    margin: 25px 0;
}

.feature-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.feature-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-red);
}

.demo-box {
    background: linear-gradient(145deg, var(--surface-color), #0a0a0a);
    border: 2px dashed rgba(255, 34, 0, 0.3);
    padding: 60px;
    border-radius: 12px;
    text-align: center;
    margin-top: 60px;
}

.demo-creds {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 25px;
    border-radius: 6px;
    margin: 10px;
    font-family: var(--heading-font);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .container {
        padding: 0 30px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-row {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition-smooth);
        z-index: 1001;
        display: flex;
        padding: 40px;
        gap: 0;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-logo {
        width: 150px;
        margin-bottom: 40px;
        display: block;
    }

    .close-menu {
        position: absolute;
        top: 30px;
        right: 30px;
        font-size: 2rem;
        color: var(--text-primary);
        cursor: pointer;
    }

    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.8rem;
        font-family: var(--heading-font);
        display: block;
        padding: 8px 0;
    }

    .mobile-info {
        margin-top: 40px;
        text-align: center;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 30px;
        width: 100%;
    }

    .mobile-info p {
        margin-bottom: 12px;
        color: var(--text-secondary);
        font-size: 0.95rem;
    }

    .mobile-info i {
        color: var(--accent-red);
        margin-right: 10px;
    }

    /* Header adjustments */
    .nav-cta {
        display: none !important;
    }

    .nav-actions {
        order: 2;
        margin-left: auto;
        margin-right: 20px;
    }

    .nav-phone {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .hero-content {
        padding: 0 10px;
        text-align: center;
        margin: 0 auto;
        max-width: 100%;
        width: 100%;
    }

    .hero-content h1 {
        font-size: clamp(1.5rem, 8vw, 2rem);
        margin: 0 auto 15px !important;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 0.95rem;
        margin: 0 auto 25px;
        max-width: 100%;
    }

    /* Forced Stacking for ALL Grids */
    .footer-grid,
    .booking-container,
    .feature-row,
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }

    .footer-col {
        padding-right: 0 !important;
    }
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
}