/* Public sayfalar - Göz alıcı, modern tasarım (Playfair Display + Outfit) */
:root {
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --header-bg: #0f172a;
  --max-width: 1120px;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ===== PAGE LOADER ===== */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: 3px;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease-out, visibility 0.4s ease-out;
  pointer-events: none;
}
.page-loader.page-loader-fadeout {
  opacity: 0;
  visibility: hidden;
}
.page-loader.page-loader-hidden {
  display: none;
}
.page-loader-bar {
  height: 100%;
  width: 35%;
  background: #2563eb;
  animation: pageLoaderBar 1.5s ease-in-out infinite;
}
@keyframes pageLoaderBar {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(400%); }
}
button, input[type="submit"], input[type="button"], .btn, a[class*="btn-"] { transition: all .25s ease-in-out; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  color: #1e293b;
  background: #fafbfc;
}

/* Layout */
body.layout-full .page-wrap { max-width: none; width: 100%; padding: 0 1.5rem; }
body.layout-full .page-main-inner { max-width: none; width: 100%; }
body.layout-full .home-features-inner,
body.layout-full .home-packages-inner,
body.layout-full .home-main,
body.layout-full .footer-inner { max-width: none; width: 100%; }
body.layout-full .hero-text { max-width: none; }
.page-wrap { max-width: var(--max-width); margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; padding: 0 1.5rem; }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  color: #fff;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: 0 1px 20px rgba(0,0,0,.08);
}
.site-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.site-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 8px;
  cursor: pointer;
  color: #fff;
}
.site-nav-toggle .nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  margin: 0 auto;
  transition: transform .3s ease, opacity .3s ease;
}
.site-nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.site-nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.site-nav-backdrop {
  display: none;
  pointer-events: none;
}
.site-logo {
  color: inherit;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.75rem;
  transition: opacity .2s;
  flex-shrink: 0;
}
.site-logo:hover { opacity: .9; }
.site-logo:focus-visible { outline: 2px solid rgba(255,255,255,.8); outline-offset: 2px; }
.site-logo img { max-height: 56px; width: auto; display: block; }
.site-logo .logo-text { letter-spacing: -0.02em; }
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}
.site-nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.site-nav-links a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  transition: color .2s, background .2s, box-shadow .2s;
}
.site-nav-links a:hover { color: #fff; background: rgba(255,255,255,.06); }
.site-nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,.1);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.15);
}
.site-nav-links a:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.site-nav-auth {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}
.site-nav-auth .nav-btn {
  color: rgba(255,255,255,.9);
  text-decoration: none;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,.25);
  background: transparent;
  transition: color .2s, background .2s, border-color .2s, box-shadow .2s;
}
.site-nav-auth .nav-btn:hover {
  color: #fff;
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.4);
}
.site-nav-auth .nav-btn.active {
  color: #fff;
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.3);
}
.site-nav-auth .nav-btn-primary {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.35);
  color: #fff;
}
.site-nav-auth .nav-btn-primary:hover {
  background: rgba(255,255,255,.28);
  border-color: rgba(255,255,255,.5);
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.site-nav-auth .nav-btn-primary.active {
  background: rgba(255,255,255,.25);
  border-color: rgba(255,255,255,.45);
}
.site-nav-auth .nav-logout { opacity: .92; }
.site-nav-auth .nav-btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--header-bg) 0%, #1e3a5f 35%, #14b8a6 65%, var(--primary) 100%);
  background-size: 200% 200%;
  animation: heroGradient 10s ease-in-out infinite;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(45,212,191,.15) 40%, rgba(20,184,166,.25) 60%, transparent 100%);
  background-size: 200% 200%;
  animation: heroGradient 10s ease-in-out infinite;
  pointer-events: none;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 80% at 50% 50%, rgba(45,212,191,.35) 0%, rgba(13,148,136,.2) 40%, transparent 70%);
  pointer-events: none;
}
@keyframes heroGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  margin-left: 300px;
}
.hero-logo-wrap {
  position: absolute;
  left: 220px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}
