/* ==========================================================
   AD SOYAD — Fitness Koçluğu | style.css
   Renk sistemi: siyah / beyaz / sarı
   ========================================================== */

:root{
  --black: #0c0c0d;
  --black-soft: #151517;
  --white: #f7f6f3;
  --grey: #9a9a97;
  --yellow: #f5c518;
  --yellow-dark: #d9ac0a;
  --line: rgba(247,246,243,0.12);
  --line-strong: rgba(247,246,243,0.22);

  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Work Sans', sans-serif;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body{
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
}

a{ color: inherit; text-decoration: none; }

.text-accent{ color: var(--yellow); }

/* ---------- Buttons ---------- */
.btn-accent{
  background: var(--yellow);
  border: none;
  color: var(--black);
  font-weight: 700;
  border-radius: 2px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-accent:hover{
  background: var(--yellow-dark);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(245,197,24,0.25);
}

.btn-outline-accent{
  border: 1px solid var(--yellow);
  color: var(--yellow);
  border-radius: 2px;
  font-weight: 600;
  background: transparent;
  transition: all .2s ease;
}
.btn-outline-accent:hover{
  background: var(--yellow);
  color: var(--black);
}

.btn-outline-light{
  border: 1px solid var(--line-strong);
  color: var(--white);
  border-radius: 2px;
  font-weight: 600;
  background: transparent;
  transition: all .2s ease;
}
.btn-outline-light:hover{
  background: rgba(247,246,243,0.08);
  color: var(--white);
  border-color: var(--white);
}

/* ---------- Navbar ---------- */
#mainNav{
  background: transparent;
  padding: 18px 0;
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}
#mainNav.scrolled{
  background: rgba(12,12,13,0.92);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
}
.navbar-brand{
  font-family: var(--font-display);
  font-size: 2.0rem;
  letter-spacing: 1px;
  color: var(--white);
}
.navbar .nav-link{
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 14px !important;
  position: relative;
}
.navbar .nav-link.active,
.navbar .nav-link:hover{
  color: var(--yellow);
}
.navbar-toggler{
  border-color: var(--line-strong);
}
.navbar-toggler-icon{
  filter: invert(1);
}

/* ---------- Hero ---------- */
.hero{
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-media{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* object-position: top center; */
  object-position: center 25%; 
}
.hero-overlay{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 50% 22%, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.94) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.05) 25%, rgba(12,12,13,0.55) 75%, rgba(12,12,13,0.98) 100%);
}

.hero-content{
  position: relative;
  z-index: 2;
  padding-bottom: 8vh;
}

.eyebrow{
  color: var(--yellow);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.82rem;
  margin-bottom: 18px;
}

.hero-title{
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.98;
  letter-spacing: 1px;
  margin-bottom: 22px;
}

.hero-lede{
  font-size: 1.1rem;
  color: rgba(247,246,243,0.85);
  max-width: 46ch;
  margin-bottom: 32px;
}

