/* ============================================================
   MyDavet — style.css
   Premium Digital Invitation Platform
   ============================================================ */

/* ── Custom Properties ── */
:root {
  --white:        #FFFFFF;
  --off-white:    #FAF8F5;
  --charcoal:     #1A1A1A;
  --charcoal-80:  rgba(26,26,26,0.8);
  --gold:         #C9A96E;
  --gold-dark:    #A07840;
  --gold-light:   #E8C070;
  --blush:        #F2E8E4;
  --blush-mid:    #D4A5A0;
  --sage:         #A8C5A0;

  --font-head:    'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --space-xs:     0.5rem;
  --space-sm:     1rem;
  --space-md:     2rem;
  --space-lg:     4rem;
  --space-xl:     6rem;
  --space-2xl:    10rem;

  --radius-sm:    4px;
  --radius-md:    8px;

  --transition:   0.35s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-slow: 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--charcoal);
  line-height: 1.65;
  overflow-x: hidden;
  cursor: none;
}

@media (pointer: coarse) {
  body { cursor: auto; }
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Custom Cursor (desktop only) ── */
#cursor,
#cursor-follower {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.08s, opacity 0.3s;
}
#cursor {
  width: 8px;
  height: 8px;
  background: var(--gold);
}
#cursor-follower {
  width: 32px;
  height: 32px;
  border: 1px solid var(--gold);
  opacity: 0.5;
  transition: transform 0.18s ease, width 0.3s, height 0.3s, opacity 0.3s;
}
body.cursor-hover #cursor-follower {
  width: 50px;
  height: 50px;
  opacity: 0.3;
}

@media (max-width: 768px) {
  #cursor, #cursor-follower { display: none; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 2.2rem;
  border-radius: 0;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border: 1px solid var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border: 1px solid var(--charcoal);
}
.btn-ghost:hover {
  background: var(--charcoal);
  color: var(--white);
}

.btn-gold-outline {
  background: transparent;
  color: var(--gold-light);
  border: 1px solid var(--gold);
}
.btn-gold-outline:hover {
  background: var(--gold);
  color: var(--charcoal);
}

/* ============================================================
   ENVELOPE INTRO OVERLAY
   ============================================================ */
#envelope-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#envelope-scene {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 900px;
}

#envelope-wrap {
  position: relative;
  width: min(420px, 90vw);
  height: min(280px, 60vw);
  transform-style: preserve-3d;
}

#envelope-body {
  position: relative;
  width: 100%;
  height: 100%;
  background: #F5EFE6;
  border: 1px solid rgba(201,169,110,0.4);
  overflow: visible;
  box-shadow:
    0 2px 6px rgba(0,0,0,0.12),
    inset 0 1px 0 rgba(255,255,255,0.6),
    0 0 0 1px rgba(201,169,110,0.15);
  /* Paper texture via CSS */
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 28px,
      rgba(201,169,110,0.04) 28px,
      rgba(201,169,110,0.04) 29px
    );
}

#env-floral-watermark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Envelope flap */
#envelope-flap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60%;
  transform-origin: top center;
  transform-style: preserve-3d;
  z-index: 5;
  overflow: hidden;
}
#envelope-flap svg {
  width: 100%;
  height: 100%;
}

/* Wax seal */
#wax-seal {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  z-index: 10;
}
#wax-seal svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 8px rgba(201,169,110,0.4));
  animation: sealBreath 2s ease-in-out 0.5s;
}

@keyframes sealBreath {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

#seal-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.seal-particle {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  left: 50%;
  top: 50%;
}

/* Envelope fold lines */
#env-fold-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ── Invite Card ── */
#invite-card {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: min(320px, 75vw);
  height: min(460px, 100vw);
  background: var(--white);
  border: 1px solid var(--gold);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 8px 40px rgba(0,0,0,0.18),
    0 0 0 6px rgba(201,169,110,0.08);
  transform-style: preserve-3d;
  will-change: transform;
}

