/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
}

.logo-box {
    border: 2px solid #16a34a;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
}

.logo-text {
    color: #dc2626;
    font-weight: bold;
    font-size: 1.25rem;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 0.25rem;
    border: 1px solid;
    transition: all 0.3s ease;
}

.nav-link-blue {
    color: #2563eb;
    background: #dbeafe;
    border-color: #93c5fd;
}

.nav-link-blue:hover {
    background: #bfdbfe;
}

.nav-link-orange {
    color: #ea580c;
    background: #fed7aa;
    border-color: #fdba74;
}

.nav-link-orange:hover {
    background: #fcd34d;
}

.nav-link-purple {
    color: #9333ea;
    background: #e9d5ff;
    border-color: #c4b5fd;
}

.nav-link-purple:hover {
    background: #ddd6fe;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.whatsapp-btn {
    background: none;
    border: none;
    cursor: pointer;
}

.whatsapp-icon {
    width: 2rem;
    height: 2rem;
    background: #16a34a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.phone-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #374151;
    font-weight: 600;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 0;
    border-top: 1px solid #e5e5e5;
}

.mobile-nav-link {
    text-decoration: none;
    color: #374151;
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: background 0.3s ease;
}

.mobile-nav-link:hover {
    background: #f3f4f6;
}

/* Hero Section */
.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

#slide1 {
    background: #4b5563;
}

#slide2 {
    background: #15803d;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 20;
    position: relative;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero-content h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.5rem;
    font-weight: 600;
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.hero-nav:hover {
    background: rgba(0,0,0,0.75);
}

.hero-nav.prev {
    left: 1rem;
}

.hero-nav.next {
    right: 1rem;
}

.hero-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 0.5rem;
}

.indicator {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: white;
}

/* Main Content */
.main-content {
    padding: 4rem 0;
    background: #f9fafb;
}

.content-header {
    text-align: center;
    margin-bottom: 3rem;
}

.subtitle {
    font-size: 1.5rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.main-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #dc2626;
    margin-bottom: 2rem;
}

.description {
    font-size: 1.125rem;
    color: #6b7280;
}

.car-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.car-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.car-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.car-image {
    height: 12rem;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.car-info {
    padding: 1.5rem;
}

.car-info h4 {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.car-info p {
    color: #6b7280;
    margin-bottom: 1rem;
}

.contact-btn {
    width: 100%;
    background: #16a34a;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-btn:hover {
    background: #15803d;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.feature-card {
    padding: 1.5rem;
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    background: #16a34a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #6b7280;
}

/* About Section */
.about {
    padding: 4rem 0;
    background: #f9fafb;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #dc2626;
    text-align: center;
    margin-bottom: 3rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image img {
    width: 400px;
    height: 450px;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.about-text p {
    color: #374151;
    text-align: justify;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.contact-cta {
    margin-top: 2rem;
}

.cta-btn {
    background: linear-gradient(to right, #16a34a, #16a34a);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: linear-gradient(to right, #15803d, #16a34a);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}

/* Tags Section */
.tags {
    padding: 4rem 0;
    background: white;
}

.tags-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ea580c;
    margin-bottom: 2rem;
}

.tags-content p {
    color: #6b7280;
    line-height: 1.7;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-info {
    color: #d1d5db;
}

.footer-info p {
    margin-bottom: 0.5rem;
}

.hours-item, .phone-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 0.25rem;
    border: 1px solid;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link-green {
    color: #10b981;
    background: rgba(16, 185, 129, 0.2);
    border-color: #10b981;
}

.footer-link-green:hover {
    background: rgba(16, 185, 129, 0.3);
}

.footer-link-blue {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
}

.footer-link-blue:hover {
    background: rgba(59, 130, 246, 0.3);
}

.footer-bottom {
    border-top: 1px solid #374151;
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-nav.active {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.75rem;
    }
    
    .hero-content p {
        font-size: 1.125rem;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        order: 2;
    }
    
    .about-text {
        order: 1;
    }
    
    .car-gallery {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .header-contact .phone-info {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .hero {
        height: 400px;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.25rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .main-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for images */
.car-image img {
    transition: opacity 0.3s ease;
}

.car-image img:not([src]) {
    opacity: 0;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
