/* Genel Stiller */
:root {
    --primary-color: #ff6b6b; /* Turuncu */
    --secondary-color: #4ecdc4; /* Yeşil */
    --success-color: #28a745;
    --danger-color: #dc3545;
    --accent-color: #9b59b6; /* Mor */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    padding-top: 80px;
    color: white;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-section .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.hero-section .btn-primary:hover {
    background-color: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Hakkımızda Alanı */
#hakkimizda {
    background-color: #f8f9fa;
    padding: 50px 0;
}

#hakkimizda img {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#hakkimizda ul {
    list-style-type: none;
    padding: 0;
}

#hakkimizda ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

#hakkimizda ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
}

/* Doktorlar ve Şubeler Alanı */
#doktorlarimiz, #subelerimiz {
    padding: 50px 0;
}

.card {
    transition: transform 0.3s ease;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.card-img-top {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* Randevu Sistemi */
#randevu {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
}

#randevuForm {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    transition: all 0.3s ease;
}

#randevuForm:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

#randevuForm .form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

#randevuForm .form-control,
#randevuForm .form-select {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

#randevuForm .form-control:focus,
#randevuForm .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
    background-color: white;
}

#randevuForm .form-control::placeholder {
    color: #adb5bd;
}

#randevuForm .btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border: none;
    border-radius: 12px;
    padding: 12px 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

#randevuForm .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

#randevuForm .alert {
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 25px;
    border: none;
}

#randevuForm .alert-success {
    background-color: #d1e7dd;
    color: #0f5132;
}

#randevuForm .alert-danger {
    background-color: #f8d7da;
    color: #842029;
}

/* Randevu Saat Seçici */
.saat-container {
    position: relative;
    margin-bottom: 1rem;
}

.saat-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 1rem;
    z-index: 1000;
    display: none;
    margin-top: 0.5rem;
}

.saat-dropdown.show {
    display: block;
}

.saat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.saat-header h6 {
    margin: 0;
    color: #333;
    font-weight: 600;
}

.saat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.saat-btn {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    background: white;
    color: #495057;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.saat-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.saat-btn.musait {
    border-color: #198754;
    color: #198754;
    background: #d1f7e6;
}

.saat-btn.musait:hover {
    background: #198754;
    color: white;
}

.saat-btn.dolu {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
    cursor: not-allowed;
    opacity: 0.7;
}

.saat-btn.gecmis {
    background: #f8f9fa;
    color: #adb5bd;
    border-color: #dee2e6;
    cursor: not-allowed;
    text-decoration: line-through;
}

.saat-btn.selected {
    background: #198754;
    color: white;
    border-color: #198754;
}

.saat-legend {
    display: flex;
    gap: 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid #eee;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6c757d;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.legend-color.musait {
    background: #198754;
}

.legend-color.dolu {
    background: #dc3545;
}

.legend-color.gecmis {
    background: #adb5bd;
}

/* İletişim Alanı */
#iletisim {
    background-color: #f8f9fa;
    padding: 50px 0;
}

#iletisim form {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
}

#iletisim iframe {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

/* Randevu Formu */
.form-control:focus {
    box-shadow: none;
    border-color: #0d6efd;
}

/* Randevu Saatleri Renklendirme */
.saat-bos {
    background-color: #d4edda; /* Açık yeşil */
    color: #155724; /* Koyu yeşil metin */
}

.saat-dolu {
    background-color: #f8d7da; /* Açık kırmızı */
    color: #721c24; /* Koyu kırmızı metin */
}

.saat-gecmis {
    background-color: #e2e3e5; /* Açık gri */
    color: #6c757d; /* Koyu gri metin */
    text-decoration: line-through; /* Üzeri çizili */
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    section {
        padding: 40px 0;
    }
    
    #randevuForm {
        padding: 25px;
    }
    
    .saat-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .carousel-caption {
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        padding-bottom: 1.5rem !important;
        align-items: center !important;
        text-align: center !important;
        max-width: 100vw !important;
        background: linear-gradient(0deg, rgba(0,0,0,0.18) 60%, rgba(0,0,0,0) 100%) !important;
    }
    .carousel-caption h1 {
        font-size: 2.8rem !important;
        padding: 0.2em 0.5em !important;
        margin-bottom: 1rem !important;
    }
    .carousel-caption p.lead {
        font-size: 1.05rem !important;
        padding: 0.2em 0.5em !important;
        margin-bottom: 1.2rem !important;
    }
    .carousel-caption .btn {
        font-size: 1rem !important;
        padding: 0.7em 1.5em !important;
        margin-top: 0.5rem !important;
    }
}

@media (max-width: 767px) {
  .saat-container {
    width: 100% !important;
    min-width: 0 !important;
  }
  .saat-dropdown {
    position: static !important;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    box-shadow: none !important;
    border-radius: 0.5rem !important;
    margin-top: 0.5rem !important;
  }
  /* Form alanlarını alt alta getir */
  #randevuForm .col-md-6, #randevuForm .col-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 576px) {
    .saat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Animasyonlar */
.btn-primary {
    padding: 10px 25px;
}

/* Footer */
footer {
    margin-top: 0;
}

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

.social-links a:hover {
    color: var(--primary-color) !important;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: bold;
}

.navbar-nav .nav-link {
    font-size: 0.95rem !important;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 0.7rem 1.2rem;
    color: #0d2346 !important;
    border-radius: 2rem;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Sections */
section {
    padding: 80px 0;
}

.btn-gradient-primary {
    background: linear-gradient(90deg, var(--primary-color, #ff6b6b) 0%, var(--secondary-color, #4ecdc4) 100%);
    color: #fff !important;
    border: none;
    box-shadow: 0 4px 16px rgba(78,205,196,0.15), 0 1.5px 8px rgba(255,107,107,0.12);
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
}
.btn-gradient-primary:hover, .btn-gradient-primary:focus {
    background: linear-gradient(90deg, #ff5252 0%, #00bfae 100%);
    color: #fff !important;
    box-shadow: 0 8px 24px rgba(78,205,196,0.25), 0 2px 12px rgba(255,107,107,0.18);
    transform: translateY(-2px) scale(1.04);
} 