.card-corner {
  position: absolute;
  width: 70px;
  height: 70px;
  pointer-events: none;
}
.card-corner.top-left    { top: 12px; left: 12px; }
.card-corner.top-right   { top: 12px; right: 12px; }
.card-corner.bottom-left { bottom: 12px; left: 12px; }
.card-corner.bottom-right{ bottom: 12px; right: 12px; }

#card-content {
  text-align: center;
  padding: var(--space-md);
}

#card-logo {
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(2rem, 6vw, 3rem);
  color: var(--gold);
  letter-spacing: 0.04em;
  opacity: 0;
  margin-bottom: 1.2rem;
}

#card-tagline {
  display: flex;
  flex-direction: column;
  gap: 0.2em;
}

.tagline-word {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 3.5vw, 1.6rem);
  font-weight: 300;
  color: var(--charcoal);
  opacity: 0;
  letter-spacing: 0.02em;
}

#card-subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  margin-top: 1.4rem;
}

/* Gold particles */
#gold-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.gold-particle {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
  pointer-events: none;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.3s,
              box-shadow 0.3s;
  background: var(--white);
}
#site-header.scrolled {
  box-shadow: 0 1px 0 rgba(26,26,26,0.08);
}
#site-header.nav-hidden {
  transform: translateY(-100%);
}

#site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  gap: 2rem;
}

.nav-logo {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--charcoal);
  letter-spacing: 0.03em;
  flex-shrink: 0;
  transition: color var(--transition);
}
.nav-logo:hover { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
  position: relative;
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-link:hover { color: var(--gold); }
.nav-link:hover::after { width: 100%; }

.nav-cta { font-size: 0.72rem; padding: 0.7rem 1.6rem; }

/* Hamburger */
#hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 200;
}
#hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--charcoal);
  transition: var(--transition);
}
#hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
#hamburger.open span:nth-child(2) { opacity: 0; }
#hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu overlay */
#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
  overflow: hidden;
}
#mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-floral-corner {
  position: absolute;
  width: 140px;
  height: 140px;
  pointer-events: none;
}
.mobile-floral-corner.tl { top: 0; left: 0; }
.mobile-floral-corner.br { bottom: 0; right: 0; transform: rotate(0deg); }

#mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 2rem;
  color: var(--charcoal);
  line-height: 1;
  font-weight: 300;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
  text-align: center;
}

.mobile-nav-link {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 2.2rem;
  color: var(--charcoal);
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.mobile-nav-link:hover { color: var(--gold); }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8rem 3rem 5rem;
  background: var(--white);
}

.hero-floral {
  position: absolute;
  pointer-events: none;
  will-change: transform;
}
.hero-floral-tr {
  top: -40px;
  right: -60px;
  width: min(500px, 55vw);
  opacity: 0.85;
}
.hero-floral-bl {
  bottom: -40px;
  left: -40px;
  width: min(340px, 40vw);
  opacity: 0.7;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  text-align: center;
}

.hero-headline {
  font-family: var(--font-head);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 1.1;
  color: var(--charcoal);
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}

.hero-line {
  display: block;
  overflow: hidden;
}
.hero-line-inner {
  display: block;
  transform: translateY(110%);
}

.hero-underline {
  width: min(420px, 80vw);
  margin: 0 auto 1.8rem;
  display: block;
}
#hero-underline-path {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
}

.hero-subtitle {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  font-weight: 300;
  color: var(--charcoal-80);
  letter-spacing: 0.03em;
  max-width: 480px;
  margin: 0 auto 2.8rem;
  line-height: 1.75;
  opacity: 0;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
}

/* ============================================================
   SECTION DIVIDERS
   ============================================================ */
.section-divider {
  width: 100%;
  height: 50px;
  overflow: hidden;
}
.section-divider svg { width: 100%; height: 100%; }

/* ============================================================
   SHARED SECTION STYLES
   ============================================================ */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}

.section-heading-wrap {
  position: relative;
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-title {
  font-family: var(--font-head);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--charcoal);
  letter-spacing: 0.01em;
  position: relative;
  display: inline-block;
}

