/* ===================================
   TopChoice-Auto - Premium Auto Website Stylesheet
   Brand: Modern, Clean, Automotive Luxury
   =================================== */

/* CSS Variables - Automotive Color Palette */
:root {
    --primary-color: #C41E3A;        /* Premium Red - Main brand color */
    --primary-light: #E02850;        /* Lighter red */
    --primary-dark: #8B1528;         /* Darker red */
    --accent-color: #FF3D5A;         /* Bright Red - Accent/CTA */
    --accent-hover: #E52A45;         /* Darker bright red */
    --text-dark: #0A0A0A;            /* Near black */
    --text-medium: #333333;          /* Dark gray */
    --text-light: #666666;           /* Medium gray */
    --text-muted: #999999;           /* Light gray */
    --bg-white: #FFFFFF;             /* Pure white */
    --bg-light: #F8F9FA;             /* Off-white */
    --bg-gray: #E9ECEF;              /* Light gray */
    --border-color: #DEE2E6;         /* Border gray */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 8px;
    --border-radius-lg: 12px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

/* Buttons - Automotive Style */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: white;
    box-shadow: 0 4px 12px rgba(227, 24, 55, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--accent-hover), var(--accent-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 24, 55, 0.4);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #1EBE57);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #1EBE57, #25D366);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-full {
    width: 100%;
}

.btn-large {
    padding: 16px 40px;
    font-size: 16px;
}

/* ===================================
   Navigation - Premium Auto Style
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav-logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-weight: 600;
    color: var(--text-medium);
    font-size: 15px;
    position: relative;
    padding: 8px 0;
}

.nav-link:hover {
    color: var(--primary-color);
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Search Bar */
.nav-search {
    position: relative;
    flex: 1;
    max-width: 400px;
    margin: 0 20px;
}

.search-box {
    display: flex;
    background: var(--bg-light);
    border-radius: 24px;
    border: 2px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
}

.search-box:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(196, 30, 58, 0.1);
}

.search-box input {
    flex: 1;
    padding: 10px 18px;
    border: none;
    background: transparent;
    font-size: 14px;
    font-family: inherit;
    outline: none;
}

.search-box button {
    padding: 10px 16px;
    background: var(--primary-color);
    border: none;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    background: var(--primary-light);
}

.search-results {
    position: absolute;
    top: 100%;
    right: 0;
    width: 400px;
    max-height: 400px;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    overflow-y: auto;
    display: none;
    z-index: 1001;
    margin-top: 8px;
}

.search-result-item {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: var(--bg-light);
}

.search-result-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.search-result-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.search-result-info p {
    font-size: 12px;
    color: var(--text-muted);
}

.search-no-results {
    padding: 20px;
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 6px;
}

.lang-btn {
    padding: 8px 14px;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
    color: var(--text-medium);
}

.lang-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.lang-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dark);
}

/* ===================================
   Hero Section - Automotive Luxury
   =================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    overflow: hidden;
}

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

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 21, 40, 0.85) 0%, rgba(196, 30, 58, 0.75) 50%, rgba(139, 21, 40, 0.85) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 0 24px;
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -3px;
    line-height: 1.1;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--bg-white);
    letter-spacing: 1px;
}

.hero-desc {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.hero-scroll a {
    color: white;
    font-size: 28px;
    opacity: 0.8;
    transition: var(--transition);
}

.hero-scroll a:hover {
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-12px);
    }
    60% {
        transform: translateX(-50%) translateY(-6px);
    }
}

/* ===================================
   Features Section
   =================================== */
.features {
    padding: 120px 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.feature-card {
    background: white;
    padding: 40px 32px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    color: white;
    font-size: 32px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 14px;
    color: var(--text-dark);
    font-weight: 700;
}

.feature-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
}

/* ===================================
   Brands Section
   =================================== */
.brands {
    padding: 60px 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
}

/* Brands Slider */
.brands-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
}

.brands-slider {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.brands-track {
    display: flex;
    gap: 40px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 10px 0;
}

.brand-item {
    flex: 0 0 auto;
    width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.brand-logo {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 16px;
    margin-bottom: 12px;
}

.brand-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brand-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-medium);
    text-align: center;
}

/* Slider Navigation Buttons */
.brands-slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--border-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
    color: var(--text-medium);
    font-size: 18px;
}

