@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #4CAF50;      /* Modern yeşil */
    --primary-dark: #388E3C; /* Koyu yeşil */
    --primary-light: #81C784; /* Açık yeşil */
    --accent: #FDD835;       /* Soft sarı */
    --accent-dark: #F9A825;  /* Koyu sarı */
    --accent-light: #FFF176; /* Açık sarı */
    --secondary: #2d3436;    /* Koyu gri */
    --gray-light: #f8f9fa;
    --gray: #6c757d;
}

/* Genel Stiller */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.section-title.text-center:after {
    left: 50%;
    transform: translateX(-50%);
}

/* Genel Buton Stilleri */
.btn {
    border-radius: 0;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.btn-lg {
    padding: 1rem 2rem;
}

.btn-primary {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #2d3436 !important; /* Koyu metin rengi */
    box-shadow: none !important;
}

.btn-primary:hover, 
.btn-primary:focus {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #2d3436 !important;
    transform: translateY(-2px);
}

/* Navbar Stilleri */
.navbar {
    padding: 1rem;
    transition: all 0.3s ease;
    background: #fff !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary) !important;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

/* Navbar Buton Stilleri */
.nav-link.btn-primary {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #2d3436 !important;
    border-radius: 0;
    padding: 0.5rem 1.5rem !important;
    margin-left: 1rem;
    transition: all 0.2s ease;
}

.nav-link.btn-primary:hover {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
}

/* Mobil Uyumlu Hero Section */
.hero-section {
    background: linear-gradient(135deg, #fff 0%, #F1F8E9 100%); /* Soft yeşil gradient */
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-section .lead {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 40px;
        text-align: center;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section .btn-lg {
        width: 100%;
        margin-bottom: 2rem;
    }
}

/* Features Section güncellemesi */
.features {
    padding: 80px 0;
    background: var(--gray-light);
}

.features .card {
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
}

.features .card:hover {
    transform: translateY(-10px);
}

.features h2 {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 50px;
}

.features h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
}

@media (max-width: 768px) {
    .features {
        padding: 60px 0;
    }
}

/* Özellikler Kartları */
.card {
    transition: none;
    transform: none !important;
    border-radius: 0;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.text-primary {
    color: var(--primary) !important;
}

/* SSS Bölümü */
.btn-link {
    color: var(--primary);
    text-decoration: none !important;
    width: 100%;
    text-align: left;
    padding: 0;
}

.btn-link:hover {
    color: var(--primary-dark);
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(0,0,0,.125);
}

/* Form Elementleri */
.form-control {
    border-radius: 0;
    padding: 0.75rem 1rem;
    border: 1px solid #dee2e6;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary);
}

/* Mobil Menü Güncellemeleri */
@media (max-width: 991.98px) {
    .navbar {
        padding: 1rem 1.5rem;
    }
    
    .navbar-logo {
        height: 40px;
    }

    .navbar-collapse {
        background: #fff;
        padding: 1rem;
        margin-top: 1rem;
    }

    .nav-item {
        margin: 0.5rem 0;
    }

    .nav-link.btn-primary {
        margin: 0.5rem 0;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 0.75rem 1rem;
    }
    
    .navbar-logo {
        height: 35px;
    }
}

/* App-like Touch Feedback */
.feature-box:active,
.btn:active,
.card:active {
    transform: scale(0.98);
}

/* Modern Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Loading State için Pulse Efekti */
.btn-primary.loading {
    position: relative;
    background-color: var(--accent-dark);
    pointer-events: none;
}

.btn-primary.loading:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: var(--accent);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

/* Footer */
.bg-dark {
    background-color: var(--secondary) !important;
}

/* Logo Stilleri */
.navbar-logo {
    height: 50px;
    width: auto;
}

/* Banner Görsel Stilleri */
.banner-image {
    border-radius: 0;
}

@media (max-width: 991.98px) {
    .banner-image {
        margin-top: 2rem;
    }
}

/* Feature Icon Circle Stilleri */
.feature-icon-circle {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.feature-icon-circle i {
    font-size: 2rem;
    color: #fff;
}

.card:hover .feature-icon-circle {
    transform: scale(1.1);
    background: var(--primary-dark);
}

/* Form Section Styles */
.form-section {
    background-color: var(--gray-light);
    min-height: 100vh;
    padding-top: 120px;
}

/* Progress Bar */
.progress-bar {
    background-color: var(--primary) !important;
}

/* Step Indicators */
.step-indicator {
    text-align: center;
    position: relative;
    flex: 1;
}

.step-indicator:not(:last-child):after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #e9ecef;
    z-index: 0;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.step-indicator.active .step-number {
    background: var(--accent);
    color: var(--secondary);
}

.step-title {
    font-size: 0.875rem;
    color: var(--gray);
}

/* Selection Cards */
.brand-card,
.model-card,
.color-card,
.damage-card {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.brand-card:hover,
.model-card:hover,
.color-card:hover,
.damage-card:hover {
    border-color: var(--accent-light);
    transform: translateY(-5px);
}

.brand-card.selected,
.model-card.selected,
.color-card.selected,
.damage-card.selected {
    border-color: var(--accent);
    background-color: rgba(253, 216, 53, 0.1);
}

/* Color Selection */
.color-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 auto 10px;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.color-name {
    text-align: center;
}

/* Damage Card */
.damage-card {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.damage-icon {
    font-size: 1.5rem;
    color: var(--primary);
}

.damage-title {
    font-weight: 600;
}

.damage-desc {
    font-size: 0.875rem;
    color: var(--gray);
}

/* Navigation Buttons */
.btn-outline-secondary {
    color: var(--secondary);
    border-color: var(--secondary);
}

.btn-outline-secondary:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: #fff;
}

.btn-primary {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--secondary) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--accent-dark) !important;
    border-color: var(--accent-dark) !important;
    color: var(--secondary) !important;
}

.btn-primary:disabled {
    background-color: var(--gray) !important;
    border-color: var(--gray) !important;
    color: #fff !important;
}

/* Form Control */
.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem rgba(253, 216, 53, 0.25);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .step-title {
        display: none;
    }
    
    .step-indicator:not(:last-child):after {
        top: 20px;
    }

    .form-section {
        padding-top: 100px;
    }
}

/* Hasar Seçici Stilleri */
.car-damage-selector {
    max-width: 500px;
    margin: 0 auto;
}

.car-svg-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.car-svg-container svg {
    width: 100%;
    height: auto;
}

.car-svg-container svg path {
    stroke: #fff;
    stroke-width: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.car-svg-container svg path:hover {
    filter: brightness(1.1);
}

/* Durum Göstergeleri */
.damage-legend {
    display: flex;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    margin: 0 10px;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 8px;
    border: 1px solid #ccc;
}

.legend-color.original {
    background-color: #e0e0e0;
}

.legend-color.painted {
    background-color: #FFD700;
}

.legend-color.changed {
    background-color: #DC3545;
}

/* Form Check Özelleştirme */
.form-check-input {
    width: 18px;
    height: 18px;
}

.form-check-label {
    font-weight: 500;
    margin-left: 5px;
}

/* Popup menü stili */
.selection-menu {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    transition: opacity 0.3s, visibility 0.3s;
    width: 280px;
    z-index: 1000;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.selection-menu button {
    padding: 8px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    background-color: #f1f1f1;
    transition: background-color 0.2s;
}

.selection-menu button:hover {
    background-color: #e5e5e5;
}

.selection-menu button span {
    flex: 1;
    text-align: center;
}

.color-circle {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    margin-right: 10px;
}

.original .color-circle {
    background-color: #777777;
}

.painted .color-circle {
    background-color: #FFD700;
}

.changed .color-circle {
    background-color: #DC3545;
}

.soktak .color-circle {
    background-color: #9932CC; /* Mor renk (DarkOrchid) */
}

/* Adım butonları - tüm adımlar için ortak stil */
.step-buttons {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
    margin-top: 15px;
}

.step-buttons .btn{
    width: 100%;
    margin: 10px;
}

.btn-prev,
.btn-next {
    flex: 1;
    padding: 12px 0;
    margin: 0 5px;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    width: 45%;
    marrgin-right: 5%;
}

.btn-prev {
    background-color: #f2f2f2;
    color: #333;
}

.btn-next {
    background-color: #FFD700;
    color: white;
    marrgin-right: 0;
}

.btn-prev:hover {
    background-color: #e5e5e5;
}

.btn-next:hover {
    background-color: #FFD700;
}

/* Eski navigasyon stilini kaldıralım */
.step-navigation {
    display: none; /* Artık bu stil kullanılmayacak */
}

.prev-btn, .next-btn {
    display: none; /* Artık bu stil kullanılmayacak */
}

/* Kapat butonu stilleri - text-center eklendi */
.close-btn {
    width: 100%;
    text-align: center;  /* Metni ortalamak için */
    margin-top: 5px;
    background-color: #6c757d !important;
    color: white;
    padding: 8px !important;
    display: block;      /* Block element olarak ayarlandı */
}

/* Renk açıklamaları için stiller */
.color-legend {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 15px 0;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 6px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.color-indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
}

.color-indicator.original {
    background-color: #777777;
}

.color-indicator.painted {
    background-color: #FFD700;
}

.color-indicator.changed {
    background-color: #DC3545;
}

.color-indicator.soktak {
    background-color: #9932CC;
}

/* Hepsi Orijinal butonu için stiller */
.reset-all-container {
    display: flex;
    justify-content: center;
    margin: 10px 0;
    width: 100%;
}

.reset-all-btn {
    position: relative;
    padding: 6px 10px 6px 30px; /* Sol tarafta daha fazla padding */
    background-color: #f1f1f1;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: #333;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    max-width: 200px;
    text-align: center; /* Yazıyı ortala */
}

.reset-all-btn:hover {
    background-color: #e9ecef;
}

.reset-all-btn .color-circle {
    position: absolute;
    left: 10px; /* Sola dayalı */
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-color: #777777;
}

/* İl ve ilçe select elementleri için geliştirilmiş düzeltmeler */
select.form-control {
    width: 100%;
    height: 44px; /* Yüksekliği artıralım */
    padding: 0 40px 0 15px; /* Sağ ve sol padding */
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 8px 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    font-size: 15px;
    color: #333; /* Yazı rengini belirginleştir */
    line-height: 44px; /* Dikey hizalama için */
}

/* Seçim yapılmamış placeholder rengi */
select.form-control option:first-child {
    color: #6c757d;
}

/* Özel olarak il/ilçe için */
#city, #district {
    font-weight: 500; /* Biraz daha belirgin */
}

/* Boş seçenekler için stil */
select.form-control:invalid,
select.form-control option[value=""] {
    color: #6c757d;
}

/* Focus ve hover durumları */
select.form-control:hover {
    border-color: #ced4da;
}

select.form-control:focus {
    border-color: #FF5757;
    box-shadow: 0 0 0 0.2rem rgba(255, 87, 87, 0.25);
    color: #333;
}

/* Select içindeki option'lar */
select.form-control option {
    padding: 10px 15px;
    font-size: 15px;
    min-height: 30px;
    line-height: 30px;
}

/* Teklif Al butonu için stil - sarı arkaplan, koyu gri yazı */
.btn-next.submit-btn {
    background-color: #FFD700; /* Sarı arkaplan aynı kalıyor */
    color: #444444; /* Yazı rengi koyu gri */
    font-weight: 600; /* Yazıyı biraz daha kalın yapalım ki görünür olsun */
}

.btn-next.submit-btn:hover {
    background-color: #FFD700; /* Hover rengi aynı kalıyor */
    color: #333333; /* Hover durumunda yazı biraz daha koyulaşıyor */
}

/* Hakkımızda ve İletişim sayfaları için stil */

/* Genel sayfa başlığı */
.page-title {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #FF5757;
}

/* Hakkımızda sayfası */
.about-section {
    padding: 60px 0;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1.5;
    min-width: 300px;
}

.about-text h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f1f1;
}

.about-text p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
}

.team-section {
    margin-top: 40px;
}

.section-title {
    text-align: center;
    font-size: 28px;
    color: #333;
    margin-bottom: 40px;
}

.team-members {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.team-member {
    width: 280px;
    text-align: center;
    margin-bottom: 30px;
}

.member-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 5px;
}

.team-member p {
    color: #666;
    font-size: 16px;
}

/* İletişim sayfası */
.contact-section {
    padding: 60px 0;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 24px;
    color: #FF5757;
    margin-right: 15px;
    flex-shrink: 0;
}

.info-item h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}

.info-item p {
    color: #666;
    line-height: 1.5;
}

.contact-form {
    flex: 1.2;
    min-width: 350px;
}

.contact-form h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 30px;
}

.btn-submit {
    display: inline-block;
    background-color: #FF5757;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #ff3c3c;
}

.map-section {
    margin-top: 60px;
}

.map-section h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background-color: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
    .about-content, 
    .contact-content {
        flex-direction: column;
    }
    
    .team-member {
        width: 100%;
        max-width: 280px;
    }
}

/* 404 Hata Sayfası */
.error-section {
    padding: 100px 0;
    text-align: center;
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-title {
    font-size: 120px;
    font-weight: 700;
    color: #FF5757;
    margin-bottom: 0;
    line-height: 1.2;
}

.error-content h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
}

.error-content p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}