/* Ink-reveal animation (clip-path) */
.ink-reveal {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.ink-reveal.revealed {
  clip-path: inset(0 0% 0 0);
}

/* Center headings that are direct children of .section-inner (no .section-heading-wrap) */
#nasil-calisir .section-title,
#ornekler .section-title,
#yorumlar .section-title {
  display: block;
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-subtitle {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--charcoal-80);
  letter-spacing: 0.06em;
  text-align: center;
  margin-top: 0.4rem;
  margin-bottom: var(--space-lg);
}

/* ============================================================
   STATS BAR
   ============================================================ */
#stats-bar {
  background: var(--off-white);
  padding: var(--space-lg) var(--space-md);
  border-top: 1px solid rgba(201,169,110,0.15);
  border-bottom: 1px solid rgba(201,169,110,0.15);
}

.stats-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 140px;
}

.stat-number {
  display: inline;
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--charcoal);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-suffix {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--gold);
  font-weight: 300;
}

.stat-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal-80);
  margin-top: 0.5rem;
}

.stat-divider {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  opacity: 0.7;
}

/* ============================================================
   SERVICES
   ============================================================ */
#hizmetler {
  background: var(--white);
}

.services-floral-bg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 340px;
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  position: relative;
  background: var(--off-white);
  border: 1px solid rgba(201,169,110,0.15);
  padding: 2.5rem 1.8rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(26,26,26,0.07);
}
.service-card:hover .service-card-accent {
  width: 100%;
}

.service-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1.5rem;
}
.service-icon svg { width: 100%; height: 100%; }

.service-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 400;
  font-style: italic;
  color: var(--charcoal);
  margin-bottom: 0.8rem;
  letter-spacing: 0.02em;
}

.service-desc {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--charcoal-80);
  line-height: 1.7;
}

.service-card-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
#nasil-calisir {
  background: var(--off-white);
}

.steps-container {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  align-items: flex-start;
}

.steps-connector {
  position: absolute;
  top: 36px;
  left: calc(50px + 2rem);
  right: calc(50px + 2rem);
  width: calc(100% - 2*(50px + 2rem));
  pointer-events: none;
  overflow: visible;
}

#steps-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
#steps-line.drawn { stroke-dashoffset: 0; }

.step-item {
  flex: 1;
  text-align: center;
  position: relative;
  padding-top: 0.5rem;
}

.step-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--gold);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--off-white);
}

.step-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 400;
  font-style: italic;
  color: var(--charcoal);
  margin-bottom: 0.7rem;
}

.step-desc {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--charcoal-80);
  line-height: 1.7;
  max-width: 200px;
  margin: 0 auto;
}

/* ============================================================
   SHOWCASE / PORTFOLIO
   ============================================================ */
#ornekler {
  background: var(--white);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.showcase-card {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(201,169,110,0.15);
}

/* Polaroid develop effect — starts overexposed */
.polaroid-card {
  filter: brightness(2) saturate(0.1);
  transition: filter 0.6s ease;
}
.polaroid-card.developed {
  filter: brightness(1) saturate(1);
}

.showcase-placeholder {
  width: 100%;
  height: 100%;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.showcase-placeholder svg {
  width: 80%;
  height: 80%;
  /* Replace with real invitation image:
     <img src="invitations/wedding-01.jpg" alt="..." class="showcase-img" /> */
}

.showcase-overlay {
  position: absolute;
  inset: 0;
  background: rgba(201,169,110,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  backdrop-filter: blur(2px);
}
.showcase-card:hover .showcase-overlay { opacity: 1; }
.showcase-card:hover { transform: scale(1.02); }

/* Linked showcase card — renders the <a> as a block grid cell */
a.showcase-card {
  display: block;
  color: inherit;
  text-decoration: none;
}
a.showcase-card:hover {
  border-color: rgba(201,169,110,0.65);
  box-shadow: 0 0 0 1px rgba(201,169,110,0.22);
}

.showcase-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.6);
  padding: 0.5rem 1.2rem;
}

