@charset "utf-8";
/* CSS Document */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap');

:root {
    --primary: #0a0a0a;
    --secondary: #1f1f1f;
    --accent: #00adef; /* Premium Electric Blue accent */
    --silver: #bcc6cc;
    --text-light: #ffffff;
    --text-dark: #aaaaaa;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: var(--primary);
    color: var(--text-light);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header & Navigation */
header {
    background-color: rgba(10, 10, 10, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #222;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

/* Mercedes Logo Image in Navigation */
.logo a {
    display: flex;
    align-items: center;
}

.nav-logo-img {
    max-height: 45px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--silver);
    border-bottom: 2px solid var(--text-light);
    padding-bottom: 5px;
}

/* Full Hero Carousel Section */
.hero-carousel-container {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    background-color: #000;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    z-index: 5;
    background: radial-gradient(circle, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
}

.hero-overlay h1 {
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.hero-overlay p {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 30px;
    letter-spacing: 1px;
}

/* Hero Arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.hero-arrow:hover {
    background-color: var(--text-light);
    color: var(--primary);
}

.hero-prev {
    left: 20px;
}

.hero-next {
    right: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 35px;
    background-color: var(--text-light);
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn:hover {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--text-light);
}

/* Main Layout Containers */
.section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 32px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background-color: var(--silver);
    margin: 15px auto 0;
}

/* Slider Layout Controls */
.slider-wrapper {
    position: relative;
    width: 100%;
    padding: 0 40px;
}

.car-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    scrollbar-width: none;
}

.car-slider::-webkit-scrollbar {
    display: none;
}

/* Uniform Fleet Dimensions */
.car-card {
    flex: 0 0 320px;
    height: 460px;
    display: flex;
    flex-direction: column;
    background-color: var(--secondary);
    border: 1px solid #222;
    transition: var(--transition);
}

.car-card:hover {
    transform: translateY(-5px);
    border-color: #444;
}

.car-img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.car-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.car-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.car-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-light);
}

.car-info p {
    color: var(--text-dark);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.car-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--silver);
    margin-top: auto;
}

/* Slider Arrow Buttons */
.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background-color: rgba(31, 31, 31, 0.8);
    border: 1px solid #333;
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.slide-arrow:hover {
    background-color: var(--text-light);
    color: var(--primary);
    border-color: var(--text-light);
}

.prev-arrow {
    left: -15px;
}

.next-arrow {
    right: -15px;
}

/* Footer */
footer {
    background-color: #050505;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid #111;
    font-size: 13px;
    color: var(--text-dark);
    letter-spacing: 1px;
}

/* Mobile Responsive Adjustments */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--primary);
        padding: 20px;
        border-bottom: 1px solid #222;
        box-shadow: 0 10px 15px rgba(0,0,0,0.5);
    }
    .nav-links.active {
        display: flex;
    }
    .slider-wrapper {
        padding: 0 10px;
    }
    .slide-arrow, .hero-arrow {
        display: none;
    }
    .hero-overlay h1 {
        font-size: 32px;
    }
}