:root {
    --primary-color: #2ecc71;
    --secondary-color: #3498db;
    --background-color: #f8f9fa;
    --text-color: #2c3e50;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
}

/* Kart tasarımını güncelle */
.card {
    border-radius: 16px;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    box-shadow: 8px 8px 16px #d1d1d1, -8px -8px 16px #ffffff;
    transition: all 0.4s ease;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 12px 12px 20px #c1c1c1, -12px -12px 20px #ffffff;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 12px 12px 0 0 !important;
    padding: 15px 20px;
}

.form-select, .form-control {
    height: 50px;
    font-size: 1.1rem;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-select:focus, .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(46, 204, 113, 0.15);
    background: #fff;
}

.form-select:disabled {
    background-color: #e9ecef;
    cursor: not-allowed;
}

.btn {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    height: 50px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0 1.5rem;
    background: linear-gradient(145deg, var(--primary-color), #27ae60);
    border: none;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
    background: linear-gradient(145deg, #27ae60, var(--primary-color));
}

.alert {
    border-radius: 8px;
    border: none;
    margin-bottom: 20px;
}

#secim-sonuc {
    background-color: rgba(46, 204, 113, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 15px;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .card {
        margin: 10px;
    }
    
    .form-select {
        margin-bottom: 10px;
    }
}

/* Loading animasyonu */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg) scale(1.1);
    }
}

/* Form elementleri için özel stiller */
.form-label {
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 8px;
}

/* Container ve section stilleri */
.container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 40px 0;
    margin-bottom: 30px;
}

/* Footer Stilleri */
.footer {
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer h5 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.footer a {
    color: var(--text-color);
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-color);
}

.social-links a {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 1.2rem;
    text-align: center;
    border-radius: 50%;
    background: var(--primary-color);
    color: white !important;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.1);
}

/* Arama Çubuğu Animasyonu */
.search-section {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 2rem 0;
    transform: translateY(0);
    opacity: 1;
    transition: all 0.5s ease;
}

.search-section.hidden {
    transform: translateY(-20px);
    opacity: 0;
}

/* Telefon numarası linki stilini güncelle */
.card-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.card-text a:hover {
    color: #27ae60;
    text-decoration: underline;
}

/* Loading animasyonunu güncelle */
.loading::after {
    border-width: 3px;
    border-top-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.2);
}

/* Responsive Düzenlemeler */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0;
        text-align: center;
    }
    
    .footer .col-md-4 {
        margin-bottom: 2rem;
    }
    
    .search-section {
        padding: 1.5rem;
    }
    
    .form-select, .form-control, .btn-primary {
        height: 45px;
        font-size: 1rem;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
}

/* Popüler şehirler için stil */
.popular-cities .btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    transition: all 0.3s ease;
}

.popular-cities .btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(46, 204, 113, 0.2);
}

/* Mobil görünüm için responsive düzenleme */
@media (max-width: 991px) {
    .popular-cities {
        margin: 1rem 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .popular-cities .btn {
        width: calc(33.33% - 0.5rem); /* 3 buton yan yana */
        font-size: 0.8rem;
        padding: 0.3rem;
    }
}

@media (max-width: 576px) {
    .popular-cities .btn {
        width: calc(50% - 0.5rem); /* 2 buton yan yana */
    }
}

/* Hero Section güncellemesi */
.hero-section {
    background: linear-gradient(145deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem 1.5rem; /* Padding'i daha da azalttık */
    border-radius: 20px;
    margin-bottom: 1.5rem; /* Margin'i azalttık */
}

.hero-section h1 {
    font-size: 2rem; /* Başlık boyutunu daha da küçülttük */
    margin-bottom: 0.5rem; /* Margin'i azalttık */
}

.hero-section .lead {
    font-size: 1rem; /* Alt başlık boyutunu küçülttük */
    margin-bottom: 1.5rem;
}

.quick-stats {
    margin-top: 1.5rem; /* Margin'i azalttık */
}

.quick-stat-item {
    padding: 1rem; /* Padding'i azalttık */
}

.quick-stat-item i {
    font-size: 1.5rem; /* İkon boyutunu küçülttük */
    margin-bottom: 0.5rem;
}

.quick-stat-item h3 {
    font-size: 1.5rem; /* Sayı boyutunu küçülttük */
    margin: 0.5rem 0;
}

.quick-stat-item p {
    font-size: 0.9rem; /* Metin boyutunu küçülttük */
    margin: 0;
}

/* Mobil görünüm için responsive düzenleme */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 1rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(145deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4rem 2rem;
    border-radius: 20px;
    margin-bottom: 3rem;
}

.quick-stats {
    margin-top: 3rem;
}

.quick-stat-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
}

.quick-stat-item:hover {
    transform: translateY(-5px);
}

.quick-stat-item i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Popüler Bölgeler */
.popular-region {
    transition: all 0.3s ease;
    overflow: hidden;
}

.popular-region img {
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.popular-region:hover img {
    transform: scale(1.1);
}

.popular-region .card-body {
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    position: absolute;
    bottom: 0;
    width: 100%;
    color: white;
}

/* Nasıl Çalışır */
.step-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.step-icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    font-size: 2rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.section-title {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 1rem;
    }
    
    .quick-stat-item {
        margin-bottom: 1rem;
    }
    
    .step-card {
        margin-bottom: 1.5rem;
    }
}

/* Sonuçlar bölümü için stil */
#results {
    min-height: 100px; /* Yükleniyor animasyonu için minimum yükseklik */
    margin: 2rem 0 4rem 0; /* Üst ve alt margin artırıldı */
}

#results:empty {
    min-height: 0;
    margin: 0;
}

/* Reklam container stilleri */
.ad-container {
    min-height: 100px;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1rem;
    margin: 2rem 0;
    overflow: hidden;
}

/* Mobil için reklam düzenlemeleri */
@media (max-width: 768px) {
    .ad-container {
        padding: 0.5rem;
        margin: 1rem 0;
    }
}