/* Genel Stiller */
:root {
  --primary-color: #0d6efd;
  --secondary-color: #6c757d;
  --success-color: #198754;
  --danger-color: #dc3545;
  --dark-color: #212529;
  --light-color: #f8f9fa;
  --light-gray: #e9ecef;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

/* çapraz çizgi */
.diagonal-line {
  position: absolute;
  width: 130%;
  height: 2px;
  background-color: #dc3545;
  transform: rotate(-45deg);
}

/* Header ve Navbar */
.navbar {
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand i {
  color: #fff;
}

/* Ana Sayfa */
.hero-section {
  padding: 60px 0;
}

.feature-icon {
  width: 60px;
  height: 60px;
}

/* Berber Kartları */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 20px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

/* Randevu Formu */
.form-container {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.time-slot {
  display: inline-block;
  margin: 5px;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
}

.time-slot.available {
  background-color: var(--light-color);
}

.time-slot.available:hover {
  background-color: var(--primary-color);
  color: white;
}

.time-slot.unavailable {
  background-color: var(--light-gray);
  color: var(--secondary-color);
  cursor: not-allowed;
}

.time-slot.selected {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* Profil */
.profile-header {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  margin-bottom: 20px;
}

.profile-avatar {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Paketler */
.pricing-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 10px;
  background-color: var(--warning-color);
  color: white;
  border-radius: 20px;
  font-weight: bold;
}

/* Randevu Sonuç Sayfası */
.confirmation-box {
  background-color: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}

/* Footer */
footer {
  margin-top: 100px;
}

footer a:hover {
  text-decoration: underline;
}

/* Mobil Responsive */
@media (max-width: 768px) {
  .hero-section {
    text-align: center;
    padding: 30px 0;
  }

  .profile-avatar {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
  }

  .time-slot {
    margin: 3px;
    padding: 8px 12px;
    font-size: 14px;
  }
}

/* Flash Mesajları */
.alert-flash {
  animation: fadeIn 0.5s, fadeOut 0.5s 3s forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; display: none; }
}

@media (max-width: 767.98px) {
    .sidebar {
        position: relative;
        width: 100%;
        z-index: 999;
    }

    main {
        width: 100%;
        margin-left: 0;
    }

    .row {
        flex-direction: column;
    }
}