.brands-slider-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.brands-slider-btn:active {
    transform: scale(0.95);
}

/* Responsive */
@media (max-width: 768px) {
    .brands {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .brands-slider-wrapper {
        gap: 8px;
    }
    
    .brands-slider-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .brand-item {
        width: 100px;
    }
    
    .brand-logo {
        width: 70px;
        height: 70px;
        padding: 12px;
    }
    
    .brand-name {
        font-size: 12px;
    }
}

/* ===================================
   Products Section
   =================================== */
.products {
    padding: 120px 0;
    background: var(--bg-light);
}

/* Condition Filter (New/Used) */
.condition-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.condition-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-medium);
}

.condition-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.condition-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Energy Filter */
.energy-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.energy-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-medium);
}

.energy-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.energy-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Brand Filter */
.brand-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.brand-filter-btn {
    padding: 10px 20px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-medium);
}

.brand-filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.brand-filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Price Filter */
.price-filter {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 24px 28px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.price-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-title i {
    color: var(--primary-color);
}

.price-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.price-btn {
    padding: 10px 20px;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-medium);
}

.price-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.price-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
    margin-bottom: 50px;
}

.product-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    background: var(--bg-gray);
    transition: var(--transition);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
    line-height: 1.4;
}

.product-specs {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

.spec-item i {
    color: var(--primary-color);
    font-size: 12px;
}

.product-price {
    font-size: 26px;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.product-btn {
    width: 100%;
    justify-content: center;
    margin-top: auto;
    padding: 14px 20px;
    min-height: 48px;
}

.products-cta {
    text-align: center;
    padding: 50px 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--border-radius-lg);
    color: white;
}

.products-cta p {
    font-size: 20px;
    margin-bottom: 24px;
    opacity: 0.95;
}

/* ===================================
   About Section
   =================================== */
.about {
    padding: 120px 0;
    background: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 28px;
}

.about-text {
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.9;
    font-size: 16px;
}

.about-stats {
    display: flex;
    gap: 48px;
    margin: 40px 0;
    padding: 32px 0;
    border-top: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
}

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

.stat-number {
    display: block;
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
    letter-spacing: -2px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.about-countries h4 {
    font-size: 16px;
    margin-bottom: 18px;
    color: var(--text-dark);
    font-weight: 700;
}

.country-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.country-tag {
    padding: 10px 18px;
    background: var(--bg-light);
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-medium);
}

.about-gallery {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.gallery-section {
    width: 100%;
}

.gallery-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

/* Carousel */
.carousel {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 16/10;
    margin: 0 auto;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.carousel-image.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
    font-size: 16px;
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 16px;
}

.carousel-btn.next {
    right: 16px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background: white;
    width: 28px;
    border-radius: 5px;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--border-radius);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 48px;
    cursor: pointer;
    transition: var(--transition);
    background: none;
    border: none;
}

.lightbox-close:hover {
    color: var(--accent-color);
}

.lightbox-caption {
    color: white;
    font-size: 16px;
    margin-top: 20px;
    text-align: center;
    opacity: 0.9;
}

/* Showroom Advantage */
.showroom-advantage {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: var(--border-radius-lg);
    padding: 32px 36px;
    margin: 32px 0;
    border-left: 4px solid var(--primary-color);
}

.showroom-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.showroom-title::before {
    content: '🏢';
    font-size: 28px;
}

.showroom-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.showroom-points li {
    padding: 16px 0;
    padding-left: 36px;
    position: relative;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 15px;
    border-bottom: 1px solid var(--border-color);
}

.showroom-points li:last-child {
    border-bottom: none;
}

.showroom-points li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 20px;
}

.showroom-points li strong {
    color: var(--text-dark);
    font-weight: 700;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: 120px 0;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-card {
    display: flex;
    gap: 24px;
    padding: 32px;
    background: white;
    border-radius: var(--border-radius-lg);
    margin-bottom: 24px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.contact-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.contact-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 700;
}

.contact-details p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 15px;
}

