/* ============================================================
   Süleymaniye Öğrenci Yurdu - Özel Stiller
   Tailwind CDN ile birlikte kullanılır (saf CSS, @apply yok).
   ============================================================ */

:root {
  --primary: #1b4332;
  --primary-light: #40916c;
  --primary-lighter: #52b788;
  --primary-dark: #081c15;
  --surface-light: #f8fafc;
  --surface-dark: #0f172a;
}

::selection {
  background-color: var(--primary);
  color: #ffffff;
}

.dark ::selection {
  background-color: var(--primary-lighter);
  color: var(--surface-dark);
}

/* --- Site Logosu --- */
.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

#site-header .site-logo {
  position: relative;
  overflow: hidden;
  border-radius: 0.25rem;
  isolation: isolate;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  height: 3.75rem;
  max-width: min(11.5rem, 66vw);
  padding: 0;
}

#site-header .site-logo::after {
  content: '';
  position: absolute;
  top: -10%;
  left: 0;
  width: 42%;
  height: 120%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 38%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0) 62%,
    transparent 100%
  );
  transform: translateX(-170%) skewX(-22deg);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  animation: logo-sheen 7s cubic-bezier(0.45, 0, 0.25, 1) infinite;
  will-change: transform, opacity;
}

.dark #site-header .site-logo::after {
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 38%,
    rgba(255, 255, 255, 0.38) 50%,
    rgba(255, 255, 255, 0) 62%,
    transparent 100%
  );
}

@keyframes logo-sheen {
  0%, 66% {
    transform: translateX(-170%) skewX(-22deg);
    opacity: 0;
  }

  67% {
    transform: translateX(-170%) skewX(-22deg);
    opacity: 1;
  }

  91% {
    transform: translateX(240%) skewX(-22deg);
    opacity: 1;
  }

  92%, 100% {
    transform: translateX(240%) skewX(-22deg);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  #site-header .site-logo::after {
    animation: none;
    content: none;
  }
}

.site-logo-img {
  display: block;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

#site-header .site-logo-img {
  position: relative;
  z-index: 1;
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

@media (min-width: 640px) {
  #site-header .site-logo {
    height: 4rem;
    max-width: min(12.5rem, 50vw);
  }
}

@media (min-width: 1024px) {
  #site-header .site-logo {
    height: 4.875rem;
    max-width: min(15rem, 32vw);
  }
}

.site-logo--footer {
  max-width: min(300px, 72vw);
  background: transparent;
  overflow: visible;
}

.site-logo--footer .site-logo-img {
  height: 3.5rem;
  background: transparent;
  display: block;
}

@media (min-width: 640px) {
  .site-logo--footer {
    max-width: 300px;
  }

  .site-logo--footer .site-logo-img {
    height: 3.75rem;
  }
}

/* --- Navigasyon --- */
.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
  border-radius: 0.5rem;
  transition: color 0.2s, background-color 0.2s;
}

.nav-link:hover {
  color: var(--primary);
  background-color: #f8fafc;
}

.dark .nav-link {
  color: #cbd5e1;
}

.dark .nav-link:hover {
  color: var(--primary-lighter);
  background-color: #1e293b;
}

.nav-link.active {
  color: var(--primary);
  background-color: rgba(27, 67, 50, 0.05);
}

.dark .nav-link.active {
  color: var(--primary-lighter);
  background-color: rgba(82, 183, 136, 0.1);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.25rem;
  width: 18rem;
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  border: 1px solid #f1f5f9;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.5rem);
  transition: all 0.2s;
  z-index: 50;
}

.group:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dark .dropdown-menu {
  background: #1e293b;
  border-color: #334155;
}

.dropdown-item {
  display: block;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  color: #334155;
  transition: background-color 0.2s, color 0.2s;
}

.dropdown-item:hover {
  background-color: rgba(27, 67, 50, 0.05);
  color: var(--primary);
}

.dark .dropdown-item {
  color: #cbd5e1;
}

.dark .dropdown-item:hover {
  background-color: rgba(82, 183, 136, 0.1);
  color: var(--primary-lighter);
}

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
  border-top: 1px solid #f1f5f9;
}

.dark .mobile-menu {
  border-color: #1e293b;
}

.mobile-menu.open {
  max-height: 500px;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  color: #334155;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: background-color 0.2s, color 0.2s;
}

