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

html {
    scroll-behavior: smooth;
}

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

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

/* Header Styles */
.header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #e2e8f0;
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo h1 {
    color: #2d3748;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-logo i {
    margin-right: 0.5rem;
    color: #a0aec0;
}

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

.nav-link {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2d3748;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #a0aec0;
    transition: width 0.3s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #4a5568;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    padding: 60px 220px;
    background: linear-gradient(45deg, #f8e8ff, #e8f4fd, #fff0e8, #f0f8ff, #f8e8ff);
    background-size: 400% 400%;
    animation: gradientShift 24s ease infinite;
    position: relative;
    overflow: hidden;
    color: #2d3748;
    margin-top: 70px;
    border-bottom: 1px solid #e2e8f0;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #4a5568;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #a0aec0;
}

.stat-label {
    font-size: 0.9rem;
    color: #718096;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.car-image, .main-car-image {
    position: relative;
    max-width: 100%;
    height: auto;
}

.main-car-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.4;
    z-index: 1;
}

.main-car-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 60px;
    background-image: url('assets/bg.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.6;
    z-index: 2;
}

.bravo-image {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
    position: relative;
    z-index: 3;
}

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

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Search Section */
.search-section {
    background: white;
    padding: 2rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-box {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    background: #f8fafc;
    border-radius: 50px;
    padding: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.search-box i {
    color: #a0aec0;
    margin: 0 1rem;
    font-size: 1.2rem;
}

.search-box input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 1rem;
    font-size: 1rem;
    outline: none;
}

.search-box button {
    background: linear-gradient(135deg, #a0aec0 0%, #718096 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.search-box button:hover {
    transform: translateY(-2px);
}

/* Main Content */
.main-content {
    padding: 4rem 0;
}

.content-section {
    background: white;
    margin: 2rem 0;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.content-section:hover {
    transform: translateY(-5px);
}

.content-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.content-section h2 i {
    color: #a0aec0;
}

.intro-section {
    text-align: center;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.intro-section h2 {
    justify-content: center;
    color: #2d3748;
}

.intro-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    max-width: 800px;
    margin: 0 auto;
}

/* Engine Cards */
.engine-card {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    margin: 1.5rem 0;
    transition: all 0.3s ease;
}

.engine-card:hover {
    border-color: #a0aec0;
    box-shadow: 0 8px 25px rgba(160, 174, 192, 0.15);
}

.engine-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.engine-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.spec {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #a0aec0;
}

.spec-label {
    font-weight: 600;
    color: #4a5568;
}

.spec-value {
    font-weight: 700;
    color: #2d3748;
}

.engine-features {
    list-style: none;
}

.engine-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #4a5568;
    line-height: 1.6;
}

.engine-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: bold;
}

/* Transmission Cards */
.transmission-card {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    margin: 1.5rem 0;
}

.transmission-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.transmission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.advantages, .disadvantages {
    padding: 1.5rem;
    border-radius: 8px;
}

.advantages {
    background: #f0fff4;
    border-left: 4px solid #48bb78;
}

.disadvantages {
    background: #fff5f5;
    border-left: 4px solid #f56565;
}

.advantages h4, .disadvantages h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.advantages h4 {
    color: #2f855a;
}

.disadvantages h4 {
    color: #c53030;
}

/* Equipment Packages */
.facelift-info, .equipment-packages, .equipment-details, .jant-info {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
}

.package-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.package-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: #2d3748;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.package-item:hover {
    border-color: #a0aec0;
    background: #f7fafc;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 3rem;
    color: #a0aec0;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2d3748;
}

.feature-card p {
    color: #4a5568;
    line-height: 1.6;
}

/* Problems Section */
.problems-intro {
    background: #f0fff4;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #48bb78;
    margin-bottom: 2rem;
}

.problems-list {
    margin: 2rem 0;
}

.problem-item {
    background: #fff5f5;
    border: 2px solid #fed7d7;
    border-radius: 12px;
    padding: 2rem;
    margin: 1.5rem 0;
    transition: all 0.3s ease;
}

.problem-item:hover {
    border-color: #f56565;
    box-shadow: 0 4px 15px rgba(245, 101, 101, 0.1);
}

.problem-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #c53030;
    margin-bottom: 1rem;
}

.problem-costs {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.problem-costs p {
    margin: 0.5rem 0;
    font-weight: 600;
}

.pre-purchase-checklist {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.pre-purchase-checklist h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1.5rem;
}

.pre-purchase-checklist ol {
    padding-left: 1.5rem;
}

.pre-purchase-checklist li {
    margin: 0.8rem 0;
    color: #4a5568;
    line-height: 1.6;
}

/* Maintenance Section */
.maintenance-info {
    background: #f0f9ff;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #3182ce;
    margin-bottom: 2rem;
}

.maintenance-tips {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 8px;
}

.maintenance-tips h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

/* Summary Section */
.summary-section {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    color: #2d3748;
    border: 1px solid #e2e8f0;
}

.summary-section h2 {
    color: #2d3748;
}

.summary-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 1.5rem 0;
    color: #4a5568;
}

/* Footer */
.footer {
    background: #f7fafc;
    color: #2d3748;
    padding: 3rem 0 1rem;
    border-top: 1px solid #e2e8f0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #4a5568;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin: 0.5rem 0;
}

.footer-section ul li a {
    color: #718096;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #4a5568;
}

.footer-bottom {
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
    text-align: center;
    color: #718096;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #f7fafc;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        border-top: 1px solid #e2e8f0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        padding: 40px 20px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .transmission-content {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .package-list {
        grid-template-columns: 1fr;
    }

    .content-section {
        padding: 2rem 1rem;
    }

    .content-section h2 {
        font-size: 2rem;
    }

    .search-box {
        flex-direction: column;
        gap: 1rem;
    }

    .search-box input {
        width: 100%;
    }

    .problem-item {
        padding: 1.5rem;
        margin: 1rem 0;
    }

    .problem-item h3 {
        font-size: 1.2rem;
    }

    .problem-costs {
        padding: 0.8rem;
    }

    .pre-purchase-checklist {
        padding: 1.5rem;
    }

    .pre-purchase-checklist ol {
        padding-left: 1rem;
    }

    .pre-purchase-checklist li {
        margin: 0.6rem 0;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .bravo-image {
        max-height: 250px;
    }

    .content-section h2 {
        font-size: 1.8rem;
    }

    .engine-specs {
        grid-template-columns: 1fr;
    }

    .problem-item {
        padding: 1rem;
        margin: 0.8rem 0;
    }

    .problem-item h3 {
        font-size: 1.1rem;
    }

    .pre-purchase-checklist {
        padding: 1rem;
    }

    .pre-purchase-checklist li {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

/* Smooth scrolling and animations */
@media (prefers-reduced-motion: no-preference) {
    .content-section {
        animation: fadeInUp 0.6s ease-out;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Print styles */
@media print {
    .header, .search-section, .footer {
        display: none;
    }

    .hero {
        margin-top: 0;
        padding: 2rem 0;
    }

    .content-section {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
}
