/* ==========================================
   ANA SAYFA (INDEX)
   Dosya: index.php
   Açıklama: Hero, araç vitrin, avantajlar ve tüm ana sayfa stilleri
   ========================================== */

/* =========================
   HERO SECTION - MODERN
   ========================= */

.hero-modern {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #c8102e 0%, #c8102e 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #c8102e 0%, #c8102e 100%), url('../image/main-hero.jpg') center/cover no-repeat;
    background-blend-mode: overlay;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(179, 18, 23, 0.35) 0%, rgba(229, 45, 39, 0.25) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 900px;
    margin: 0 auto;
    padding: 0.15rem 0 2rem 0;
}


.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-title .highlight {
    background: linear-gradient(45deg, #dc3545, #ff6b35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-feature i {
    color: #ffc107;
    font-size: 1.3rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-hero-primary,
.btn-hero-whatsapp,
.btn-hero-call {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 18px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 180px;
    justify-content: center;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #c8102e 0%, #ff6a00 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(229, 45, 39, 0.4);
}

.btn-hero-primary:hover {
    background: linear-gradient(135deg, #ff6a00 0%, #c8102e 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(229, 45, 39, 0.5);
    color: white;
    text-decoration: none;
}

.btn-hero-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-hero-whatsapp:hover {
    background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
    color: white;
    text-decoration: none;
}

.btn-hero-call {
    background: linear-gradient(135deg, #ff5a5f 0%, #ff767b 100%);
    color: white;
    border: none;
    box-shadow: 0 8px 25px rgba(255, 90, 95, 0.15);
    backdrop-filter: blur(10px);
}

.btn-hero-call:hover {
    background: linear-gradient(135deg, #ff767b 0%, #ff5a5f 100%);
    transform: translateY(-3px);
    color: white;
    text-decoration: none;
}

.hero-trust {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-item {
    text-align: center;
}

.trust-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffc107;
    line-height: 1;
}

.trust-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.3rem;
}

/* =========================
   SECTION UTILITIES
   ========================= */

.section {
    padding: 2rem 0 2rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header.text-center {
    text-align: center;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* =========================
   FEATURED CARS SECTION
   ========================= */

.featured-cars-section {
    background: #f8f9fa;
}

.cars-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* =========================
   CAR CARDS
   ========================= */

.car-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.car-image {
    position: relative;
    background: #f8f9fa;
    padding: 2rem;
    text-align: center;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.car-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.car-image i {
    font-size: 3rem;
    color: #ddd;
}

.car-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    z-index: 1;
}

.car-badge.popular {
    background: #28a745;
}

.car-badge.discount {
    background: #c8102e;
    top: 50px;
}

.car-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.car-name {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.car-category {
    display: block;
    font-size: 0.85rem;
    color: #999;
    font-weight: 400;
    margin-top: 0.25rem;
}

.car-specs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
    flex-wrap: wrap;
}

.car-specs span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.car-specs i {
    color: #c8102e;
    font-size: 1rem;
}

.car-price-section {
    margin-bottom: 1rem;
}

.car-price-info {
    width: 100%;
}

.car-price-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.car-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #c8102e;
}

.car-price small {
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
}

.car-price-old {
    font-size: 1.1rem;
    color: #999;
    text-decoration: line-through;
}

.car-price-old small {
    font-size: 0.8rem;
}

.car-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.car-actions .btn {
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn.btn-outline-primary {
    background: transparent;
    border: 2px solid #c8102e;
    color: #c8102e;
    width: 100%;
    margin-bottom: 0.8rem;
}

.btn.btn-outline-primary:hover {
    background: #c8102e;
    color: #fff;
}

.car-actions-row {
    display: flex;
    gap: 0.8rem;
}

.car-actions-row .btn {
    flex: 1;
}

.btn.btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn.btn-whatsapp:hover {
    background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn.btn-call {
    background: linear-gradient(135deg, #c8102e 0%, #c8102e 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.btn.btn-call:hover {
    background: linear-gradient(135deg, #c8102e 0%, #c8102e 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.featured-cars-footer {
    text-align: center;
    margin-top: 3rem;
}

.btn-all-cars {
    background: white;
    color: #c8102e;
    border: 2px solid #c8102e;
    padding: 15px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.btn-all-cars:hover {
    background: #c8102e;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229, 45, 39, 0.3);
    text-decoration: none;
}

/* =========================
   ADVANTAGES SECTION
   ========================= */

.advantages-section {
    padding: 4rem 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.advantage-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 5px solid #c8102e;
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #c8102e, #c8102e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.advantage-content h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.advantage-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.advantage-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.advantage-content li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #555;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.advantage-content li::before {
    content: '✓';
    background: #c8102e;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* =========================
   RESPONSIVE - TABLET
   ========================= */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-hero-primary,
    .btn-hero-whatsapp,
    .btn-hero-call {
        width: 100%;
    }
    
    .hero-trust {
        gap: 2rem;
    }
    
    .cars-showcase {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* =========================
   RESPONSIVE - MOBILE
   ========================= */

@media (max-width: 480px) {
    .hero-modern {
        min-height: 90vh;
    }
    
    .hero-content {
        padding: 3rem 0 2rem 0;
    }
    
    .hero-badge {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        margin-top: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-features {
        gap: 0.8rem;
    }
    
    .hero-feature {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .btn-hero-primary,
    .btn-hero-whatsapp,
    .btn-hero-call {
        padding: 15px 24px;
        font-size: 1rem;
    }
    
    .trust-number {
        font-size: 1.8rem;
    }
    
    .trust-label {
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .advantage-card {
        padding: 2rem 1.5rem;
    }
    
    .advantage-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .advantage-content h3 {
        font-size: 1.2rem;
    }
}
