/* ── HERO SECTION (ANA SAYFA) ────────────────────────────── */
.hero {
  min-height: 100vh;
  position: relative;
  background-color: var(--color-bg-dark);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 2px solid var(--color-primary);
  padding: 120px 0 60px;
}

/* Background image overlay */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(18,18,18,0.2) 0%, rgba(18,18,18,0.9) 100%);
  z-index: 2;
}

.hero-bg-video,
.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.5;
}

.hero-container-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr; /* Sağ sütundaki galeriyi enlemesine genişlettik */
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 3;
  transform: translateY(-40px); /* Move text and logo slightly up */
}

.hero-content {
  color: white;
}

.hero-right-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 100%;
}

.hero-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 2px solid rgba(201, 168, 76, 0.45);
  background-color: #121212;
  box-shadow: 0 0 30px rgba(201, 168, 76, 0.25);
  animation: float-logo 6s ease-in-out infinite;
  margin-top: 40px; /* Shift down by 1 cm (~40px) */
  overflow: hidden;
}

.hero-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.48);
}

.hero-gallery-container {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: var(--border-radius-md);
  padding: 20px;
  backdrop-filter: blur(5px);
}

.hero-gallery-title-wrap {
  margin-bottom: 15px;
  text-align: center;
}

.hero-gallery-subtitle {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--color-primary);
  letter-spacing: 2px;
  display: block;
  margin-bottom: 4px;
}

.hero-gallery-title {
  font-size: 18px;
  color: white;
  font-family: var(--font-title);
  margin-bottom: 0;
}

.hero-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  width: 100%;
}

.hero-gallery-grid .gallery-item {
  height: 180px; /* Büyük ekranlar için daha geniş gösterim */
  margin-bottom: 0;
  border-color: rgba(201, 168, 76, 0.2);
}

@media (max-width: 992px) {
  .hero-gallery-grid .gallery-item {
    height: 130px; /* Orta büyüklükteki tablet ekranları için eski boyutu koru */
  }
}

.hero-gallery-grid .gallery-item-title {
  font-size: 14px;
}

.hero-gallery-grid .gallery-item-desc {
  font-size: 11px;
}

.hero-gallery-grid .gallery-overlay {
  padding: 12px;
}

@media (max-width: 576px) {
  .hero-gallery-grid {
    grid-template-columns: 1fr;
  }
  .hero-gallery-grid .gallery-item {
    height: 180px;
  }
}

@keyframes float-logo {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

@media (max-width: 992px) {
  .hero-container-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 18px; /* 2 font sizes larger */
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--color-primary);
  margin-bottom: 20px;
  display: inline-block;
  position: relative;
  padding-left: 50px;
}

.hero-subtitle::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 35px;
  height: 1px;
  background-color: var(--color-primary);
}

.hero-title {
  font-size: 56px; /* 2 font sizes smaller */
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

/* ── HİZMETLER BÖLÜMÜ ────────────────────────────────────── */
.section-title-wrap {
  margin-bottom: 60px;
}

.subtitle {
  font-size: 13px;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 3px;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 40px;
  color: var(--color-bg-dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.service-card {
  max-width: 240px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 20px;
}

.service-icon {
  font-size: 32px;
  color: var(--color-primary);
  margin-bottom: 12px;
  display: inline-block;
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--color-bg-dark);
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 13.5px;
  margin-bottom: 16px;
}

.service-card .btn-randevu-al {
  transition: var(--transition);
}

.service-card:hover .btn-randevu-al {
  background: #121212 !important;
  color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  box-shadow: 0 4px 12px rgba(201, 168, 76, 0.15);
}

/* ── GALERİ AKIŞI (MASONRY GRID) ────────────────────────── */
.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 8px 16px;
  position: relative;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  color: var(--color-primary);
}

.filter-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: var(--transition);
  transform: translateX(-50%);
}

.filter-btn.active::after {
  width: 20px;
}

/* Structured CSS Grid Layout */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  width: 100%;
}

.gallery-item {
  background-color: white;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid rgba(232, 216, 184, 0.2);
  box-shadow: var(--shadow-sm);
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 320px; /* Fixed height for uniform grids */
}

.gallery-media-wrapper {
  position: relative;
  overflow: hidden;
  flex: 1;
  height: 100%;
}

.gallery-media-wrapper img,
.gallery-media-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover .gallery-media-wrapper img,
.gallery-item:hover .gallery-media-wrapper video {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(18,18,18,0.8) 0%, rgba(18,18,18,0) 100%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: white;
  z-index: 2;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item-title {
  font-family: var(--font-title);
  font-size: 18px;
  margin-bottom: 4px;
  color: var(--color-primary);
}

.gallery-item-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
}

