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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background: white;
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 1.2rem;
    z-index: 1001;
    color: #003366;
}

.logo img {
    height: 40px;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: #003366;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s;
}

.nav a:hover {
    color: #66ccff;
}

.header-contact {
    display: flex;
    gap: 1rem;
}

.phone-btn, .whatsapp-btn {
    padding: 0.5rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.phone-btn {
    background: #ff6b35;
    color: white;
}

.phone-btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
}

.whatsapp-btn {
    background: #25d366;
    color: white;
}

.whatsapp-btn:hover {
    background: #20bd5a;
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #003366;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    z-index: 999;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
}

.mobile-sidebar.active {
    right: 0;
}

.mobile-sidebar-content {
    padding: 80px 2rem 2rem;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.mobile-nav a {
    color: #003366;
    text-decoration: none;
    font-weight: 500;
    padding: 1rem;
    border-radius: 10px;
    background: #f8f9fa;
    transition: all 0.3s;
    text-align: center;
}

.mobile-nav a:hover {
    background: #003366;
    color: white;
}

.mobile-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-phone-btn, .mobile-whatsapp-btn {
    padding: 1rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s;
}

.mobile-phone-btn {
    background: #ff6b35;
    color: white;
}

.mobile-whatsapp-btn {
    background: #25d366;
    color: white;
}

.mobile-phone-btn:hover {
    background: #e55a2b;
}

.mobile-whatsapp-btn:hover {
    background: #20bd5a;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #003366 0%, #0066cc 100%);
    color: white;
    padding: 120px 0 80px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
    max-width: 1400px;
}

.hero-content {
    z-index: 2;
    padding-right: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content h2 {
    font-size: 2.2rem;
    color: #66ccff;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    display: inline-block;
    text-align: center;
    min-width: 180px;
}

.btn-primary {
    background: #ff6b35;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    background: #e55a2b;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: white;
    color: #003366;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.3);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s ease;
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

/* Auto Car Slider Section */
.auto-slider-section {
    padding: 60px 0;
    background: white;
    overflow: hidden;
}

.auto-slider-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #003366;
    margin-bottom: 2rem;
}

.auto-slider-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.auto-slider {
    display: flex;
    gap: 2rem;
    animation: slideRight 30s linear infinite;
    width: fit-content;
}

@keyframes slideRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0%);
    }
}

.auto-slide {
    flex-shrink: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    padding: 1.5rem;
    width: 280px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.auto-slide:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: #ff6b35;
}

.auto-slide img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.auto-slide-info h3 {
    font-size: 1.3rem;
    color: #003366;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.price-range {
    font-size: 1.2rem;
    color: #ff6b35;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.variants-count {
    font-size: 0.9rem;
    color: #666;
    background: #f0f8ff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    display: inline-block;
}

/* Pause animation on hover */
.auto-slider:hover {
    animation-play-state: paused;
}

.auto-slider-wrapper:hover .auto-slider {
    animation-play-state: paused;
}

/* Cars Section */
.cars-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.cars-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #003366;
    margin-bottom: 3rem;
}

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

.car-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.car-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.car-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    z-index: 10;
}

.car-card.premium .car-badge {
    background: linear-gradient(45deg, #ffd700, #ffb300);
    color: #333;
}

.car-card.electric .car-badge {
    background: linear-gradient(45deg, #00c851, #007e33);
}

.car-card.new .car-badge {
    background: linear-gradient(45deg, #ff6b35, #e55a2b);
}

.car-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.car-info {
    padding: 1.5rem;
}

.car-info h3 {
    font-size: 1.3rem;
    color: #003366;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.price {
    font-size: 1.5rem;
    color: #ff6b35;
    font-weight: 700;
    margin-bottom: 1rem;
}

.variants {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.variant {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: #666;
    border-bottom: 1px solid #f5f5f5;
}

.variant:last-child {
    border-bottom: none;
}

/* Lead Form Section */
.lead-form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #003366 0%, #0066cc 100%);
    color: white;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.form-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.form-container p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.lead-form {
    display: grid;
    gap: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 204, 255, 0.3);
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background: white;
}

.gallery-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #003366;
    margin-bottom: 1rem;
}

.gallery-section p {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

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

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

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

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,51,102,0.9));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #003366;
    margin-bottom: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: #003366;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #ff6b35;
    margin-top: 0.2rem;
}

.contact-item h4 {
    color: #003366;
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: #ff6b35;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.map-container {
    height: 400px;
    background: #ddd;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

#map {
    width: 100%;
    height: 100%;
}

/* Footer */
.footer {
    background: #003366;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #66ccff;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #0066cc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.social-links a:hover {
    background: #ff6b35;
}

.footer-bottom {
    border-top: 1px solid #0066cc;
    padding-top: 1rem;
    text-align: center;
}

/* Auto slider responsive adjustments */
@media (max-width: 1024px) {
    .auto-slide {
        width: 250px;
    }
    
    .auto-slider {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .auto-slider-section {
        padding: 40px 0;
    }
    
    .auto-slider-section h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .auto-slide {
        width: 220px;
        padding: 1rem;
    }
    
    .auto-slide img {
        height: 100px;
    }
    
    .auto-slide-info h3 {
        font-size: 1.1rem;
    }
    
    .price-range {
        font-size: 1rem;
    }
    
    .variants-count {
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
    }
    
    .auto-slider {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .auto-slide {
        width: 200px;
    }
    
    .auto-slide-info h3 {
        font-size: 1rem;
    }
    
    .price-range {
        font-size: 0.9rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 1rem 0;
    }
    
    .header .container {
        justify-content: space-between;
        align-items: center;
    }
    
    .desktop-nav,
    .desktop-contact {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: 90vh;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
        display: flex;
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        order: 2;
        padding-top: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        max-width: none;
    }
    
    .hero-image {
        order: 1;
        margin-bottom: 1.5rem;
        width: 100%;
    }
    
    .hero-image img {
        transform: none;
        border-radius: 15px;
        box-shadow: 0 15px 40px rgba(0,0,0,0.2);
        width: 100%;
        height: 300px;
        object-fit: cover;
    }
    
    .hero-image:hover img {
        transform: scale(1.02);
    }
    
    .hero-buttons {
        justify-content: center;
        gap: 1rem;
    }
    
    .btn {
        min-width: 160px;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .car-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 0.6rem 0;
    }
    
    .logo {
        font-size: 1rem;
    }
    
    .logo img {
        height: 35px;
    }
    
    .nav {
        padding: 0.8rem;
        gap: 0.5rem;
    }
    
    .nav a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .header-contact {
        gap: 0.3rem;
    }
    
    .phone-btn, .whatsapp-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .hero {
        padding: 90px 0 50px;
        min-height: 85vh;
    }
    
    .hero .container {
        gap: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-image img {
        border-radius: 12px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .btn {
        width: 180px;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .cars-section h2,
    .gallery-section h2,
    .contact-section h2 {
        font-size: 2rem;
    }
    
    .car-card {
        margin-bottom: 1rem;
    }
    
    .form-container {
        padding: 0 1rem;
    }
}
