/* ============================================================
   Karşıyaka Spor Salonu Landing — bölüm bazlı CSS düzeltmeleri
   Ana site style.css üzerine yüklenir (body.page-home)
   ============================================================ */

#hero,
#hero-video {
  scroll-margin-top: 0;
}

#services,
#deneyim,
#uyelik,
#iletisim,
#fitness-club,
#personal-training {
  scroll-margin-top: 100px;
}

#services .services-card-wrap {
  scroll-margin-top: 100px;
}

#services .services-card-wrap .about-card {
  height: 100%;
}

/* --- 1. HEADER --- */
@media (min-width: 1200px) {
  body.page-home .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(16px, 2vw, 32px);
  }

  body.page-home .header-inner .logo {
    flex: 0 0 auto;
    min-width: 0;
  }

  body.page-home .header-inner .nav {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    justify-content: center;
  }

  body.page-home .header-inner .nav-list {
    flex-wrap: nowrap;
    justify-content: center;
    gap: clamp(12px, 1.4vw, 24px);
  }

  body.page-home .header-inner .nav-link {
    font-size: clamp(0.54rem, 0.58vw, 0.62rem);
    letter-spacing: 0.14em;
    white-space: nowrap;
  }

  body.page-home .header-inner .btn-header {
    flex: 0 0 auto;
    padding: 12px 22px;
    font-size: 0.6rem;
    white-space: nowrap;
  }

  body.page-home .header-inner .hamburger {
    display: none !important;
  }
}

@media (min-width: 1200px) and (max-width: 1480px) {
  body.page-home .header-inner .nav-list {
    gap: 10px;
  }

  body.page-home .header-inner .nav-link {
    font-size: 0.52rem;
    letter-spacing: 0.1em;
  }

  body.page-home .header-inner .logo-img {
    height: 38px;
    max-width: 200px;
  }
}

@media (max-width: 1199px) {
  body.page-home .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  body.page-home .header-inner .logo {
    flex: 0 1 auto;
    min-width: 0;
    max-width: calc(100% - 52px);
  }

  body.page-home .header-inner .nav,
  body.page-home .header-inner .nav-list,
  body.page-home .header-inner .btn-header {
    display: none !important;
  }

  body.page-home .header-inner .hamburger {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }
}

/* --- 2. HERO --- */
body.page-home .hero-desc {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--gray);
  max-width: 540px;
  margin-bottom: 32px;
  letter-spacing: 0.02em;
  text-transform: none;
}

body.page-home .hero-title-main {
  font-size: clamp(2.4rem, 6.5vw, 5.2rem);
  letter-spacing: 0.1em;
}

body.page-home .hero-title-sub {
  font-size: clamp(1.1rem, 2.8vw, 2.4rem);
  letter-spacing: 0.22em;
}

body.page-home .hero-tagline {
  text-transform: none;
  letter-spacing: 0.18em;
}

@media (max-width: 1024px) {
  body.page-home .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  body.page-home .feature-item:nth-child(2) {
    border-right: none;
  }

  body.page-home .feature-item:nth-child(3),
  body.page-home .feature-item:nth-child(4) {
    border-top: 1px solid var(--gold-border);
  }
}

@media (max-width: 600px) {
  body.page-home .features-grid {
    grid-template-columns: 1fr;
  }

  body.page-home .feature-item {
    border-right: none;
    border-bottom: 1px solid var(--gold-border);
  }

  body.page-home .feature-item:last-child {
    border-bottom: none;
  }

  body.page-home .feature-title {
    font-size: 0.58rem;
  }
}

/* --- 3. PREMIUM DENEYİM (#deneyim) --- */
#deneyim.about {
  padding: clamp(96px, 9vw, 120px) 0;
}

#deneyim .services-home-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(44px, 5vw, 56px);
}

#deneyim.about .about-inner.services-home-inner {
  display: flex;
  grid-template-columns: unset;
}

#deneyim .services-home-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  max-width: 720px;
}

#deneyim .services-home-label {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(185, 155, 99, 0.9);
}

#deneyim .about-title {
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  letter-spacing: 0.1em;
  margin-bottom: 0;
}

#deneyim .about-title span {
  display: block;
}

#deneyim .about-left .about-title::after {
  content: '';
  display: block;
  width: 64px;
  height: 1px;
  margin-top: 18px;
  background: linear-gradient(90deg, rgba(185, 155, 99, 0.85), transparent);
}

#deneyim .about-desc {
  max-width: 640px;
  margin-bottom: 0;
}

#deneyim .services-home-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 24px);
  width: 100%;
}

#deneyim .about-card {
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 36px rgba(7, 27, 45, 0.06);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

