:root {
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: #151515;
    --primary-red: #dc2626;
    --primary-red-hover: #b91c1c;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --glow-red: rgba(220, 38, 38, 0.3);
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

.text-red {
    color: var(--primary-red);
}

/* Typography */
h1, h2, h3 {
    font-weight: 800;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-red);
    color: white;
    box-shadow: 0 4px 15px var(--glow-red);
}

.btn-primary:hover {
    background-color: var(--primary-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
}

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

.btn-outline:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
    transform: translateY(-2px);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #222;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-red);
}

/* Hamburger Menu Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    z-index: 1100;
    position: relative;
}

.menu-toggle .bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

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

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    padding-top: 80px;
    background: radial-gradient(circle at center, var(--bg-card) 0%, var(--bg-darker) 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.headline {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeUp 1s ease forwards;
    opacity: 0;
}

.subheadline {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    animation: fadeUp 1s ease 0.2s forwards;
    opacity: 0;
}

.cta-group {
    display: flex;
    gap: 1rem;
    animation: fadeUp 1s ease 0.4s forwards;
    opacity: 0;
}

/* Hero Animation */
.hero-animation {
    flex: 1;
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.animated-car {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px var(--glow-red));
    transform: translateX(100%);
    opacity: 0;
    transition: transform 1s ease-out, opacity 1s ease-out;
}

.animated-car.loaded {
    transform: translateX(0);
    opacity: 1;
    animation: floatCar 3s ease-in-out infinite alternate;
}

.road-lines {
    position: absolute;
    bottom: 50px;
    width: 150%;
    height: 4px;
    background: repeating-linear-gradient(90deg, var(--text-muted) 0, var(--text-muted) 40px, transparent 40px, transparent 80px);
    opacity: 0.2;
    animation: moveLines 2s linear infinite;
    transform: perspective(500px) rotateX(60deg);
}

/* Services */
.services {
    padding: 6rem 5%;
    background-color: var(--bg-dark);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

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

.service-card {
    background-color: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border: 1px solid #222;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-color: #333;
}

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

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-red);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Booking */
.booking {
    padding: 6rem 5%;
    background-color: var(--bg-darker);
    display: flex;
    justify-content: center;
}

.booking-container {
    background-color: var(--bg-card);
    padding: 4rem;
    border-radius: 16px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
    border: 1px solid #222;
}

.booking-desc {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    background-color: var(--bg-dark);
    border: 1px solid #333;
    border-radius: 6px;
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 2px var(--glow-red);
}

/* Footer */
.footer {
    background-color: #000;
    padding: 4rem 5% 2rem;
    border-top: 1px solid #222;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
    max-width: 300px;
}

.footer-contact h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    padding-top: 2rem;
    border-top: 1px solid #222;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatCar {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-10px);
    }
}

@keyframes moveLines {
    from {
        background-position: 0 0;
    }
    to {
        background-position: -80px 0;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }

    .cta-group {
        justify-content: center;
    }

    .hero-animation {
        width: 100%;
        margin-top: 3rem;
    }

    .headline {
        font-size: 2.5rem;
    }
    
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(5, 5, 5, 0.97);
        backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        z-index: 1050;
        animation: none;
    }

    .nav-links.nav-open {
        display: flex;
        animation: navFadeIn 0.3s ease forwards;
    }

    .nav-links li a {
        font-size: 1.6rem;
        font-weight: 700;
        letter-spacing: 1px;
    }

    @keyframes navFadeIn {
        from { opacity: 0; transform: translateY(-20px); }
        to   { opacity: 1; transform: translateY(0); }
    }
    
    .booking-container {
        padding: 2rem;
    }
}

/* Admin Visibility Controls */
.admin-only {
    display: none !important;
}

body.admin-logged-in .admin-only {
    display: block !important;
}

body.admin-logged-in .admin-only.inline {
    display: inline-block !important;
}

body.admin-logged-in .admin-only.flex {
    display: flex !important;
}

/* Animation Upgrades */
.btn {
    position: relative;
    overflow: hidden;
}
.ripple-effect {
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    pointer-events: none;
    border-radius: 50%;
    animation: animateRipple 0.6s linear;
}
@keyframes animateRipple {
    0% { width: 0px; height: 0px; opacity: 0.5; }
    100% { width: 500px; height: 500px; opacity: 0; }
}