.showcase-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(26,26,26,0.7);
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.5rem;
}

/* Showcase image (when real photos inserted) */
.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
#yorumlar {
  background: var(--off-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--blush);
  border: 1px solid rgba(201,169,110,0.1);
  padding: 2.5rem 2rem;
  position: relative;
}

.quote-mark {
  font-family: var(--font-head);
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.25;
  line-height: 0.8;
  margin-bottom: 0.8rem;
  display: block;
}

.testimonial-text {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  border-top: 1px solid rgba(201,169,110,0.2);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.testimonial-author strong {
  font-family: var(--font-head);
  font-size: 1rem;
  font-style: italic;
  color: var(--charcoal);
}
.testimonial-author span {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
#cta-banner {
  position: relative;
  background: var(--charcoal);
  padding: var(--space-xl) var(--space-md);
  text-align: center;
  overflow: hidden;
}

.cta-floral {
  position: absolute;
  width: 160px;
  height: 160px;
  pointer-events: none;
}
.cta-floral-tl { top: 0; left: 0; }
.cta-floral-tr { top: 0; right: 0; transform: scaleX(-1); }
.cta-floral-bl { bottom: 0; left: 0; transform: scaleY(-1); }
.cta-floral-br { bottom: 0; right: 0; transform: scale(-1); }

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-headline {
  font-family: var(--font-head);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  color: var(--white);
  letter-spacing: 0.01em;
  margin-bottom: 2rem;
  line-height: 1.2;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--off-white);
  border-top: 1px solid rgba(201,169,110,0.15);
  padding: var(--space-xl) var(--space-md);
  text-align: center;
}

.footer-inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.footer-brand {
  position: relative;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-wreath {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.footer-wordmark {
  position: relative;
  z-index: 1;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--charcoal);
  letter-spacing: 0.04em;
}

.footer-tagline {
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--charcoal-80);
}

.footer-email {
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.04em;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}
.footer-email:hover { border-color: var(--gold); }