.mobile-nav-link:hover {
  background-color: #f8fafc;
  color: var(--primary);
}

.dark .mobile-nav-link {
  color: #cbd5e1;
}

.dark .mobile-nav-link:hover {
  background-color: #1e293b;
  color: var(--primary-lighter);
}

.theme-toggle-btn {
  padding: 0.625rem;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  color: #475569;
  transition: all 0.2s;
}

.theme-toggle-btn:hover {
  background-color: #f8fafc;
  color: var(--primary);
}

.dark .theme-toggle-btn {
  border-color: #334155;
  color: #94a3b8;
}

.dark .theme-toggle-btn:hover {
  background-color: #1e293b;
  color: var(--primary-lighter);
}

/* --- Butonlar --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary);
  color: #ffffff;
  font-weight: 600;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(27, 67, 50, 0.2);
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--primary-light);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-primary.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: #ffffff;
  color: var(--primary);
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-white:hover {
  background-color: #f8fafc;
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-outline-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.2s;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: #ffffff;
}

.dark .btn-outline-primary {
  border-color: var(--primary-lighter);
  color: var(--primary-lighter);
}

.dark .btn-outline-primary:hover {
  background-color: var(--primary-lighter);
  color: var(--primary-dark);
}

/* --- Ana Sayfa Hızlı Erişim (kaldırıldı) --- */
.section-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* --- Bölüm Başlıkları --- */
.section-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  background-color: rgba(27, 67, 50, 0.1);
  border-radius: 9999px;
}

.dark .section-badge {
  color: var(--primary-lighter);
  background-color: rgba(82, 183, 136, 0.1);
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.dark .section-title {
  color: #ffffff;
}

.section-desc {
  color: #475569;
  font-size: 1.125rem;
}

.dark .section-desc {
  color: #94a3b8;
}

/* --- Hero Slider --- */
.hero-slider {
  position: relative;
  height: 70vh;
  min-height: 480px;
  max-height: 800px;
  overflow: hidden;
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.7s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 10;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(8, 28, 21, 0.65), rgba(8, 28, 21, 0.35), transparent);
}

.hero-slide-content {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.375rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-lighter);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .hero-title { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 3rem; }
}

.hero-desc {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 36rem;
  line-height: 1.625;
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.2s;
}

.hero-nav:hover {
  background-color: var(--primary-lighter);
  border-color: var(--primary-lighter);
}

.hero-nav-prev { left: 1rem; }
.hero-nav-next { right: 1rem; }

@media (min-width: 1024px) {
  .hero-nav-prev { left: 2rem; }
  .hero-nav-next { right: 2rem; }
}

.hero-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  gap: 0.5rem;
}

.hero-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
}

.hero-dot:hover {
  background-color: rgba(255, 255, 255, 0.7);
}

.hero-dot.active {
  width: 2rem;
  background-color: var(--primary-lighter);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-slide.active .hero-slide-content {
  animation: fadeInUp 0.8s ease-out;
}

/* --- Feature Cards --- */
.feature-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
  transition: all 0.3s;
}

@media (min-width: 1024px) {
  .feature-card { padding: 2rem; }
}

.feature-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-color: rgba(27, 67, 50, 0.2);
  transform: translateY(-4px);
}

.dark .feature-card {
  background: #1e293b;
  border-color: #334155;
}