.hero-logo {
  max-height: 700px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  position: relative;
  animation: logoGlow 5s ease-in-out infinite;
}
/* 600px–1599px: Logo otomatik boyutlanır, yazıyla üst üste gelmez */
@media (min-width: 601px) and (max-width: 1599px) {
  .hero-logo { max-height: clamp(100px, 10vw, 180px); max-width: clamp(100px, 12vw, 220px); }
}
/* 601–1100px: Logo ve metin üst üste (yan yana yeterli alan yok) */
@media (min-width: 601px) and (max-width: 1100px) {
  .hero { flex-direction: column; justify-content: center; padding: 3rem 1.5rem; }
  .hero-logo-wrap { position: static; transform: none; order: 1; margin-bottom: 1rem; max-width: 240px; margin-left: auto; margin-right: auto; }
  .hero-content { order: 2; margin-left: 0; flex: 1 1 auto; }
  .hero-logo { max-height: 140px; max-width: 240px; }
}
@keyframes logoGlow {
  0%, 100% {
    filter: brightness(1) drop-shadow(0 0 0 transparent);
  }
  50% {
    filter: brightness(0.5) drop-shadow( 8px 8px 8px rgba(174, 171, 171, 0.343));
  }
}
.hero-text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
  max-width: 640px;
}
.hero-greeting {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  margin: 0;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.5;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  color: #fff;
  margin: 0;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.85);
  margin: 0;
  line-height: 1.5;
}

/* ===== FEATURES / HİZMETLER ===== */
.home-features {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  padding: 4rem 1.5rem;
}
.home-features-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.features-title {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 1.65rem;
}
.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: #fff;
  padding: 1.75rem;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  text-align: center;
  transition: all .3s ease-in-out;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(13,148,136,.12);
}
.feature-card:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.feature-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.feature-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-image-wrap {
  width: 100%;
  height: 160px;
  margin: 0 auto 1rem;
  border-radius: 12px;
  overflow: hidden;
  background: #f1f5f9;
}
.feature-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 0.5rem;
}
.feature-card p {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* ===== PAKETLER ===== */
.home-packages {
  background: #fff;
  padding: 4rem 1.5rem;
  border-top: 1px solid #e2e8f0;
}
.home-packages-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.packages-title {
  text-align: center;
  margin-bottom: 2.5rem;
}
.package-cards {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}
.package-cards-cols-1 { grid-template-columns: 1fr; }
.package-cards-cols-2 { grid-template-columns: repeat(2, 1fr); }
.package-cards-cols-3 { grid-template-columns: repeat(3, 1fr); }
.package-cards-cols-4 { grid-template-columns: repeat(4, 1fr); }
.package-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.75rem;
  transition: all .3s ease-in-out;
}
.package-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(13,148,136,.1);
}
.package-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary);
}
.package-list {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.7;
}
.package-list li { margin-bottom: 0.35rem; }
.package-who-for {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed #e2e8f0;
}
.package-who-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  display: block;
  margin-bottom: 0.5rem;
}
.package-who-list {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
}
.package-who-list li { margin-bottom: 0.25rem; }
.package-card-cta {
  text-align: center;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px dashed #e2e8f0;
}

