/* Custom CSS for Wash Zone */
:root {
    --primary-color: #ff003c; /* Neon red highlight */
    --primary-dark: #cc0030;
    --bg-dark: #0a0a0a;
    --bg-card: #151515;
    --text-main: #f0f0f0;
    --text-muted: #a0a0a0;
    --border-color: #333333;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-main: 'Poppins', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.highlight {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 0, 60, 0.4);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-main);
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 0, 60, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(255, 0, 60, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 0, 60, 0.3);
    transform: translateY(-2px);
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

nav.scrolled {
    padding: 10px 0;
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

#nav-logo {
    height: 40px;
    width: auto;
    border-radius: 5px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    box-shadow: 0 0 5px var(--primary-color);
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary-color);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 60px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 0, 60, 0.25) 0%, rgba(10, 10, 10, 0.7) 100%);
}

.hero-bg img, .hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.6) 50%, rgba(10,10,10,0.4) 100%);
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: linear-gradient(rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.95)), url('https://images.unsplash.com/photo-1520340356584-f9917d1eea6f?auto=format&fit=crop&w=1920&q=80') center/cover fixed;
}

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

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.02);
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 0, 60, 0.1);
}

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

.icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(255, 0, 60, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-video-container {
    width: 100%;
    height: 160px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.service-video-container video,
.service-video-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card:hover .icon-wrapper {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 20px rgba(255, 0, 60, 0.4);
}

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

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: linear-gradient(rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.95)), url('https://images.unsplash.com/photo-1601362840469-51e4d8d58785?auto=format&fit=crop&w=1920&q=80') center/cover fixed;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 0, 60, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-overlay i {
    color: #fff;
    font-size: 3rem;
    transform: scale(0);
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Booking Section */
.booking {
    padding: 100px 0;
    background: linear-gradient(rgba(10, 10, 10, 0.75), rgba(10, 10, 10, 0.95)), url('assets/images/booking_bg.png') center/cover fixed;
}

.booking-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(25px);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8), 0 0 30px rgba(255, 0, 60, 0.15);
    border: 1px solid rgba(255, 0, 60, 0.2);
}

.booking-info {
    flex: 1;
    min-width: 300px;
    padding: 60px 50px;
    background: url('https://images.unsplash.com/photo-1549399542-7e3f8b79c341?q=80&w=800&auto=format&fit=crop') center/cover;
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.booking-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.85);
}

.booking-info > * {
    position: relative;
    z-index: 1;
}

.booking-info h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.booking-info p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.contact-hints {
    list-style: none;
}

.contact-hints li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-hints li i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.booking-form-container {
    flex: 1.2;
    min-width: 350px;
    padding: 50px;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    position: relative;
    width: 100%;
}

.form-group.half {
    width: 50%;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    padding-left: 50px;
    border-radius: 12px;
    color: var(--text-main);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group select option {
    background-color: var(--bg-card);
    color: var(--text-main);
}

.form-group input[type="date"],
.form-group input[type="time"] {
    padding-left: 20px;
}

/* Hide default calendar icon on webkit to look cleaner or style it */
::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.5;
    cursor: pointer;
}

.form-group textarea {
    padding-left: 20px;
    resize: vertical;
}

.form-group i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    transition: var(--transition);
}

.form-group textarea + i {
    top: 25px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 0, 60, 0.03);
    box-shadow: 0 0 15px rgba(255, 0, 60, 0.3);
}

.form-group input:focus + i,
.form-group select:focus + i {
    color: var(--primary-color);
}

.full-width {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 10px;
}

.form-message {
    text-align: center;
    margin-top: 15px;
    font-weight: 500;
}

.form-message.success {
    color: #00e676;
}

.form-message.error {
    color: #ff1744;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(rgba(10, 10, 10, 0.95), rgba(10, 10, 10, 0.95)), url('https://images.unsplash.com/photo-1605559424843-9e4c228bf1c2?auto=format&fit=crop&w=1920&q=80') center/cover fixed;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.contact p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
}

.btn-whatsapp:hover {
    background: #1ebe57;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: #fff;
}

.btn-call {
    background: #007bff;
    color: #fff;
}

.btn-call:hover {
    background: #0069d9;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    color: #fff;
}

.contact-actions .btn {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    padding: 15px 35px;
}