.dark .feature-card:hover {
  border-color: rgba(82, 183, 136, 0.2);
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background-color: rgba(27, 67, 50, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 0.3s;
}

.feature-card:hover .feature-icon {
  background-color: var(--primary);
  color: #ffffff;
}

.dark .feature-icon {
  background-color: rgba(82, 183, 136, 0.1);
  color: var(--primary-lighter);
}

.dark .feature-card:hover .feature-icon {
  background-color: var(--primary-lighter);
  color: var(--primary-dark);
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.dark .feature-title { color: #ffffff; }

.feature-text {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 1rem;
  line-height: 1.625;
}

.dark .feature-text { color: #94a3b8; }

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: gap 0.2s;
}

.feature-link:hover { gap: 0.5rem; }

.dark .feature-link { color: var(--primary-lighter); }

/* --- Video --- */
.video-container {
  position: relative;
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid #e2e8f0;
  padding-bottom: 56.25%;
}

.dark .video-container { border-color: #334155; }

.video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Video poster (tıklayınca oynat) */
.video-poster {
  cursor: pointer;
  background: #000;
}

.video-poster-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  background-color: var(--primary);
  color: #ffffff;
  border: 4px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-play-btn:hover {
  background-color: var(--primary-light);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-poster.playing .video-poster-img,
.video-poster.playing .video-play-btn {
  display: none;
}

/* --- CTA Banner --- */
.cta-banner {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  padding: 2.5rem;
  background-color: var(--primary);
}

@media (min-width: 1024px) {
  .cta-banner { padding: 4rem; }
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* --- Footer --- */
.footer-heading {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.625rem; }

.footer-links a {
  font-size: 0.875rem;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--primary-lighter); }

.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}

.footer-contact a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact a:hover { color: var(--primary-lighter); }

/* --- WhatsApp Baloncuğu (JivoChat üstü) --- */
.contact-widgets {
  position: fixed;
  bottom: 6rem;
  right: 1.25rem;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.contact-bubble {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-bubble:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.contact-bubble:active {
  transform: translateY(-2px);
}

.contact-bubble-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.contact-bubble--whatsapp {
  background-color: #25D366;
  color: #ffffff;
}

.contact-bubble--whatsapp:hover {
  background-color: #20bd5a;
}

@media (min-width: 640px) {
  .contact-bubble {
    width: 3.5rem;
    height: 3.5rem;
  }

  .contact-bubble-icon {
    width: 1.625rem;
    height: 1.625rem;
  }

  .contact-widgets {
    bottom: 6.5rem;
    right: 1.5rem;
  }
}

@media (max-width: 380px) {
  .contact-widgets {
    bottom: 5.5rem;
    right: 1rem;
  }

  .contact-bubble {
    width: 3rem;
    height: 3rem;
  }

  .contact-bubble-icon {
    width: 1.375rem;
    height: 1.375rem;
  }
}

/* --- Pop-up Modal (Tam Ekran Ön Kayıt) --- */
.popup-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  z-index: 51;
  width: calc(100% - 2rem);
  max-width: 28rem;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  max-height: 90vh;
  overflow-y: auto;
}

.popup-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.dark .popup-modal { background: #1e293b; }

.popup-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid #f1f5f9;
}

.dark .popup-header { border-color: #334155; }

.popup-close-btn {
  padding: 0.5rem;
  border-radius: 0.5rem;
  color: #94a3b8;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.popup-close-btn:hover {
  color: #475569;
  background-color: #f1f5f9;
}

.dark .popup-close-btn:hover {
  color: #e2e8f0;
  background-color: #334155;
}

.popup-body { padding: 1.5rem; }

/* --- Form --- */
.form-group { margin-bottom: 1rem; }

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
  margin-bottom: 0.375rem;
}

.dark .form-label { color: #cbd5e1; }

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #1e293b;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.15);
}

.dark .form-input {
  background: #0f172a;
  border-color: #475569;
  color: #e2e8f0;
}

.dark .form-input:focus {
  border-color: var(--primary-lighter);
  box-shadow: 0 0 0 3px rgba(82, 183, 136, 0.15);
}

.form-input.error {
  border-color: #ef4444;
}

.form-error {
  display: block;
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 0.25rem;
  min-height: 1rem;
}

/* --- Toast Bildirimleri --- */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: min(24rem, calc(100vw - 2rem));
  transform: translateX(-50%);
  pointer-events: none;
}

.toast {
  width: 100%;
  padding: 0.875rem 1.125rem;
  border-radius: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  color: #fff;
  background: var(--primary);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.18);
  opacity: 0;
  transform: translateY(0.75rem);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast--visible {
  opacity: 1;
  transform: translateY(0);
}

.toast--error {
  background: #dc2626;
}

.dark .toast {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

/* --- İç Sayfa Hero --- */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.page-hero--suleymaniye {
  background: linear-gradient(rgba(8, 28, 21, 0.55), rgba(8, 28, 21, 0.75)), url('images/hero-suleymaniye.jpg') center / cover no-repeat;
}

.page-hero--suleymaniye::before {
  display: none;
}

.page-hero--saraybasi {
  background: linear-gradient(rgba(8, 28, 21, 0.55), rgba(8, 28, 21, 0.75)), url('images/hero-saraybasi.jpeg') center / cover no-repeat;
}

.page-hero--saraybasi::before {
  display: none;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 42rem;
  margin: 0 auto;
}

.page-hero-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

@media (min-width: 1024px) {
  .page-hero { padding: 4rem 0; }
  .page-hero-title { font-size: 2.5rem; }
}

.page-hero-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.0625rem;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

.page-breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s;
}

.page-breadcrumb a:hover {
  color: var(--primary-lighter);
}

/* --- Olanak Detay Kartları --- */
.amenity-detail-card {
  display: grid;
  gap: 2rem;
  align-items: center;
  background: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
  .amenity-detail-card {
    grid-template-columns: 1fr 1fr;
  }
  .amenity-detail-card.reverse .amenity-detail-img { order: 2; }
  .amenity-detail-card.reverse .amenity-detail-body { order: 1; }
}

.dark .amenity-detail-card {
  background: #1e293b;
  border-color: #334155;
}

.amenity-detail-img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
}

@media (min-width: 768px) {
  .amenity-detail-img { height: 100%; min-height: 16rem; }
}

.amenity-detail-body { padding: 1.5rem 2rem; }

.amenity-detail-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.75rem;
}

.dark .amenity-detail-title { color: #ffffff; }

.amenity-detail-text {
  color: #64748b;
  line-height: 1.625;
  margin-bottom: 1rem;
}

.dark .amenity-detail-text { color: #94a3b8; }

/* --- İletişim Kartları --- */
.contact-info-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.contact-info-card:hover {
  border-color: rgba(27, 67, 50, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.dark .contact-info-card {
  background: #1e293b;
  border-color: #334155;
}

.contact-info-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: rgba(27, 67, 50, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.dark .contact-info-icon {
  background: rgba(82, 183, 136, 0.1);
  color: var(--primary-lighter);
}

.contact-info-card h3 {
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.dark .contact-info-card h3 { color: #ffffff; }

.contact-info-card p,
.contact-info-card a {
  color: #64748b;
  font-size: 0.9375rem;
  text-decoration: none;
}

.contact-info-card a:hover { color: var(--primary); }
.dark .contact-info-card a:hover { color: var(--primary-lighter); }

.contact-info-card--row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
}

.contact-info-card--row .contact-info-icon {
  margin: 0;
  flex-shrink: 0;
}

/* --- Yurt Hakkımızda Metni --- */
.dorm-about {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.dorm-about p {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.8;
}

.dark .dorm-about p {
  color: #94a3b8;
}

/* --- Yurt Galerisi --- */
.dorm-gallery {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 640px) {
  .dorm-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .dorm-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.dorm-gallery-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  background: #e2e8f0;
  aspect-ratio: 4 / 3;
}

.dark .dorm-gallery-item { background: #334155; }

.dorm-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.dorm-gallery-item:hover img { transform: scale(1.05); }

.dorm-gallery-zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 28, 21, 0.45);
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.dorm-gallery-item:hover .dorm-gallery-zoom { opacity: 1; }

/* --- Galeri Lightbox --- */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.gallery-lightbox.open {
  opacity: 1;
  visibility: visible;
}

.gallery-lightbox-img {
  max-width: min(1100px, 92vw);
  max-height: 85vh;
  border-radius: 0.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-nav:hover { background: rgba(255, 255, 255, 0.22); }

.gallery-lightbox-close { top: 1rem; right: 1rem; }
.gallery-lightbox-prev { left: 1rem; }
.gallery-lightbox-next { right: 1rem; }

.contact-form-wrapper {
  background: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid #f1f5f9;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.dark .contact-form-wrapper {
  background: #1e293b;
  border-color: #334155;
}

.map-container {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  height: 20rem;
}

.dark .map-container { border-color: #334155; }

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Scrollbar (Dark Mode) --- */
.dark ::-webkit-scrollbar { width: 8px; }
.dark ::-webkit-scrollbar-track { background: var(--surface-dark); }
.dark ::-webkit-scrollbar-thumb { background: #334155; border-radius: 4px; }
.dark ::-webkit-scrollbar-thumb:hover { background: #475569; }

@media (max-width: 640px) {
  .hero-nav { width: 2.5rem; height: 2.5rem; }
}