.footer-social {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal-80);
  border: 1px solid rgba(201,169,110,0.3);
  border-radius: 50%;
  transition: var(--transition);
}
.social-link svg { width: 16px; height: 16px; }
.social-link:hover {
  color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.footer-copy {
  font-size: 0.7rem;
  color: var(--charcoal-80);
  letter-spacing: 0.05em;
}
.footer-copy a {
  color: var(--gold);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}
.footer-copy a:hover { border-color: var(--gold); }

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float-wrap {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-float {
  position: relative;
  z-index: 2;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float svg {
  width: 28px;
  height: 28px;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}

.whatsapp-pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: waPulse 2.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes waPulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  bottom: 50%;
  transform: translateY(50%);
  background: var(--charcoal);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 400;
  white-space: nowrap;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right: none;
  border-left-color: var(--charcoal);
}
.whatsapp-float-wrap:hover .whatsapp-tooltip { opacity: 1; }

/* ============================================================
   SCROLL REVEAL UTILITIES
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1),
              transform 0.8s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-card {
  opacity: 0;
  transform: translateY(40px) rotate(-1deg);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1),
              transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal-card.visible {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
  .testimonials-grid .testimonial-card:last-child {
    grid-column: 1 / -1;
    max-width: 500px;
    margin: 0 auto;
  }
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .showcase-grid .showcase-card:last-child {
    display: none;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  /* ── Navigation ── */
  #site-nav { padding: 1.2rem 1.5rem; gap: 0; }
  .nav-links, .nav-cta { display: none; }
  #hamburger { display: flex; }

  /* ── Hero ──
     Override clamp minimum so "Bir Sanat Eserine" (17 chars) fits at 375–414px.
     At 375px: 7.5vw = 28.1px. Line fits in 327px content area. */
  #hero { padding: 6rem 1.5rem 4rem; }
  .hero-headline { font-size: clamp(1.75rem, 7.5vw, 2.4rem); line-height: 1.15; }
  .hero-subtitle { font-size: 0.88rem; max-width: 100%; }
  .hero-ctas { gap: 0.75rem; }
  .hero-floral-tr { width: 44vw; right: -12px; top: -8px; opacity: 0.5; }
  .hero-floral-bl { width: 28vw; left: -8px; bottom: -8px; opacity: 0.4; }

  /* ── Stats bar ── */
  #stats-bar { padding: var(--space-md) 1.5rem; }
  .stats-container { flex-direction: column; gap: 1rem; }
  .stat-divider { width: 32px; height: 32px; transform: rotate(90deg); }

  /* ── Section shared ── */
  .section-inner { padding: var(--space-lg) 1.5rem; }
  .section-heading-wrap { margin-bottom: var(--space-md); }
  .section-subtitle { margin-bottom: var(--space-md); }

  /* Unwrapped section-titles — reduce spacing on mobile too */
  #nasil-calisir .section-title,
  #ornekler .section-title,
  #yorumlar .section-title {
    margin-bottom: var(--space-md);
  }

  /* ── Services — 2-col at 480–768px, drops to 1-col at ≤480px ── */
  .services-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .service-card { padding: 1.6rem 1rem; }
  .service-title { font-size: 1.1rem; }
  .service-desc { font-size: 0.78rem; }

  /* ── How it works ── */
  .steps-container { flex-direction: column; align-items: center; max-width: 100%; }
  .steps-connector { display: none; }
  .step-item { width: 100%; max-width: 320px; }
  .step-desc { max-width: 100%; }

  /* ── Showcase ── */
  .showcase-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .showcase-grid .showcase-card:nth-child(n+5) { display: none; }

  /* ── Testimonials ── */
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-grid .testimonial-card:last-child { grid-column: auto; max-width: none; margin: 0; }
  .testimonial-card { padding: 2rem 1.5rem; }

  /* ── CTA banner ── */
  #cta-banner { padding: var(--space-lg) 1.5rem; }
  .cta-floral { width: 70px; height: 70px; }

  /* ── Footer ── */
  footer { padding: var(--space-lg) 1.5rem; }

  /* ── Envelope intro ── */
  #envelope-wrap { width: min(340px, 88vw); height: min(230px, 58vw); }
  #invite-card { width: min(260px, 80vw); height: min(380px, 105vw); }
  #card-content { padding: 1rem; }
  #card-logo { font-size: clamp(1.6rem, 5.5vw, 2.2rem); margin-bottom: 0.8rem; }
  .tagline-word { font-size: clamp(0.9rem, 3vw, 1.3rem); }
  #card-subtitle { font-size: 0.68rem; letter-spacing: 0.08em; margin-top: 1rem; }

  /* ── WhatsApp — hide tooltip to prevent off-screen overflow on touch devices ── */
  .whatsapp-tooltip { display: none; }
  .whatsapp-float-wrap { bottom: 1.5rem; right: 1.5rem; }
}

/* ============================================================
   RESPONSIVE — NARROW MOBILE (≤ 480px)
   Service cards drop to 1-col: 2-col at 390px gives only ~117px
   of usable text area per card, causing severe crowding.
   ============================================================ */
@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  .service-card { padding: 2rem 1.5rem; }
  .service-title { font-size: 1.2rem; }
  .service-desc { font-size: 0.82rem; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤ 375px)
   ============================================================ */
@media (max-width: 375px) {
  /* Showcase: 1-col, limit to 3 cards */
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-grid .showcase-card:nth-child(n+4) { display: none; }

  /* Envelope card — extra compact on smallest screens */
  #card-content { padding: 0.75rem; }
  #card-subtitle { font-size: 0.64rem; letter-spacing: 0.05em; }

  /* Hero buttons: stack and fill width */
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; max-width: 280px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  #envelope-overlay { display: none; }
  .ink-reveal { clip-path: none; }
  .polaroid-card { filter: none; }
  .reveal, .reveal-card {
    opacity: 1;
    transform: none;
  }
}