/* Footer */
footer {
    background: #050505;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards cubic-bezier(0.25, 0.8, 0.25, 1);
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

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

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Time Slots */
.time-slots-group {
    margin-bottom: 25px;
}

.time-label {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.time-label i {
    color: var(--primary-color);
    margin-right: 8px;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
}

.time-slot {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
    font-size: 0.9rem;
}

.time-slot:hover {
    background: rgba(255, 0, 60, 0.1);
    border-color: var(--primary-color);
}

.time-slot.selected {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 0, 60, 0.5);
}

.time-slot.disabled {
    background: rgba(255, 255, 255, 0.01);
    border-color: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .booking-wrapper { flex-direction: column; }
    .form-row { flex-direction: column; gap: 20px; }
    .form-group.half { width: 100%; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(15, 15, 15, 0.98);
        width: 100%;
        text-align: center;
        padding: 30px 0;
        transition: 0.4s;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }
    .nav-links.active { right: 0; }
    .nav-links li { margin: 15px 0; }
    .hamburger { display: block; }
    .hero h1 { font-size: 2.5rem; }
    .booking-info, .booking-form-container { padding: 30px 20px; }
}

/* Brand Modal */
.brand-select-btn {
    width: 100%;
    padding: 15px 20px;
    padding-left: 50px;
    text-align: left;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-muted);
    font-family: var(--font-main);
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
}

.brand-select-btn.selected {
    color: var(--text-main);
    border-color: var(--primary-color);
}

.brand-select-btn i {
    position: absolute;
    left: 20px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(5px);
    overflow: auto;
}

.modal-content {
    background-color: var(--bg-card);
    margin: 5% auto;
    padding: 40px;
    border: 1px solid rgba(255, 0, 60, 0.2);
    width: 90%;
    max-width: 800px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    position: relative;
}

.close-modal {
    color: var(--text-muted);
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

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

.modal-content h2 {
    margin-bottom: 30px;
    text-align: center;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

/* Custom Scrollbar for Brand Grid */
.brand-grid::-webkit-scrollbar {
    width: 8px;
}
.brand-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05); 
    border-radius: 4px;
}
.brand-grid::-webkit-scrollbar-thumb {
    background: var(--primary-color); 
    border-radius: 4px;
}

.brand-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.brand-item i {
    font-size: 2rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.brand-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
    transition: var(--transition);
    filter: brightness(0.9);
}

.brand-item span {
    font-weight: 500;
    font-size: 0.9rem;
}

.brand-item:hover {
    background: rgba(255, 0, 60, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.brand-item:hover i {
    color: var(--primary-color);
}

/* Loading effect */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 0, 60, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* RTL Support */
body.rtl-mode {
    direction: rtl;
    text-align: right;
}

body.rtl-mode .nav-links li a::after {
    left: auto;
    right: 0;
}

body.rtl-mode .form-group i {
    left: auto;
    right: 20px;
}

body.rtl-mode .form-group input,
body.rtl-mode .form-group select,
body.rtl-mode .form-group textarea,
body.rtl-mode .brand-select-btn {
    padding-left: 20px;
    padding-right: 50px;
    text-align: right;
}

body.rtl-mode .close-modal {
    right: auto;
    left: 30px;
}

body.rtl-mode .service-card::before {
    transform-origin: right;
}

body.rtl-mode .contact-hints li {
    flex-direction: row;
}

body.rtl-mode .time-label i {
    margin-right: 0;
    margin-left: 8px;
}

body.rtl-mode #langToggle {
    margin-left: 0 !important;
    margin-right: 15px !important;
}

/* Moving Realistic Car Background Animation */
.moving-car-container {
    position: fixed;
    top: 50%;
    left: -50%;
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
    animation: driveAcrossRealistic 30s linear infinite;
    white-space: nowrap;
    opacity: 0.15; /* Transparent to blend as watermark */
    mix-blend-mode: screen; /* Removes solid black background */
}

.moving-car-wrapper {
    position: relative;
    display: inline-block;
    width: 600px;
}

.moving-car-img {
    width: 100%;
    height: auto;
    display: block;
}

.moving-car-logo {
    position: absolute;
    top: 45%;
    left: 45%; /* Centered on the side door */
    transform: translate(-50%, -50%);
    font-family: var(--font-main);
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 0, 60, 0.8), 0 0 20px rgba(255, 0, 60, 0.5);
    letter-spacing: 2px;
    z-index: 1;
    pointer-events: none;
    animation: flipText 30s linear infinite;
}

@keyframes driveAcrossRealistic {
    0% {
        left: -50%;
        transform: translateY(-50%) scaleX(-1);
    }
    49.9% {
        left: 150%;
        transform: translateY(-50%) scaleX(-1);
    }
    50% {
        left: 150%;
        transform: translateY(-50%) scaleX(1);
    }
    100% {
        left: -50%;
        transform: translateY(-50%) scaleX(1);
    }
}

@keyframes flipText {
    0%, 49.9% {
        transform: translate(-50%, -50%) scaleX(-1);
    }
    50%, 100% {
        transform: translate(-50%, -50%) scaleX(1);
    }
}

.moving-car-wheel {
    position: absolute;
    width: 15.5%;
    bottom: 15%;
    border-radius: 50%;
    z-index: 2;
    animation: spinTire 0.8s linear infinite;
    mix-blend-mode: multiply; /* Removes the solid white background of the wheel image */
}

.wheel-front {
    right: 16%;
}

.wheel-back {
    left: 16.5%;
}

@keyframes spinTire {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}