#deneyim .about-card:hover {
  border-color: rgba(185, 155, 99, 0.35);
  box-shadow: 0 18px 45px rgba(7, 27, 45, 0.1);
  transform: translateY(-4px);
}

#deneyim .about-card-body {
  padding: 28px 24px 32px;
}

#deneyim .card-num {
  color: rgba(7, 27, 45, 0.5);
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  margin-bottom: 10px;
}

#deneyim .card-title {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}

#deneyim .card-desc {
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--gray-dark);
}

@media (max-width: 992px) {
  #deneyim .services-home-cards {
    grid-template-columns: 1fr;
  }
}

/* --- 4. SEO İÇERİK (#seo-icerik) --- */
#seo-icerik.seo-home {
  border-top: 1px solid rgba(17, 24, 39, 0.06);
}

#deneyim.about {
  border-top: none;
}

#seo-icerik .seo-home-links .seo-home-text {
  margin-bottom: 0;
}

body.page-home .seo-home-cta-wrap {
  margin-top: 24px;
}

/* --- 4. FITNESS CLUB GALERİ (#fitness-club) --- */
#fitness-club.club-gallery-section {
  scroll-margin-top: 100px;
}

/* --- 5. HİZMETLER (#services) — 3 kart grid --- */
#services.about .about-inner.services-home-inner {
  display: flex;
  grid-template-columns: unset;
}

#services .services-home-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 1200px) {
  #services .services-home-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  #services .services-home-cards {
    grid-template-columns: 1fr;
  }
}

#services .about-card-img picture,
#services .about-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#services .about-card-img.lazy-media {
  position: relative;
}

/* --- 6. MARQUEE --- */
body.page-home .premium-marquee {
  border-top: 1px solid rgba(17, 24, 39, 0.06);
}

body.page-home .premium-marquee-cta {
  border-top: 1px solid rgba(17, 24, 39, 0.08);
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

/* --- 7. INSTAGRAM --- */
body.page-home #instagram .instagram-header-text p {
  max-width: 100%;
}

/* --- 8. CTA (#kesfet) --- */
#kesfet .cta-sub {
  max-width: 520px;
  text-transform: none;
  line-height: 1.75;
  letter-spacing: 0.04em;
  font-size: 0.82rem;
}

#kesfet .cta-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#kesfet .cta-left .btn {
  margin: 0;
}

#kesfet .cta-left .btn + .btn {
  margin-top: 12px;
}

#kesfet .cta-athlete img {
  object-position: center top;
}

@media (max-width: 1024px) {
  #kesfet .cta-inner {
    gap: 32px;
  }

  #kesfet .cta-athlete {
    height: 360px;
    max-width: 360px;
    margin-inline: auto;
  }
}

/* --- 9. NEDEN THE LINE (#neden-the-line) --- */
#neden-the-line.page-section {
  padding: clamp(72px, 8vw, 108px) 0;
}

#neden-the-line .page-section-header {
  margin-bottom: clamp(28px, 4vw, 44px);
}

#neden-the-line .services-home-label {
  margin: 0 0 14px;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(185, 155, 99, 0.9);
}

#neden-the-line .page-section-title {
  margin-bottom: 0;
}

#neden-the-line .page-section-title span {
  display: block;
}

#neden-the-line .benefits-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
}

#neden-the-line .benefit-item {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(17, 24, 39, 0.08);
  align-items: center;
}

#neden-the-line .benefit-item p {
  color: rgba(17, 24, 39, 0.72);
  font-size: 0.8rem;
  line-height: 1.65;
}

#neden-the-line .benefit-num {
  color: rgba(185, 155, 99, 0.85);
}

@media (max-width: 992px) {
  #neden-the-line .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  #neden-the-line .benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* --- 10. REHBER (#rehber) --- */
#rehber.about {
  padding: clamp(96px, 9vw, 120px) 0;
  border-top: 1px solid rgba(17, 24, 39, 0.06);
}

#rehber .services-home-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(44px, 5vw, 56px);
}

#rehber.about .about-inner.services-home-inner {
  display: flex;
  grid-template-columns: unset;
}

#rehber .services-home-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  max-width: min(960px, 100%);
}

#rehber .services-home-label {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(185, 155, 99, 0.9);
}

#rehber .about-title {
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  letter-spacing: 0.1em;
  margin-bottom: 0;
}

#rehber .about-title span {
  display: block;
  white-space: nowrap;
}

@media (max-width: 640px) {
  #rehber .about-title {
    font-size: clamp(1.4rem, 7vw, 1.85rem);
    letter-spacing: 0.07em;
  }

  #rehber .about-title span {
    white-space: normal;
  }
}

