/* =====================================================================
   SIBEL ÇAĞATAY — Güzellik & Wellness | Girne
   Premium editorial design system
   ===================================================================== */

:root {
  /* Surfaces */
  --ivory:      #FAF5EE;
  --ivory-2:    #F3EADD;
  --pearl:      #FFFFFF;
  --sand:       #EFE5D5;
  --champagne:  #E7D7BC;

  /* Ink */
  --espresso:   #2A211A;
  --mocha:      #5A4A3C;
  --mocha-soft: #8A7965;

  /* Accents */
  --gold:       #B08A4D;
  --gold-deep:  #946F36;
  --gold-soft:  #CDA969;
  --blush:      #E4C7BE;
  --rose:       #D2A89D;
  --rose-deep:  #B98477;
  --sage:       #AEBBA0;
  --sage-deep:  #8B9C7B;

  /* Lines / system */
  --line:       rgba(42, 33, 26, 0.12);
  --line-soft:  rgba(42, 33, 26, 0.07);
  --shadow-sm:  0 2px 12px rgba(74, 59, 48, 0.06);
  --shadow-md:  0 18px 50px -18px rgba(74, 59, 48, 0.22);
  --shadow-lg:  0 40px 90px -40px rgba(58, 45, 34, 0.40);
  --shadow-gold: 0 18px 50px -20px rgba(176, 138, 77, 0.45);

  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 34px;
  --r-xl: 48px;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Jost", "Helvetica Neue", system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1280px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--espresso);
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* Atmospheric page grain / wash */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 600px at 12% -5%, rgba(228,199,190,0.30), transparent 60%),
    radial-gradient(800px 700px at 100% 8%, rgba(174,187,160,0.20), transparent 55%),
    radial-gradient(700px 600px at 50% 110%, rgba(205,169,105,0.14), transparent 60%);
}

/* ---------- Type scale ---------- */
.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(0.66rem, 1.4vw, 0.78rem);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow.center::after {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.eyebrow.center { justify-content: center; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -0.01em; }

.display {
  font-size: clamp(2.9rem, 9vw, 6.6rem);
  font-weight: 300;
}
.display em { font-style: italic; color: var(--gold-deep); font-weight: 400; }

h2.section-title {
  font-size: clamp(2.2rem, 6vw, 4.3rem);
  font-weight: 300;
}
h2.section-title em { font-style: italic; color: var(--gold-deep); }

.lead {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1rem, 2.4vw, 1.18rem);
  color: var(--mocha);
  line-height: 1.75;
  max-width: 56ch;
}

/* ---------- Layout ---------- */
.wrap { width: min(100% - 44px, var(--maxw)); margin-inline: auto; position: relative; z-index: 1; }
section { position: relative; z-index: 1; }
.pad { padding-block: clamp(72px, 11vw, 150px); }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  padding: 1.05em 1.9em;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .4s, color .4s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #fff;
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 26px 60px -20px rgba(176,138,77,0.62); }
.btn-ghost {
  background: rgba(255,255,255,0.5);
  border-color: var(--line);
  color: var(--espresso);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: #fff; transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.btn-wa { background: #1FA855; color: #fff; }
.btn-wa:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -18px rgba(31,168,85,0.6); }

.link-arrow {
  font-family: var(--sans);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-weight: 400;
}
.link-arrow svg { width: 15px; transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Reveal animation ---------- */
/* ---------- Reveal animation (failsafe: visible by default) ---------- */
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.hide { opacity: 0; transform: translateY(34px); }
.reveal.hide.in { opacity: 1; transform: none; }
.reveal.hide[data-d="1"] { transition-delay: .08s; }
.reveal.hide[data-d="2"] { transition-delay: .16s; }
.reveal.hide[data-d="3"] { transition-delay: .24s; }
.reveal.hide[data-d="4"] { transition-delay: .32s; }
.reveal.hide[data-d="5"] { transition-delay: .40s; }

/* Hero entrance — transform-only so content is ALWAYS visible (fast, no flash) */
@keyframes heroRise { from { transform: translateY(26px); } to { transform: none; } }
.hero .reveal { opacity: 1; animation: heroRise .7s var(--ease) both; }
.hero .reveal[data-d="1"] { animation-delay: .06s; }
.hero .reveal[data-d="2"] { animation-delay: .12s; }
.hero .reveal[data-d="3"] { animation-delay: .20s; }
.hero .reveal[data-d="4"] { animation-delay: .28s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.hide { opacity: 1 !important; transform: none !important; }
  .hero .reveal { animation: none !important; }
}

/* image-slot defaults */
.slot-img { width: 100%; height: 100%; object-fit: cover; display: block; }
image-slot {
  --slot-bg: linear-gradient(135deg, var(--ivory-2), var(--blush));
  background: var(--slot-bg);
  display: block;
}