/* ===== SİZDEN GELENLER ===== */
/* Sizden Gelenler – kart içinde video */
.testimonials-card.testimonials-card:first-child .testimonials-video-wrap {
  display: flex;
  justify-content: center;
}
.testimonials-video-wrap .video-responsive {
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  background: #000;
}
.testimonials-video-wrap .video-responsive iframe,
.testimonials-video-wrap .video-responsive video {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
  object-fit: contain;
}
.testimonials-card .testimonials-intro-text {
  color: #475569;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}
.testimonials-form-title,
.testimonials-list-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 1rem;
}
.testimonials-form-divider {
  height: 2px;
  background: var(--primary);
  margin-bottom: 1.5rem;
  border-radius: 1px;
}
.testimonials-success { background: #f0fdf4; color: #166534; padding: 0.75rem 1rem; border-radius: 8px; margin-bottom: 1rem; font-size: 0.9rem; }
.testimonials-error { background: #fef2f2; color: #dc2626; padding: 0.75rem 1rem; border-radius: 8px; margin-bottom: 1rem; font-size: 0.9rem; }
.testimonials-form textarea {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  line-height: 1.6;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-family: inherit;
  resize: vertical;
  min-height: 100px;
}
.testimonials-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(13,148,136,.15); }
.btn-testimonial-submit {
  display: block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity .25s ease-in-out, transform .25s ease-in-out;
}
.btn-testimonial-submit:hover { opacity: .92; transform: translateY(-1px); }
.testimonials-login-hint { margin: 0; color: #64748b; }
.testimonials-login-hint a { color: var(--primary); text-decoration: none; font-weight: 500; }
.testimonials-login-hint a:hover { text-decoration: underline; }
.testimonials-empty { text-align: center; color: #64748b; padding: 2rem; }
.testimonial-cards { display: flex; flex-direction: column; gap: 1.5rem; }
.testimonial-card {
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.75rem;
  transition: all .3s ease-in-out;
}
.testimonial-card:hover { border-color: var(--primary); box-shadow: 0 8px 24px rgba(13,148,136,.1); }
.testimonial-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name { font-weight: 600; color: #0f172a; font-size: 1rem; }
.testimonial-content { color: #334155; line-height: 1.7; font-size: 0.95rem; }
.btn-packages-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  transition: transform .25s ease-in-out, box-shadow .25s ease-in-out;
}
.btn-packages-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13,148,136,.3);
}
.btn-packages-contact:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ===== MAIN CONTENT ===== */
.home-main { flex: 1; padding: 3rem 1.5rem; max-width: var(--max-width); margin: 0 auto; width: 100%; }
.home-section { margin-bottom: 2.5rem; }
.section-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 1.5rem;
}

/* Page Cards */
.page-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.page-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border-radius: 12px;
  text-decoration: none;
  color: #1e293b;
  border: 1px solid #e2e8f0;
  transition: all .25s ease-in-out;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.page-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13,148,136,.15);
}
.page-card:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.page-card-title {
  font-weight: 500;
  font-size: 1.05rem;
}
.page-card-arrow {
  font-size: 1.25rem;
  color: var(--primary);
  transition: transform .25s ease-in-out;
}
.page-card:hover .page-card-arrow { transform: translateX(4px); }
.empty-hint { color: #64748b; font-size: 1rem; }

/* ===== FOOTER ===== */
.site-footer {
  margin-top: auto;
  padding: 2.5rem 1.5rem;
  background: var(--header-bg);
  color: #fff;
  font-size: 0.9rem;
  text-align: center;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 1.5rem;
}
.footer-brand {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  transition: color .2s, opacity .2s;
}
.footer-brand:hover { color: rgba(255,255,255,.9); opacity: .9; }
.footer-text {
  margin: 0;
  line-height: 1.5;
  color: rgba(255,255,255,.85);
  white-space: nowrap;
}
.footer-text br { display: none; }
.site-footer .footer-contact { margin: 0; }
.site-footer .footer-contact a {
  color: rgba(255,255,255,.9);
  text-decoration: none;
  font-weight: 500;
  transition: color .2s;
}
.site-footer .footer-contact a:hover { color: #fff; text-decoration: underline; }

/* ===== İÇ SAYFA (page.php) ===== */
.page-view .page-wrap { flex: 1; min-height: 100vh; display: flex; flex-direction: column; }
.hero.hero-page {
  min-height: 320px;
  padding: 3rem 1.5rem;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
.hero.hero-page .hero-content { margin-left: 0; }
.page-main {
  flex: 1;
  padding: 3rem 1.5rem;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}
.page-main-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Galeri: uniform grid + tıklanabilir */
.page-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.page-gallery-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  aspect-ratio: 4/3;
  border: none;
  padding: 0;
  background: none;
  cursor: zoom-in;
  display: block;
  text-align: left;
}
.page-gallery-item:hover { opacity: 0.92; }
.page-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Sayfa içi görsel büyütme (lightbox) */
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.image-lightbox.image-lightbox-open {
  opacity: 1;
  visibility: visible;
}
.image-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background .2s;
}
.image-lightbox-close:hover { background: rgba(255,255,255,.3); }
.image-lightbox-inner {
  max-width: 90vw;
  max-height: 85vh;
}
.image-lightbox-inner img {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

/* İçerik kartı */
.page-content-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 2.25rem;
  margin-bottom: 2rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.page-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #334155;
  overflow-wrap: break-word;
}
.page-content p { margin: 0 0 1.25rem; }
.page-content p:last-child { margin-bottom: 0; }
.page-content img { max-width: 100%; height: auto; border-radius: 12px; margin: 1rem 0; box-shadow: 0 2px 8px rgba(0,0,0,.06); }

/* Sizden Gelenler – içerik genişliği 3 kat */
.testimonials-page .page-wrap {
  max-width: min(1200px, 95vw) !important;
  width: 100%;
}
.testimonials-page .page-main-inner {
  max-width: min(1200px, 50vw) !important;
  width: 100%;
}
body.layout-full .testimonials-page .page-wrap,
body.layout-full .testimonials-page .page-main-inner {
  max-width: none !important;
}

/* ===== LEGACY / PAGE CONTENT ===== */
header:not(.site-header) {
  background: var(--header-bg);
  color: #fff;
  padding: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
header a { color: inherit; text-decoration: none; }
header h1 { margin: 0; font-size: 1.25rem; }
header nav { display: flex; gap: 1rem; flex-wrap: wrap; }
main:not(.home-main):not(.page-main) { padding: 1.5rem 0; min-height: 50vh; }
.page-featured-image { margin: 1.5rem 0; }
.page-featured-image img { max-width: 100%; height: auto; border-radius: 12px; }

/* Schedule */
.schedule-view {
  margin: 2rem 0;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
  padding: 1.5rem;
}
.schedule-view h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary);
}
.schedule-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -0.5rem;
  padding: 0 0.5rem;
  min-width: 0;
}
.schedule-table-view {
  width: 100%;
  min-width: 400px;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
}
.schedule-table-view th, .schedule-table-view td { padding: 0.85rem 1rem; border: 1px solid #e2e8f0; }
.schedule-table-view th { background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%); font-weight: 600; color: #475569; font-size: 0.9rem; }
.schedule-table-view td { min-width: 80px; }
.schedule-table-view tbody tr:nth-child(even) { background: #fafbfc; }
.schedule-table-view tbody tr:hover { background: #f8fafc; }

/* ===== AUTH (Login / Register) ===== */
body.auth-page { display: flex; flex-direction: column; min-height: 100vh; }
.auth-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 3rem 1.5rem; }
.auth-card {
  width: 100%; max-width: 420px;
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  border: 1px solid #e2e8f0;
}
.auth-card h1 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 1.5rem;
  text-align: center;
}
.auth-card .form-group { margin-bottom: 1.25rem; }
.auth-card label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  color: #334155;
  margin-bottom: 0.4rem;
}
.auth-card input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-family: inherit;
  transition: border-color .2s;
}
.auth-card input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,148,136,.15);
}
.auth-card .btn-submit {
  width: 100%;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: opacity .25s ease-in-out, transform .25s ease-in-out;
}
.auth-card .btn-submit:hover { opacity: .92; transform: translateY(-1px); }
.auth-card .btn-submit:active { transform: translateY(0); }
.auth-card .btn-submit:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.auth-card .auth-success {
  background: #f0fdf4;
  color: #166534;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.auth-card .auth-error {
  background: #fef2f2;
  color: #dc2626;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.auth-card .auth-desc {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 1.25rem;
  text-align: center;
}
.auth-card .auth-forgot {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  text-align: right;
}
.auth-card .auth-forgot a { color: var(--primary); text-decoration: none; }
.auth-card .auth-forgot a:hover { text-decoration: underline; }
.auth-card .auth-success a { color: inherit; font-weight: 600; text-decoration: underline; }
.auth-card .auth-spam-hint {
  background: #fffbeb;
  color: #92400e;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  border-left: 4px solid #f59e0b;
}
.auth-card .auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
  font-size: 0.95rem;
}
.auth-card .auth-footer a { color: var(--primary); text-decoration: none; font-weight: 500; }
.auth-card .auth-footer a:hover { text-decoration: underline; }