.hero-actions{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-actions .btn{
  padding: 14px 30px;
  font-size: 0.95rem;
}

.scroll-down{
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px;
  height: 42px;
  border: 2px solid var(--line-strong);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-down span{
  width: 4px;
  height: 8px;
  background: var(--yellow);
  border-radius: 2px;
  animation: scrollDown 1.6s ease-in-out infinite;
}
@keyframes scrollDown{
  0%{ opacity: 1; transform: translateY(0); }
  70%{ opacity: 0; transform: translateY(12px); }
  100%{ opacity: 0; transform: translateY(0); }
}

/* ---------- Sections (general) ---------- */
.section{
  padding: 110px 0;
}
.section-dark{
  background: var(--black-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-eyebrow{
  color: var(--yellow);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.8rem;
  margin-bottom: 14px;
}
.section-title{
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}
.section-text{
  color: var(--grey);
  font-size: 1.02rem;
  margin-bottom: 16px;
}

/* ---------- Hakkımda ---------- */
.stat-row{ border-top: 1px solid var(--line); padding-top: 24px; }
.stat-num{
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--yellow);
  line-height: 1;
}
.stat-label{
  color: var(--grey);
  font-size: 0.82rem;
  margin-top: 6px;
}

.about-photo-frame{
  position: relative;
  border: 1px solid var(--line-strong);
  aspect-ratio: 4/5;
  overflow: hidden;
}
.about-photo{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(15%) contrast(1.05);
}
.about-photo-frame::after{
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(245,197,24,0.0);
  border-bottom: 4px solid var(--yellow);
}

/* ---------- Program kartları ---------- */
.program-card{
  background: var(--black);
  border: 1px solid var(--line);
  padding: 36px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color .25s ease, transform .25s ease;
}
.program-card:hover{
  border-color: var(--yellow);
  transform: translateY(-6px);
}
.program-featured{
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}
.program-featured .program-tag,
.program-featured .program-desc,
.program-featured .program-list li{
  color: rgba(12,12,13,0.72);
}
.program-featured .program-list li::before{
  color: var(--black);
}
.program-tag{
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--grey);
  margin-bottom: 12px;
}
.program-card h3{
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.program-desc{
  color: var(--grey);
  font-size: 0.94rem;
  margin-bottom: 20px;
}
.program-list{
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  flex-grow: 1;
}
.program-list li{
  font-size: 0.9rem;
  color: var(--grey);
  padding: 9px 0 9px 20px;
  position: relative;
  border-top: 1px solid var(--line);
}
.program-list li:first-child{ border-top: none; }
.program-list li::before{
  content: "—";
  position: absolute;
  left: 0;
  color: var(--yellow);
}

/* ---------- Sertifikalar ---------- */
.cert-card{
  background: var(--black-soft);
  border: 1px solid var(--line);
  padding: 30px 18px;
  text-align: center;
  height: 100%;
  transition: border-color .2s ease, transform .2s ease;
}
.cert-card:hover{
  border-color: var(--yellow);
  transform: translateY(-4px);
}
.cert-icon{ font-size: 2rem; margin-bottom: 12px; }
.cert-card h4{
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.cert-card p{
  color: var(--grey);
  font-size: 0.82rem;
  margin: 0;
}
.placeholder-note{
  color: var(--grey);
  font-size: 0.82rem;
  font-style: italic;
}

/* ---------- Galeri ---------- */
.gallery-item{
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  border: 1px solid var(--line);
  padding: 0;
  background: none;
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .4s ease;
}
.gallery-item:hover img{ transform: scale(1.06); }

.gallery-placeholder{
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--line-strong);
  color: var(--grey);
  font-size: 0.85rem;
  cursor: default;
}

.gallery-modal-content{
  background: var(--black);
  border: 1px solid var(--line-strong);
  position: relative;
}
.gallery-modal-content .btn-close{
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
}

/* ---------- İletişim ---------- */
.contact-info-item{
  display: flex;
  flex-direction: column;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.contact-info-item:first-child{ border-top: none; }
.contact-label{
  color: var(--grey);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.social-links{ display: flex; gap: 12px; }
.social-links a{
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  transition: all .2s ease;
}
.social-links a:hover{
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}

.contact-form .form-label{
  color: var(--grey);
  font-size: 0.82rem;
  margin-bottom: 6px;
}
.contact-form .form-control,
.contact-form .form-select{
  background: var(--black-soft);
  border: 1px solid var(--line-strong);
  color: var(--white);
  border-radius: 2px;
  padding: 12px 14px;
}
.contact-form .form-control:focus,
.contact-form .form-select:focus{
  background: var(--black-soft);
  color: var(--white);
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(245,197,24,0.15);
}
.contact-form .form-control::placeholder{ color: var(--grey); }
.contact-form select option{ background: var(--black-soft); color: var(--white); }

.form-success{
  margin-top: 22px;
  border: 1px solid var(--yellow);
  padding: 20px;
  font-size: 0.95rem;
}
.form-success strong{ display: block; margin-bottom: 4px; color: var(--yellow); }

/* ---------- Footer ---------- */
.footer{
  background: var(--black-soft);
  border-top: 1px solid var(--line);
  padding: 28px 0;
  font-size: 0.85rem;
  color: var(--grey);
}
.footer-top-link{
  color: var(--grey);
  font-weight: 600;
  transition: color .2s ease;
}
.footer-top-link:hover{ color: var(--yellow); }

/* ---------- Scroll reveal ---------- */
.reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in{
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px){
  .navbar-collapse{
    background: rgba(12,12,13,0.98);
    margin-top: 14px;
    padding: 18px;
    border: 1px solid var(--line);
  }
  .hero{ align-items: flex-end; }
  .hero-content{ padding-bottom: 10vh; }
}

@media (max-width: 575.98px){
  .section{ padding: 80px 0; }
  .hero-actions .btn{ width: 100%; }
}