.play-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: rgba(18, 18, 18, 0.7);
  color: var(--color-primary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  z-index: 3;
}

/* ── RANDEVU ALMA SİHRBAZI (WIZARD) ─────────────────────── */
.wizard-container {
  max-width: 800px;
  margin: 120px auto 80px;
}

.wizard-progress {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 60px;
}

.wizard-progress::before {
  content: '';
  position: absolute;
  top: 25px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: rgba(232, 216, 184, 0.4);
  z-index: 1;
}

.progress-line {
  position: absolute;
  top: 25px;
  left: 0;
  height: 2px;
  background-color: var(--color-primary);
  z-index: 2;
  transition: var(--transition);
  width: 0%;
}

.step-indicator {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.step-num {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: white;
  border: 2px solid rgba(232, 216, 184, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-text-muted);
  font-size: 16px;
  transition: var(--transition);
}

.step-indicator.active .step-num {
  background-color: var(--color-bg-dark);
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: var(--shadow-gold);
}

.step-indicator.completed .step-num {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-bg-dark);
}

.step-name {
  font-size: 12px;
  font-weight: 600;
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-muted);
  transition: var(--transition);
}

.step-indicator.active .step-name {
  color: var(--color-bg-dark);
}

/* Kart Seçim Gridleri */
.select-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.select-card {
  border: 1px solid rgba(232, 216, 184, 0.4);
  border-radius: var(--border-radius-md);
  padding: 30px 24px;
  background-color: white;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.select-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-3px);
}

.select-card.selected {
  background-color: #FDFBF7;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px var(--color-primary);
}

.select-card-icon {
  font-size: 32px;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.select-card-title {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-bg-dark);
}

.select-card-desc {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* Takvim ve Saat Seçimi */
.booking-calendar-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

/* Takvim UI */
.calendar-box {
  background-color: white;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(232, 216, 184, 0.4);
  padding: 24px;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.calendar-month {
  font-family: var(--font-title);
  font-size: 20px;
  color: var(--color-bg-dark);
}

.calendar-nav-btn {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--color-primary);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.calendar-day.empty {
  cursor: default;
}

.calendar-day.disabled {
  color: #DDD;
  cursor: not-allowed;
}

.calendar-day.available {
  background-color: rgba(201, 168, 76, 0.08);
  color: var(--color-bg-dark);
}

.calendar-day.available:hover {
  background-color: var(--color-primary-light);
}

.calendar-day.selected {
  background-color: var(--color-primary) !important;
  color: var(--color-bg-dark) !important;
  font-weight: 700;
  box-shadow: var(--shadow-gold);
}

.calendar-day.holiday::after {
  content: '';
  position: absolute;
  bottom: 4px;
  width: 4px;
  height: 4px;
  background-color: red;
  border-radius: 50%;
}

/* Saat slotları */
.slots-box {
  background-color: white;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(232, 216, 184, 0.4);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.slots-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--color-bg-dark);
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 12px;
  overflow-y: auto;
  max-height: 300px;
}

.slot-btn {
  padding: 10px;
  border: 1px solid rgba(232, 216, 184, 0.6);
  background-color: white;
  border-radius: var(--border-radius-sm);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.slot-btn:hover {
  border-color: var(--color-primary);
  background-color: rgba(201, 168, 76, 0.05);
}

.slot-btn.disabled {
  background-color: #F5F5F5;
  color: #CCC;
  border-color: #EEE;
  cursor: not-allowed;
}

.slot-btn.selected {
  background-color: var(--color-primary);
  color: var(--color-bg-dark);
  border-color: var(--color-primary);
}

/* Wizard Kontrol Butonları */
.wizard-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  border-top: 1px solid rgba(232, 216, 184, 0.3);
  padding-top: 30px;
}

/* Özet kartı */
.summary-card {
  background-color: #FAF6F0;
  border: 1px dashed var(--color-primary);
  border-radius: var(--border-radius-md);
  padding: 30px;
  margin-bottom: 30px;
}

.summary-title {
  font-family: var(--font-title);
  font-size: 22px;
  margin-bottom: 20px;
  color: var(--color-bg-dark);
  text-align: center;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(232, 216, 184, 0.3);
  font-size: 15px;
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-label {
  font-weight: 600;
  color: var(--color-bg-dark);
}

.summary-val {
  color: var(--color-text-muted);
}

/* ── MOBIL UYUM ─────────────────────────────────────────── */
@media (max-width: 992px) {
  .booking-calendar-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 40px;
  }
  .wizard-progress {
    margin-bottom: 40px;
  }
  .step-name {
    display: none;
  }
}

/* ── GEÇMİŞ SLOT STİLİ ─────────────────────────────────── */
.slot-btn.past {
  opacity: 0.4;
  text-decoration: line-through;
  cursor: not-allowed;
  background-color: #f0f0f0 !important;
  border-color: #ddd !important;
  color: #aaa !important;
  position: relative;
}

/* ── FONT BOYUTU WIDGET ────────────────────────────────── */
.font-size-widget {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9990;
  background: rgba(18, 18, 18, 0.88);
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 30px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  backdrop-filter: blur(6px);
}

.font-size-widget span {
  font-size: 9px;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-body);
  margin-right: 2px;
  letter-spacing: 0.5px;
}