/* ===== PROFİL SAYFASI ===== */
body.profile-page { display: flex; flex-direction: column; min-height: 100vh; }
.profile-main { flex: 1; padding: 3rem 1.5rem; display: flex; align-items: flex-start; justify-content: center; }
.profile-card {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  border: 1px solid #e2e8f0;
}
.profile-card h1 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 1.5rem;
}
.profile-success {
  background: #f0fdf4;
  color: #166534;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.profile-error {
  background: #fef2f2;
  color: #dc2626;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.profile-avatar-section {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}
.profile-avatar-wrap {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  font-weight: 600;
  font-family: var(--font-heading);
}
.profile-avatar-actions { flex: 1; min-width: 0; }
.profile-avatar-label { display: inline-block; cursor: pointer; }
.profile-avatar-label input { display: none; }
.btn-avatar {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
  background: rgba(13, 148, 136, 0.1);
  border: 1px solid rgba(13, 148, 136, 0.3);
  border-radius: 8px;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.btn-avatar:hover { background: rgba(13, 148, 136, 0.18); border-color: rgba(13, 148, 136, 0.5); }
.profile-avatar-hint { margin: 0.5rem 0 0; font-size: 0.85rem; color: #64748b; }
.profile-form .form-group { margin-bottom: 1.25rem; }
.profile-form label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  color: #334155;
  margin-bottom: 0.4rem;
}
.profile-form input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-family: inherit;
  transition: border-color .2s;
}
.profile-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,148,136,.15);
}
.profile-form input.input-readonly {
  background: #f8fafc;
  color: #64748b;
  cursor: not-allowed;
}
.form-hint { margin: 0.35rem 0 0; font-size: 0.85rem; color: #64748b; }
.profile-form .btn-submit {
  width: 100%;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 0.25rem;
  transition: opacity .25s ease-in-out, transform .25s ease-in-out;
}
.profile-form .btn-submit:hover { opacity: .92; transform: translateY(-1px); }
.profile-form .btn-submit:active { transform: translateY(0); }

@media (max-width: 600px) {
  .hero { min-height: 330px; padding: 3rem 1rem; flex-direction: column; justify-content: center; }
  .hero-logo-wrap { position: static; transform: none; order: 1; margin-bottom: 1rem; max-width: 200px; }
  .hero-content { order: 2; flex: 1 1 auto; margin-left: 0; }
  .hero-logo { max-height: 120px; }
  .hero-text:only-child { text-align: center; }
  .home-features { padding: 3rem 1rem; }
  .home-packages { padding: 3rem 1rem; }
  .package-cards { grid-template-columns: 1fr !important; }
  .feature-cards { grid-template-columns: 1fr; gap: 0.75rem; }
  /* Yatay kart: mobilde ikon/görsel solda, metin sağda */
  .feature-card {
    display: grid;
    grid-template-columns: 64px 1fr;
    grid-template-rows: auto auto;
    align-items: start;
    gap: 0 1rem;
    padding: 1rem 1.25rem;
    text-align: left;
  }
  .feature-card .feature-icon {
    margin: 0;
    grid-column: 1;
    grid-row: 1 / -1;
    align-self: center;
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }
  .feature-card .feature-image-wrap {
    margin: 0;
    grid-column: 1;
    grid-row: 1 / -1;
    align-self: center;
    width: 64px;
    height: 64px;
    min-width: 64px;
    min-height: 64px;
    border-radius: 10px;
    overflow: hidden;
  }
  .feature-card .feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .feature-card h3 { grid-column: 2; margin: 0 0 0.25rem; font-size: 1rem; }
  .feature-card p { grid-column: 2; font-size: 0.85rem; margin: 0; line-height: 1.4; }
  .hero.hero-page { min-height: 240px; padding: 2rem 1rem; }
  .page-main { padding: 2rem 1rem; }
  .page-gallery { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .page-content-card { padding: 1.5rem 1.25rem; }
  .page-images { flex-direction: column; }
  .page-image img { max-height: 240px; }
  .schedule-table-scroll { margin: 0 -1rem; padding: 0 1rem; }
  .schedule-table-view { font-size: 0.875rem; min-width: 360px; }
  .schedule-table-view th, .schedule-table-view td { padding: 0.5rem; }
  .site-nav-toggle { display: flex; }
  .site-header-left {
    flex: 1;
    justify-content: space-between;
  }
  .site-header {
    flex-wrap: nowrap;
    padding: 0.6rem 1rem;
    gap: 0;
  }
  .site-logo img { max-height: 40px; }
  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    max-width: 85vw;
    background: var(--header-bg);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 4rem 1.5rem 1.5rem;
    gap: 0;
    box-shadow: -4px 0 20px rgba(0,0,0,.2);
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 99;
    overflow-y: auto;
  }
  .site-nav.site-nav-open { transform: translateX(0); }
  .site-nav-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,.4);
    z-index: 98;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
  }
  .site-nav-backdrop.is-visible {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-bottom: 1rem;
  }
  .site-nav-links a {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border-radius: 8px;
  }
  .site-nav-auth {
    flex-direction: column;
    margin-left: 0;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,.2);
    gap: 0.5rem;
  }
  .site-nav-auth .nav-btn {
    display: block;
    text-align: center;
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
  }
  .page-cards { grid-template-columns: 1fr; }
  .profile-main { padding: 2rem 1rem; }
  .profile-avatar-section { flex-direction: column; text-align: center; }
  .testimonials-card .testimonials-video-wrap .video-responsive { max-width: 100%; }
}
