/* ==========================================================
   Rio Spa Fatsa
   ========================================================== */

:root {
  --green-900: #0b1711;
  --green-800: #0f1f17;
  --green-700: #15291f;
  --green-600: #1d3529;
  --gold: #d4b06a;
  --gold-light: #ecd59f;
  --gold-dark: #a8843f;
  --sage: #b9cf7a;
  --cream: #f5efe3;
  --cream-dim: #cfc6b4;
  --wa: #25d366;
  --wa-dark: #1da851;

  --serif: "Cormorant Garamond", Georgia, serif;
  --script: "Great Vibes", cursive;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --header-h: 76px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--cream);
  background: var(--green-800);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0; }

.script {
  font-family: var(--script);
  font-weight: 400;
  color: var(--sage);
  letter-spacing: 0;
  text-transform: none;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
}

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 220px;
  margin: 22px 0;
  color: var(--gold);
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.divider::after { background: linear-gradient(90deg, var(--gold), transparent); }
.divider svg { width: 30px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.ico { width: 1.2em; height: 1.2em; flex-shrink: 0; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 0;
  border-radius: 999px;
  font: 500 1rem var(--sans);
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}
.btn-gold {
  color: var(--green-900);
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  box-shadow: 0 10px 30px -10px rgba(212, 176, 106, .6);
}
.btn-wa {
  color: #fff;
  background: var(--wa);
  box-shadow: 0 10px 30px -10px rgba(37, 211, 102, .55);
}
.btn-wa:hover { background: var(--wa-dark); }
.btn-sm { padding: 10px 20px; font-size: .92rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(11, 23, 17, .92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(212, 176, 106, .18);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--gold); }
.brand-mark { width: 40px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-sub {
  margin-top: 4px;
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .55em;
  text-transform: uppercase;
  color: var(--cream-dim);
  text-align: center;
}

.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav a {
  position: relative;
  font-size: .95rem;
  font-weight: 400;
  color: var(--cream);
  opacity: .85;
  transition: opacity .2s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -6px;
  height: 1px;
  background: var(--gold);
  transition: right .25s ease;
}
.nav a:hover { opacity: 1; }
.nav a:hover::after { right: 0; }
.nav-call { display: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(212, 176, 106, .4);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 1.5px;
  margin: 5px auto;
  background: var(--gold);
  transition: transform .3s, opacity .3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(212, 176, 106, .14), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(185, 207, 122, .08), transparent 50%),
    linear-gradient(160deg, var(--green-700), var(--green-900));
}
.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  right: -120px; top: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 213, 159, .12), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 600;
  color: var(--cream);
}
.hero h1 .script { font-size: 1.12em; line-height: 1.15; display: inline-block; padding-left: .1em; }
.lead { max-width: 30em; color: var(--cream-dim); font-size: 1.12rem; margin: 0 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual { position: relative; justify-self: end; width: min(460px, 100%); }
.arch {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 24px 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.arch::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(236, 213, 159, .5);
  border-radius: inherit;
  pointer-events: none;
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 40% center; }

.badge {
  position: absolute;
  left: -50px; bottom: 40px;
  width: 150px; height: 150px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.05;
  color: var(--cream);
  background: radial-gradient(circle at 30% 30%, var(--green-600), var(--green-900));
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 6px rgba(15, 31, 23, .7), var(--shadow);
}
.badge span:nth-child(2) { color: var(--sage); }
.badge .script { font-size: 1.7rem; color: var(--gold-light); margin-top: 4px; }

/* ---------- Öne çıkanlar ---------- */
.perks {
  border-block: 1px solid rgba(212, 176, 106, .25);
  background: linear-gradient(90deg, var(--green-900), var(--green-700), var(--green-900));
}
.perks-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.perk {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 34px 16px;
  text-align: center;
}
.perk + .perk { border-left: 1px solid rgba(212, 176, 106, .18); }
.perk-ico { width: 42px; height: 34px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.perk h3 {
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cream);
  max-width: 16em;
  line-height: 1.5;
}

/* ---------- Bölümler ---------- */
.section { padding: 110px 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .divider { margin-inline: auto; }
.section h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.section h2 .script { font-size: 1.15em; }

/* Hizmetler */
.services { background: var(--green-800); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, var(--green-700), var(--green-900));
  border: 1px solid rgba(212, 176, 106, .18);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.service:hover { transform: translateY(-6px); border-color: rgba(212, 176, 106, .55); box-shadow: var(--shadow); }
.service-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.service-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11, 23, 17, .85));
}
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service:hover .service-img img { transform: scale(1.06); }
.service-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 26px; }
.service h3 { font-size: 1.6rem; color: var(--gold-light); margin-bottom: 10px; }
.service p { margin: 0 0 20px; font-size: .97rem; color: var(--cream-dim); flex: 1; }
.service-link {
  align-self: flex-start;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(212, 176, 106, .4);
  padding-bottom: 3px;
  transition: color .2s, border-color .2s;
}
.service-link:hover { color: var(--gold-light); border-color: var(--gold-light); }

/* Hakkımızda */
.about {
  background:
    radial-gradient(ellipse at 0% 50%, rgba(212, 176, 106, .1), transparent 50%),
    var(--green-900);
}
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-img { position: relative; }
.about-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-img::before {
  content: "";
  position: absolute;
  inset: -16px 16px 16px -16px;
  border: 1px solid rgba(212, 176, 106, .45);
  border-radius: var(--radius);
  z-index: -1;
}
.about-img { z-index: 0; }
.about blockquote {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 500;
  line-height: 1.2;
}
.about blockquote .script { font-size: 1.2em; }
.about-copy p { color: var(--cream-dim); }
.script-line { font-family: var(--script); font-size: 2rem; color: var(--gold) !important; margin: 10px 0 0; }

