/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --cream:      #FBF8F9;  /* sıcak beyaza yakın */
  --cream-dark: #F3EAEE;  /* çok soft blush zemin */
  --sand:       #E2CCD4;  /* sessiz pastel gül */
  --sage:       #B07E8D;  /* muted mauve-gül (az pembe, elit) */
  --sage-dark:  #8C5F70;  /* koyu mauve */
  --sage-light: #E5D1D8;  /* açık pastel */
  --charcoal:   #352A2F;
  --warm-gray:  #948089;
  --white:      #FFFFFF;
  --success:    #4FA877;
  --warning:    #E0973F;
  --error:      #D14B6A;
  --radius:     16px;
  --shadow:     0 6px 28px rgba(176,126,141,.12);
}
html { scroll-behavior: smooth; }
body { font-family: 'Montserrat', sans-serif; background: var(--cream); color: var(--charcoal); line-height: 1.6; font-weight: 500; }
h1,h2,h3,h4 { font-family: 'Montserrat', sans-serif; font-weight: 800; letter-spacing: -.5px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn-primary { display: inline-block; background: linear-gradient(135deg, var(--sage), var(--sage-dark)); color: #fff; padding: 14px 28px; border-radius: 12px; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 15px; border: none; cursor: pointer; box-shadow: 0 6px 18px rgba(176,126,141,.32); transition: transform .2s, box-shadow .2s; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(176,126,141,.42); }
.btn-outline { display: inline-block; border: 1.5px solid var(--sage); color: var(--sage); padding: 13px 28px; border-radius: 12px; font-weight: 600; font-size: 15px; transition: all .2s; }
.btn-outline:hover { background: var(--sage); color: #fff; }
.btn-nav { background: var(--sage); color: #fff !important; padding: 10px 22px; border-radius: 10px; font-weight: 600; transition: background .2s; }
.btn-nav:hover { background: var(--sage-dark); }
.btn-full { width: 100%; text-align: center; }
.btn-disabled { background: var(--cream-dark); color: var(--warm-gray); padding: 14px 28px; border-radius: 12px; font-weight: 600; font-size: 15px; border: none; cursor: not-allowed; display: inline-block; }

/* ── Nav ──────────────────────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 100; background: var(--cream); border-bottom: 1px solid rgba(226,204,212,.3); backdrop-filter: blur(12px); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: 800; letter-spacing: -.5px; color: var(--charcoal); display: inline-flex; align-items: center; }
.logo span { color: var(--sage); }
.logo img { height: 42px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 14px; color: var(--warm-gray); font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--sage); }
.hamburger { display: none; background: none; border: none; font-size: 24px; cursor: pointer; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero { padding: 80px 0 60px; background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%); }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-sub { font-size: 13px; font-weight: 600; letter-spacing: 2px; color: var(--sage); text-transform: uppercase; margin-bottom: 16px; }
.hero h1 { font-size: 64px; line-height: 1.05; color: var(--charcoal); margin-bottom: 20px; }
.hero-desc { color: var(--warm-gray); font-size: 16px; line-height: 1.7; margin-bottom: 32px; max-width: 440px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; flex-direction: column; gap: 20px; }
.stat-card { background: var(--white); border: 1px solid rgba(226,204,212,.4); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow); }
.stat-num { font-family: 'Montserrat', sans-serif; font-size: 48px; font-weight: 800; letter-spacing: -1px; color: var(--sage); }
.stat-label { font-size: 13px; color: var(--warm-gray); font-weight: 500; }

/* ── Occupancy Bar ────────────────────────────────────────────────────────── */
.occupancy-bar { background: var(--sage); padding: 16px 0; }
.occ-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.occ-left { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 500; }
.live-dot { width: 10px; height: 10px; background: #7fff7f; border-radius: 50%; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.6;transform:scale(1.3)} }
.occ-right { display: flex; align-items: center; gap: 16px; flex: 1; max-width: 400px; }
.occ-bar-wrap { flex: 1; height: 8px; background: rgba(255,255,255,.25); border-radius: 8px; overflow: hidden; }
.occ-bar-fill { height: 100%; background: #fff; border-radius: 8px; transition: width .5s; }
.occ-pct { color: rgba(255,255,255,.9); font-size: 13px; white-space: nowrap; }

/* ── Section Commons ──────────────────────────────────────────────────────── */
section { padding: 80px 0; }
.section-label { font-size: 12px; font-weight: 600; letter-spacing: 2px; color: var(--sage); text-transform: uppercase; margin-bottom: 12px; }
.section-head { text-align: center; margin-bottom: 48px; position: relative; }
.section-head h2 { font-size: 40px; }
.see-all { position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--sage); font-weight: 600; font-size: 14px; }

/* ── About ────────────────────────────────────────────────────────────────── */
.about { background: var(--white); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.about-text h2 { font-size: 40px; margin-bottom: 20px; }
.about-text p { color: var(--warm-gray); margin-bottom: 16px; }
.about-text .btn-primary { margin-top: 8px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature-card { background: var(--cream); border-radius: var(--radius); padding: 24px; border: 1px solid rgba(226,204,212,.4); }
.feature-card { transition: transform .25s ease, box-shadow .25s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-rule { display: block; width: 34px; height: 3px; border-radius: 3px; background: var(--sage); margin-bottom: 16px; }
.feature-card h4 { font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.feature-card p { font-size: 13px; color: var(--warm-gray); }

/* ── Classes ──────────────────────────────────────────────────────────────── */
.classes-section { background: var(--cream); }
.classes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.class-card { background: var(--white); border-radius: 20px; padding: 24px; border: 1px solid rgba(226,204,212,.4); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.class-top { display: flex; gap: 8px; }
.class-type { padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.class-type.mat      { background: rgba(176,126,141,.12); color: var(--sage-dark); }
.class-type.reformer { background: rgba(140,95,112,.14); color: var(--sage-dark); }
.class-type.zumba    { background: rgba(224,151,63,.15); color: var(--warning); }
.class-type.step     { background: rgba(79,168,119,.15); color: var(--success); }
.class-level { padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 500; background: var(--cream); color: var(--warm-gray); }
.class-card h3 { font-size: 20px; }
.class-trainer, .class-time { font-size: 13px; color: var(--warm-gray); }
.spots-bar { height: 6px; background: var(--cream); border-radius: 6px; overflow: hidden; margin-bottom: 6px; }
.spots-fill { height: 100%; background: var(--sage); border-radius: 6px; }
.class-spots span { font-size: 12px; color: var(--warm-gray); }

/* ── Studio ───────────────────────────────────────────────────────────────── */
.studio { background: var(--cream-dark); }
.studio-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.studio-item { text-align: center; padding: 32px 16px; background: var(--white); border-radius: 20px; }
.studio-item { transition: transform .25s ease, box-shadow .25s ease; }
.studio-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.studio-rule { display: block; width: 36px; height: 3px; border-radius: 3px; background: var(--sage); margin: 0 auto 18px; }
.studio-item h4 { font-family: 'Montserrat', sans-serif; font-weight: 600; margin-bottom: 8px; }
.studio-item p { font-size: 13px; color: var(--warm-gray); }

/* ── Blog ─────────────────────────────────────────────────────────────────── */
.blog-section { background: var(--white); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: var(--cream); border-radius: 20px; padding: 28px; border: 1px solid rgba(226,204,212,.4); display: flex; flex-direction: column; gap: 12px; transition: transform .2s, box-shadow .2s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-cat { display: inline-block; background: rgba(122,140,110,.15); color: var(--sage-dark); padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 600; text-transform: uppercase; }
.blog-card h3 { font-size: 20px; }
.blog-card p { font-size: 13px; color: var(--warm-gray); flex: 1; }
.blog-meta { font-size: 12px; color: var(--sand); }

/* ── Contact ──────────────────────────────────────────────────────────────── */
.contact-section { background: var(--cream); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info h2 { font-size: 40px; margin-bottom: 24px; }
.info-items { display: flex; flex-direction: column; gap: 14px; }
.info-item { font-size: 15px; color: var(--warm-gray); }
.contact-form { background: var(--white); border-radius: 24px; padding: 36px; border: 1px solid rgba(226,204,212,.4); display: flex; flex-direction: column; gap: 16px; }
.contact-form h3 { font-size: 24px; margin-bottom: 4px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 14px 18px; border: 1.5px solid rgba(226,204,212,.6); border-radius: 12px; font-family: 'Montserrat', sans-serif; font-size: 14px; background: var(--cream); color: var(--charcoal); outline: none; transition: border-color .2s; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--sage); }
.contact-form textarea { resize: vertical; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.footer { background: var(--charcoal); padding: 60px 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand .logo { color: var(--white); font-size: 28px; }
.footer-brand p { color: rgba(255,255,255,.5); margin-top: 12px; font-size: 14px; }
.footer-links h4 { color: var(--white); font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.footer-links a { display: block; color: rgba(255,255,255,.5); font-size: 14px; margin-bottom: 10px; transition: color .2s; }
.footer-links a:hover { color: var(--sage-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 24px; text-align: center; }
.footer-bottom p { color: rgba(255,255,255,.3); font-size: 13px; }

/* ── Randevu Sayfası ──────────────────────────────────────────────────────── */
.page-hero { padding: 60px 0 40px; background: linear-gradient(135deg, var(--cream), var(--cream-dark)); border-bottom: 1px solid rgba(226,204,212,.3); }
.page-hero h1 { font-size: 48px; }
.form-section { padding: 60px 0; }
.form-card { background: var(--white); border-radius: 24px; padding: 40px; max-width: 640px; margin: 0 auto; border: 1px solid rgba(226,204,212,.4); box-shadow: var(--shadow); }
.form-card h2 { font-size: 32px; margin-bottom: 8px; }
.form-card p { color: var(--warm-gray); margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 13px; color: var(--charcoal); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 14px 18px; border: 1.5px solid rgba(226,204,212,.6); border-radius: 12px; font-family: 'Montserrat', sans-serif; font-size: 14px; background: var(--cream); color: var(--charcoal); outline: none; transition: border-color .2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--sage); background: var(--white); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.alert { padding: 16px 20px; border-radius: 12px; margin-bottom: 24px; font-size: 14px; }
.alert-success { background: rgba(92,138,107,.12); color: var(--success); border: 1px solid rgba(92,138,107,.3); }
.alert-error   { background: rgba(160,85,85,.12); color: var(--error); border: 1px solid rgba(160,85,85,.3); }

/* ── Admin ────────────────────────────────────────────────────────────────── */
.admin-body { background: #f0ece4; min-height: 100vh; }
.admin-layout { display: flex; min-height: 100vh; }
.sidebar { width: 240px; background: var(--charcoal); position: fixed; top: 0; left: 0; height: 100vh; overflow-y: auto; z-index: 10; }
.sidebar-logo { padding: 32px 24px 24px; border-bottom: 1px solid rgba(255,255,255,.1); }
.sidebar-logo span { font-family: 'Montserrat', sans-serif; font-size: 28px; color: var(--white); font-weight: 300; }
.sidebar-logo small { display: block; font-size: 10px; letter-spacing: 2px; color: var(--sand); text-transform: uppercase; margin-top: 4px; }
.sidebar-nav { padding: 16px 12px; }
.sidebar-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; color: rgba(255,255,255,.6); font-size: 14px; font-weight: 500; margin-bottom: 4px; transition: all .2s; }
.sidebar-nav a:hover, .sidebar-nav a.active { background: rgba(122,140,110,.2); color: var(--white); }
.sidebar-nav a .icon { font-size: 18px; width: 24px; display: inline-flex; align-items: center; justify-content: center; }
.sidebar-nav a .icon svg { width: 18px; height: 18px; }
.stat-box .icon svg { width: 26px; height: 26px; color: var(--sage); }
.login-ico { width: 46px; height: 46px; color: var(--sage); }
.admin-main { margin-left: 240px; flex: 1; padding: 32px; }
.admin-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.admin-header h1 { font-size: 32px; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
.stat-box { background: var(--white); border-radius: 18px; padding: 24px; border: 1px solid rgba(226,204,212,.4); }
.stat-box .icon { font-size: 24px; margin-bottom: 12px; }
.stat-box .val { font-family: 'Montserrat', sans-serif; font-size: 40px; font-weight: 300; color: var(--charcoal); }
.stat-box .lbl { font-size: 13px; color: var(--warm-gray); margin-top: 4px; }
.card { background: var(--white); border-radius: 18px; padding: 28px; border: 1px solid rgba(226,204,212,.4); margin-bottom: 24px; }
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.card-head h2 { font-size: 22px; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: 12px; font-weight: 600; color: var(--warm-gray); text-transform: uppercase; letter-spacing: .5px; padding: 10px 16px; border-bottom: 1px solid rgba(226,204,212,.3); }
td { padding: 14px 16px; border-bottom: 1px solid rgba(226,204,212,.15); font-size: 14px; color: var(--charcoal); }
tr:last-child td { border-bottom: none; }
.badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.badge-pending   { background: rgba(184,137,90,.15); color: var(--warning); }
.badge-confirmed { background: rgba(92,138,107,.15); color: var(--success); }
.badge-cancelled { background: rgba(160,85,85,.15); color: var(--error); }
.btn-sm { padding: 6px 14px; border-radius: 8px; font-size: 12px; font-weight: 600; border: none; cursor: pointer; }
.btn-confirm { background: var(--success); color: #fff; }
.btn-cancel  { background: var(--error);   color: #fff; }
.btn-edit    { background: var(--sage);     color: #fff; }
.btn-delete  { background: var(--error);   color: #fff; }
.occ-admin { background: var(--sage); border-radius: 20px; padding: 32px; color: #fff; }
.occ-admin .big { font-family: 'Montserrat', sans-serif; font-size: 72px; font-weight: 200; line-height: 1; }
.admin-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--cream); }
.login-box { background: var(--white); border-radius: 24px; padding: 48px; width: 100%; max-width: 420px; border: 1px solid rgba(226,204,212,.4); box-shadow: var(--shadow); text-align: center; }
.login-box h1 { font-size: 36px; margin-bottom: 8px; }
.login-box p { color: var(--warm-gray); margin-bottom: 32px; }

/* ── Galeri (farklı oranlara saygılı, bol boşluklu, kırpmasız) ────────────── */
.gallery-section { background: var(--white); }
.gallery-grid { columns: 3; column-gap: 22px; }
.gallery-item { position: relative; display: block; break-inside: avoid; margin: 0 0 22px; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 34px rgba(53,42,47,.10); }
.gallery-item img { width: 100%; height: auto; display: block; transition: transform .6s ease; }
/* fotoğraf önü açık kalsın: karartma yalnızca hover'da, çok hafif */
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(53,42,47,.22), transparent 50%); opacity: 0; transition: opacity .45s ease; pointer-events: none; }
.gallery-item:hover { box-shadow: 0 18px 44px rgba(53,42,47,.16); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item:hover::after { opacity: 1; }

.about-photo { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); align-self: center; }
.about-photo img { width: 100%; height: auto; display: block; }

/* Hero foto modu (assets/img/hero.jpg varsa) */
.hero-photo { background-size: cover; background-position: center; }
.hero-photo .hero-sub { color: var(--sage-light); }
.hero-photo h1, .hero-photo h1 span { color: #fff; }
.hero-photo .hero-desc { color: rgba(255,255,255,.92); }
.hero-photo .stat-card { background: rgba(255,255,255,.94); }

/* ── İkonlar & Sosyal ─────────────────────────────────────────────────────── */
.info-item { display: flex; align-items: center; gap: 12px; }
.info-item svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--sage); }
.info-item a { color: inherit; transition: color .2s; }
.info-item a:hover { color: var(--sage); }
.ig-link { color: var(--sage) !important; font-weight: 700; }
.social-link { display: inline-flex; align-items: center; gap: 8px; }
.social-link svg { width: 17px; height: 17px; flex-shrink: 0; }
.contact-map iframe, .contact-map { width: 100% !important; border: 0; display: block; }
.contact-map iframe { height: 280px; }

/* ── WhatsApp Float ───────────────────────────────────────────────────────── */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 300; display: inline-flex; align-items: center; gap: 10px; background: #25D366; color: #fff; padding: 14px 20px; border-radius: 50px; font-weight: 700; font-size: 15px; box-shadow: 0 8px 24px rgba(37,211,102,.45); transition: transform .2s, box-shadow .2s; }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(37,211,102,.55); }
.wa-float svg { flex-shrink: 0; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner, .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 42px; }
  .studio-features { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr 1fr; }
  .gallery-grid { columns: 2; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
/* Nav: 7 öğe taşmasın diye menü 860px'te hamburger'a düşer */
@media (max-width: 860px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--cream); padding: 20px; border-bottom: 1px solid rgba(226,204,212,.3); gap: 18px; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 15px; }
  .hamburger { display: block; }
}
@media (max-width: 640px) {
  section { padding: 56px 0; }
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 34px; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .stat-card { min-width: 0; padding: 16px 8px; align-items: center; text-align: center; gap: 2px; }
  .stat-num { font-size: 26px; }
  .stat-label { font-size: 11px; }
  .section-head h2, .about-text h2, .contact-info h2 { font-size: 28px; }
  .blog-grid, .studio-features, .about-features { grid-template-columns: 1fr; }
  .classes-grid { grid-template-columns: 1fr; }
  .gallery-grid { columns: 1; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .occ-inner { flex-direction: column; align-items: flex-start; }
  .occ-right { max-width: 100%; width: 100%; }
  .form-card, .contact-form { padding: 24px; }
  .page-hero h1 { font-size: 34px; }
  .wa-float { padding: 13px; right: 16px; bottom: 16px; }
  .wa-float .wa-label { display: none; }
  .sidebar { transform: translateX(-100%); transition: transform .3s; }
  .sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; padding: 20px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .hero h1 { font-size: 30px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn-primary, .hero-btns .btn-outline { width: 100%; text-align: center; }
  .stats-row { grid-template-columns: 1fr; }
}