.font-btn {
  background: transparent;
  border: 1px solid rgba(201, 168, 76, 0.35);
  color: var(--color-primary);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  transition: all 0.2s ease;
  padding: 0;
  flex-shrink: 0;
}

.font-btn:hover {
  background: rgba(201, 168, 76, 0.2);
  border-color: var(--color-primary);
  transform: scale(1.1);
}

.font-btn.font-reset {
  font-size: 10px;
  color: rgba(255,255,255,0.6);
  border-color: rgba(255,255,255,0.2);
}

/* ── DESIGN BY RD — DAİRE STİLİ ─────────────────────── */
.rd-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #121212;
  font-weight: 800;
  font-size: 8px;
  font-family: var(--font-title);
  letter-spacing: -0.5px;
  margin-top: 0;
  box-shadow: 0 0 6px rgba(201, 168, 76, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.design-by-rd:hover .rd-circle {
  transform: scale(1.15);
  box-shadow: 0 0 14px rgba(201, 168, 76, 0.7);
}

/* ── AYIN TRENDLERİ (MAIN PAGE HERO) ──────────────────────── */
.hero-trends-container {
  margin-bottom: 25px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: var(--border-radius-md);
  padding: 15px;
  backdrop-filter: blur(5px);
  max-width: min(480px, 100%);
  width: 100%;
  box-sizing: border-box;
}

.trend-section-title {
  font-family: var(--font-title);
  font-size: 12px;
  color: var(--color-primary);
  letter-spacing: 1px;
  margin-bottom: 10px;
  text-align: left;
}

.trend-list {
  display: flex;
  gap: 16px;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.trend-list::-webkit-scrollbar {
  display: none;
}

.trend-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  flex-shrink: 0;
}

.trend-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.45), 0 0 10px rgba(201, 168, 76, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  background-color: #121212;
  box-sizing: border-box;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  -webkit-mask-image: radial-gradient(circle, #fff 98%, transparent 100%);
  mask-image: radial-gradient(circle, #fff 98%, transparent 100%);
}

.trend-circle:hover {
  transform: scale(1.06) translate3d(0, 0, 0);
  box-shadow: 0 0 0 2px var(--color-primary), 0 0 15px rgba(201, 168, 76, 0.4);
}

.trend-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.trend-circle:hover img {
  transform: scale(1.06);
}

.trend-name {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}

/* ── MOBİL: TREND DAİRELERİ KÜÇÜLT VE SIĞDIR ─────────────────────────── */
@media (max-width: 992px) {
  .hero-trends-container {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    padding: 12px 14px;
  }

  .trend-list {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    align-items: flex-start;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .trend-circle {
    width: 48px;
    height: 48px;
  }

  .trend-name {
    font-size: 10px;
    max-width: 54px;
  }
}

@media (max-width: 576px) {
  .hero-trends-container {
    padding: 10px 8px;
    margin-bottom: 20px;
  }

  .trend-section-title {
    font-size: 11px;
    margin-bottom: 8px;
  }

  .trend-list {
    gap: 6px;
    justify-content: space-between;
    overflow-x: auto;
  }

  .trend-item {
    gap: 4px;
    flex: 0 0 calc(20% - 5px);
    max-width: calc(20% - 5px);
  }

  .trend-circle {
    width: 44px;
    height: 44px;
    max-width: 100%;
  }

  .trend-name {
    font-size: 9px;
    max-width: 100%;
    line-height: 1.1;
  }
}

@media (max-width: 380px) {
  .trend-list {
    gap: 4px;
  }

  .trend-item {
    flex: 0 0 calc(20% - 4px);
    max-width: calc(20% - 4px);
  }

  .trend-circle {
    width: 38px;
    height: 38px;
  }

  .trend-name {
    font-size: 8.5px;
  }
}
