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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #333;
}

.logo-icon {
    background: #dc2626;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.logo-text {
    font-size: 28px;
    font-weight: bold;
    color: #333;
}

.desktop-nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #dc2626;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 12px;
    right: 12px;
    height: 2px;
    background: #dc2626;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    padding: 8px;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 10px;
    padding: 20px 0;
    border-top: 1px solid #eee;
}

.mobile-nav .nav-link {
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

/* Hero Section */
.hero {
    background: 
        linear-gradient(135deg, rgba(31, 41, 55, 0.7), rgba(55, 65, 81, 0.7)),
        url('https://cdn.mg-turkey.com/asset/images/mg4/mg4-teknoloji-1.webp?3e'); /* Görsel URL'sini buraya ekleyin */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Mobil uyum için responsive yapı */
@media (max-width: 768px) {
    .hero {
        padding: 60px 15px;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: #d1d5db;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: #362626;
    color: white;
}

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

.btn-secondary {
    background: #362626;
    color: white;
    padding: 8px 16px;
    font-size: 14px;
}

.btn-secondary:hover {
    background: #362626;
}

.btn-dark {
    background: #1f2937;
    color: white;
}

.btn-dark:hover {
    background: #111827;
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 16px;
    color: #1f2937;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6b7280;
}

.section-footer {
    text-align: center;
    margin-top: 50px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: #f9fafb;
}

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

.feature-card {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: #fef2f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: #362626;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 12px;
    color: #1f2937;
}

.feature-description {
    color: #6b7280;
    line-height: 1.6;
}

/* Featured Cars */
.featured-cars {
    padding: 80px 0;
}

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

.car-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

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

.car-content {
    padding: 24px;
}

.car-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.car-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: #1f2937;
}

.car-category {
    background: #f3f4f6;
    color: #6b7280;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.car-description {
    color: #6b7280;
    margin-bottom: 20px;
    line-height: 1.6;
}

.car-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.car-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #362626;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-description {
    color: #d1d5db;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #d1d5db;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact-list {
    list-style: none;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #d1d5db;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    color: #9ca3af;
}

/* Call Button */
.call-button {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background: #362626;
    color: white;
    padding: 16px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
    max-width: 60px;
}

.call-button:hover {
    background: #b91c1c;
    transform: scale(1.05);
    max-width: 280px;
}

.call-button-content {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.call-button-text {
    opacity: 0;
    transition: opacity 0.3s ease;
    font-weight: 600;
    font-size: 14px;
}

.call-button:hover .call-button-text {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-nav.active {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cars-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .call-button {
        left: 16px;
        bottom: 16px;
    }
    
    .call-button:hover {
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .features,
    .featured-cars {
        padding: 60px 0;
    }
    
    .car-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .car-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}