.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(196, 30, 58, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: linear-gradient(135deg, var(--primary-dark), #1a0a0f);
    color: white;
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 26px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
}

.footer-logo i {
    color: var(--accent-color);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 15px;
}

.footer-links h4,
.footer-social h4 {
    font-size: 14px;
    margin-bottom: 24px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    font-size: 15px;
}

.footer-links a:hover {
    color: white;
    padding-left: 6px;
}

.social-links {
    display: flex;
    gap: 14px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
    font-size: 16px;
}

.social-link:hover {
    background: var(--accent-color);
    transform: translateY(-4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-chinese {
    font-size: 13px !important;
}

/* ===================================
   Product Detail Page
   =================================== */
.product-hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    color: white;
}

.breadcrumb {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 24px;
    font-size: 14px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb span:last-child {
    color: white;
    font-weight: 600;
}

.product-hero-content {
    max-width: 800px;
}

.product-hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.product-subtitle {
    font-size: 20px;
    opacity: 0.9;
}

.product-detail-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.product-images {
    position: sticky;
    top: 120px;
}

.main-image {
    position: relative;
    background: var(--bg-gray);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.main-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.image-label {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(4px);
    z-index: 10;
}

.image-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
    padding: 16px;
    background: var(--light-color);
    border-radius: 12px;
    font-size: 13px;
    color: var(--text-light);
}

.image-legend span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.image-legend i {
    color: var(--primary-color);
}

.thumbnail {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-color);
}

.product-info {
    padding: 20px 0;
}

.product-header {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 2px solid var(--border-color);
}

.product-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.product-price-large {
    font-size: 42px;
    font-weight: 800;
    color: var(--accent-color);
    letter-spacing: -2px;
}

.product-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.spec-box {
    background: var(--bg-light);
    padding: 24px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    border: 1px solid var(--border-color);
}

.spec-box i {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: block;
}

.spec-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    font-weight: 600;
}

.spec-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

.product-description {
    margin-bottom: 40px;
}

.product-description h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.product-description p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 16px;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Specs Table */
.specs-section {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.specs-table-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid var(--border-color);
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table td {
    padding: 20px 28px;
}

.specs-table td:first-child {
    font-weight: 600;
    color: var(--text-medium);
    width: 40%;
    background: var(--bg-light);
}

.specs-table td:last-child {
    color: var(--text-dark);
    font-weight: 500;
}

.specs-table i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
}

/* Related Products */
.related-products {
    padding: 80px 0;
    background: var(--bg-white);
}

.related-products .section-title {
    text-align: center;
    margin-bottom: 48px;
}

.text-center {
    text-align: center;
    margin-top: 40px;
}

/* ===================================
   Side Navigation (Table of Contents) - Compact Hamburger Style
   =================================== */
.side-nav {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 998;
}

/* Toggle Button - Hamburger Icon */
.side-nav-toggle {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(222, 226, 230, 0.6);
    border-radius: 21px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 11px 10px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.side-nav-toggle:hover {
    background: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.side-nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

.side-nav-toggle:hover span {
    width: 20px;
}

/* Menu Container - Hidden by default, shows on hover */
.side-nav-menu {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    padding: 10px 0;
    margin-right: 12px;
    min-width: 170px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    pointer-events: none;
}

.side-nav:hover .side-nav-menu,
.side-nav.expanded .side-nav-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.side-nav-menu li {
    list-style: none;
}

.side-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 18px;
    color: var(--text-medium);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.side-nav-link i {
    font-size: 16px;
    width: 20px;
    text-align: center;
    color: var(--primary-color);
}

.side-nav-link:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.side-nav-link.active {
    background: rgba(196, 30, 58, 0.08);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

/* Toggle button active state */
.side-nav:hover .side-nav-toggle,
.side-nav.expanded .side-nav-toggle {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.side-nav:hover .side-nav-toggle span,
.side-nav.expanded .side-nav-toggle span {
    background: white;
}

/* ===================================
   Chat Widget - Modern Design
   =================================== */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9998;
}

.chat-button {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
}

.chat-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 28px rgba(196, 30, 58, 0.4);
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-color);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 10px;
    border: 2px solid white;
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 550px;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.chat-window.active {
    display: flex;
}

.chat-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.chat-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.chat-header-text h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.chat-header-text p {
    font-size: 13px;
    opacity: 0.9;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.9;
    transition: var(--transition);
}

.chat-close:hover {
    opacity: 1;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: var(--bg-light);
}

.chat-message {
    margin-bottom: 16px;
    display: flex;
}

.chat-message.user {
    justify-content: flex-end;
}

.chat-message-content {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
}

.chat-message.bot .chat-message-content {
    background: white;
    color: var(--text-dark);
    border-bottom-left-radius: 4px;
    box-shadow: var(--shadow-sm);
}

.chat-message.user .chat-message-content {
    background: var(--primary-color);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-time {
    display: block;
    font-size: 11px;
    opacity: 0.6;
    margin-top: 6px;
}

.chat-input {
    display: flex;
    padding: 16px;
    background: white;
    border-top: 1px solid var(--border-color);
    gap: 12px;
}

.chat-input input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 24px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.chat-input input:focus {
    border-color: var(--primary-color);
}

.chat-input button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
}

.chat-input button:hover {
    background: var(--primary-light);
    transform: scale(1.05);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1200px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-images {
        position: static;
    }
}

@media (max-width: 992px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-image {
        order: -1;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-title {
        font-size: 56px;
    }
    
    .section-title {
        font-size: 40px;
    }
}

@media (max-width: 1200px) {
    .side-nav {
        right: 12px;
    }
    
    .nav-search {
        max-width: 300px;
    }
}

@media (max-width: 992px) {
    .side-nav {
        right: 12px;
        bottom: 100px;
        top: auto;
        transform: none;
    }
    
    .side-nav-menu {
        right: 100%;
        margin-right: 10px;
    }
}

@media (max-width: 768px) {
    .nav-search {
        display: none;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 30px 24px;
        gap: 24px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 24px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .product-card {
        margin-bottom: 0;
    }
    
    .product-image {
        height: 140px;
        object-fit: cover;
    }
    
    .product-name {
        font-size: 13px;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        height: 34px;
    }
    
    .product-year,
    .product-specs {
        font-size: 11px;
    }
    
    .product-price {
        font-size: 15px;
        font-weight: 700;
        color: var(--accent-color);
    }
    
    .product-btn,
    .btn-primary {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .about-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .search-results {
        width: calc(100vw - 40px);
        right: -10px;
    }
    
    .chat-window {
        width: calc(100% - 30px) !important;
        right: 15px !important;
        left: auto !important;
        bottom: 90px !important;
        top: auto !important;
        max-width: 400px !important;
        height: calc(100vh - 180px) !important;
        max-height: 500px !important;
    }
    
    .chat-header {
        padding: 15px !important;
    }
    
    .chat-header-text h4 {
        font-size: 15px !important;
    }
    
    .chat-header-text p {
        font-size: 12px !important;
    }
    
    .chat-messages {
        flex: 1 !important;
        overflow-y: auto !important;
        padding: 15px !important;
    }
    
    .chat-message-content {
        max-width: 85% !important;
        font-size: 13px !important;
        padding: 10px 14px !important;
    }
    
    .chat-input {
        padding: 10px !important;
        border-top: 1px solid var(--border-color) !important;
    }
    
    .chat-input input {
        font-size: 14px !important;
        padding: 10px 14px !important;
    }
    
    .chat-input button {
        width: 40px !important;
        height: 40px !important;
    }
    
    .chat-button {
        bottom: 20px !important;
        right: 20px !important;
        width: 56px !important;
        height: 56px !important;
    }
    
    /* iPhone SE / 小屏手机优化 */
    @media (max-height: 667px) {
        .chat-window {
            height: calc(100vh - 150px) !important;
            bottom: 80px !important;
            max-height: 450px !important;
        }
        
        .chat-header {
            padding: 12px !important;
        }
        
        .chat-header-text h4 {
            font-size: 14px !important;
        }
        
        .chat-messages {
            padding: 12px !important;
        }
    }
    
    /* 横屏模式优化 */
    @media (max-height: 500px) and (orientation: landscape) {
        .chat-window {
            height: calc(100vh - 100px) !important;
            bottom: 60px !important;
            max-height: 300px !important;
            width: calc(100% - 20px) !important;
            right: 10px !important;
        }
        
        .chat-header {
            padding: 10px !important;
        }
        
        .chat-avatar {
            width: 36px !important;
            height: 36px !important;
        }
        
        .chat-messages {
            padding: 10px !important;
        }
    }
    
    .product-hero-content h1 {
        font-size: 32px;
    }
    
    .product-specs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .feature-card {
        padding: 30px 24px;
    }
    
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