/* Randevu */
.booking {
  background:
    linear-gradient(rgba(11, 23, 17, .88), rgba(11, 23, 17, .94)),
    url("../img/aromaterapi.jpg") center / cover;
}
.booking-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.booking-copy p:not(.eyebrow) { color: var(--cream-dim); max-width: 30em; }
.booking-actions { display: grid; gap: 14px; margin-top: 30px; max-width: 380px; }

.contact-tile, .contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(212, 176, 106, .25);
  transition: background .2s, border-color .2s, transform .2s;
}
.contact-tile:hover, .contact-card:hover { background: rgba(212, 176, 106, .08); border-color: var(--gold); transform: translateY(-2px); }
.contact-tile small, .contact-card small {
  display: block;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-tile strong, .contact-card strong { display: block; font-weight: 500; font-size: 1.15rem; color: var(--cream); line-height: 1.35; }
.contact-card em { font-style: normal; color: var(--sage); font-size: .95rem; }
.tile-ico {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  flex-shrink: 0;
  border-radius: 50%;
  color: var(--green-900);
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
}
.tile-wa .tile-ico, .tile-ico.ico-wa { background: var(--wa); color: #fff; }

.booking-form {
  padding: 36px;
  border-radius: 24px;
  background: rgba(15, 31, 23, .85);
  border: 1px solid rgba(212, 176, 106, .3);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}
.booking-form h3 { font-size: 1.9rem; color: var(--gold-light); margin-bottom: 22px; }
.booking-form label { display: block; margin-bottom: 16px; }
.booking-form label > span {
  display: block;
  margin-bottom: 6px;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.booking-form label em { font-style: normal; text-transform: none; letter-spacing: 0; opacity: .7; }
.booking-form input, .booking-form select, .booking-form textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid rgba(212, 176, 106, .3);
  background: rgba(255, 255, 255, .05);
  color: var(--cream);
  font: 400 1rem var(--sans);
  color-scheme: dark;
  transition: border-color .2s;
}
.booking-form select option { background: var(--green-800); }
.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus { border-color: var(--gold); }
.booking-form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-error { margin: -4px 0 14px; color: #f2a38f; font-size: .92rem; }

/* İletişim */
.contact { background: var(--green-800); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: stretch; }
.contact-cards { display: grid; gap: 14px; }
.map {
  min-height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(212, 176, 106, .25);
}
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(.35) contrast(1.05); }

/* Footer */
.site-footer {
  padding: 56px 0 40px;
  background: var(--green-900);
  border-top: 1px solid rgba(212, 176, 106, .2);
  text-align: center;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer-tag { margin: 6px 0 0; font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--cream-dim); }
.footer-copy { margin: 0; font-size: .85rem; color: rgba(207, 198, 180, .6); }

/* ---------- Sabit düğmeler ---------- */
.float-actions {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fab {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  box-shadow: 0 10px 25px -8px rgba(0, 0, 0, .6);
  transition: transform .2s;
}
.fab:hover { transform: scale(1.08); }
.fab .ico { width: 26px; height: 26px; }
.fab-call { color: var(--green-900); background: linear-gradient(135deg, var(--gold-light), var(--gold-dark)); }
.fab-wa { position: relative; color: #fff; background: var(--wa); }
.fab-wa::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--wa);
  z-index: -1;
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.6); opacity: 0; }
}

.mobile-bar { display: none; }

/* ---------- Animasyon ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .fab-wa::before { animation: none; }
  * { transition-duration: 0s !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .header-cta { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .site-header { background: rgba(11, 23, 17, .92); backdrop-filter: blur(10px); }

  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 24px;
    background: rgba(11, 23, 17, .98);
    border-bottom: 1px solid rgba(212, 176, 106, .25);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform .35s ease, visibility .35s;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav a { padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid rgba(212, 176, 106, .12); }
  .nav a::after { display: none; }
  .nav-call { display: block; color: var(--gold) !important; border-bottom: 0 !important; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 36px); }
  .hero-inner { grid-template-columns: 1fr; gap: 50px; }
  .hero-copy { text-align: center; }
  .hero .divider { margin-inline: auto; }
  .lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { justify-self: center; width: min(360px, 82%); }
  .badge { left: -36px; bottom: 24px; width: 120px; height: 120px; font-size: .95rem; }
  .badge .script { font-size: 1.35rem; }

  .perks-grid { grid-template-columns: repeat(2, 1fr); }
  .perk:nth-child(3) { border-left: 0; }
  .perk:nth-child(n+3) { border-top: 1px solid rgba(212, 176, 106, .18); }

  .section { padding: 80px 0; }
  .about-inner, .booking-inner, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-img { max-width: 560px; margin-inline: auto; }
  .booking-actions { max-width: none; }

  /* Mobilde alt çubuk, yüzen düğmelerin yerini alır */
  .float-actions { display: none; }
  .mobile-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(11, 23, 17, .96);
    border-top: 1px solid rgba(212, 176, 106, .3);
    backdrop-filter: blur(10px);
  }
  .mobile-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px;
    border-radius: 12px;
    font-weight: 500;
  }
  .mb-call { color: var(--green-900); background: linear-gradient(135deg, var(--gold-light), var(--gold-dark)); }
  .mb-wa { color: #fff; background: var(--wa); }
  body { padding-bottom: 76px; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  .service-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .booking-form { padding: 26px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .brand-name { font-size: 1.4rem; }
  .perk { padding: 26px 10px; }
}