#rehber .about-left .about-title::after {
  content: '';
  display: block;
  width: 64px;
  height: 1px;
  margin-top: 18px;
  background: linear-gradient(90deg, rgba(185, 155, 99, 0.85), transparent);
}

#rehber .about-desc {
  max-width: 640px;
  margin-bottom: 0;
}

#rehber .about-desc + .about-desc {
  margin-top: 4px;
}

#rehber .rehber-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 24px);
  width: 100%;
}

#rehber .about-card {
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 36px rgba(7, 27, 45, 0.06);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

#rehber .about-card:hover {
  border-color: rgba(185, 155, 99, 0.35);
  box-shadow: 0 18px 45px rgba(7, 27, 45, 0.1);
  transform: translateY(-4px);
}

#rehber .about-card-body {
  padding: 28px 24px 32px;
}

#rehber .card-num {
  color: rgba(7, 27, 45, 0.5);
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  margin-bottom: 10px;
}

#rehber .card-title {
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

#rehber .card-desc {
  font-size: 0.8rem;
  line-height: 1.75;
  color: rgba(17, 24, 39, 0.68);
}

@media (min-width: 992px) {
  #rehber .rehber-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  #rehber .rehber-cards {
    grid-template-columns: 1fr;
  }
}

/* --- 11. ÜYELİK (#uyelik) --- */
#uyelik .membership-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 56px);
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(28px, 5vw, 56px);
}

#uyelik .membership-left {
  position: static;
  top: auto;
  padding-right: 0;
  max-width: min(960px, 100%);
}

#uyelik .membership-title span {
  display: block;
  white-space: nowrap;
}

@media (max-width: 520px) {
  #uyelik .membership-title {
    font-size: clamp(1.65rem, 8vw, 2rem);
    letter-spacing: 0.07em;
  }

  #uyelik .membership-title span {
    white-space: normal;
  }
}

#uyelik .membership-sub {
  max-width: 520px;
  margin-bottom: 32px;
  text-transform: none;
  line-height: 1.75;
}

#uyelik .membership-grid {
  width: 100%;
  gap: clamp(18px, 2vw, 28px);
}

@media (max-width: 1200px) {
  #uyelik .membership-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  #uyelik .membership-inner {
    padding-inline: clamp(24px, 4.5vw, 40px);
  }
}

@media (max-width: 640px) {
  #uyelik .membership-grid {
    grid-template-columns: 1fr;
  }

  #uyelik .membership-inner {
    padding-inline: clamp(20px, 5vw, 28px);
  }
}

/* --- 12. İLETİŞİM (#iletisim) --- */
#iletisim.page-section {
  padding: clamp(72px, 8vw, 108px) 0;
  border-top: 1px solid rgba(17, 24, 39, 0.06);
}

#iletisim .page-section-desc {
  max-width: 520px;
}

#iletisim .contact-form-wrap {
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 16px 48px rgba(17, 24, 39, 0.08);
  backdrop-filter: none;
  padding: clamp(28px, 4vw, 40px) clamp(24px, 3.5vw, 36px);
}

#iletisim .form-title {
  color: var(--text-dark);
  border-bottom-color: rgba(17, 24, 39, 0.08);
}

#iletisim .form-group label {
  color: rgba(17, 24, 39, 0.55);
}

#iletisim .form-group input,
#iletisim .form-group select,
#iletisim .form-group textarea {
  background: #f3f1ec;
  border-color: rgba(17, 24, 39, 0.1);
  color: var(--text-dark);
}

#iletisim .form-group input:focus,
#iletisim .form-group select:focus,
#iletisim .form-group textarea:focus {
  border-color: rgba(17, 24, 39, 0.28);
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.06);
}

#iletisim .form-consent-label {
  color: rgba(17, 24, 39, 0.72);
}

#iletisim .form-consent-label a {
  color: var(--text-dark);
}

#iletisim .contact-form-wrap .btn,
#iletisim .contact-form .btn-full {
  width: 100%;
  justify-content: center;
}

/* --- 13. FOOTER --- */
body.page-home .footer-inner {
  grid-template-columns: 1.25fr 0.85fr 0.95fr 1.05fr 0.9fr;
  gap: clamp(28px, 3vw, 40px);
}

body.page-home .footer-brand .footer-copy + .footer-copy {
  margin-top: 8px;
  font-size: 0.65rem;
  opacity: 0.72;
}

@media (max-width: 992px) {
  body.page-home .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  body.page-home .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  body.page-home .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* --- 14. FLOATING BUTONLAR --- */
body.page-home .whatsapp-btn,
body.page-home .back-to-top {
  z-index: 900;
}
