  :root {
    --gold: #C9943A;
    --gold-mid: #B8832A;
    --gold-light: #E8C882;
    --gold-pale: #F5E4B8;
    --gold-bg: #FBF4E6;

    --pink: #D4919E;
    --pink-mid: #C07080;
    --pink-light: #EAB8C0;
    --pink-pale: #FAF0F2;
    --blush: #F5E6E9;
    --rose: #a9003c;

    --cream: #FDF8F3;
    --cream-warm: #F8F0E8;
    --white: #FFFFFF;

    --text-dark: #2D1B12;
    --text-mid: #5A3828;
    --text-soft: #7A5548;
    --text-muted: #9A7060;
  }

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

  html {
    scroll-behavior: smooth;
  }

  body {
    background: var(--pink);
    font-family: 'Raleway', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
  }

  /* ══════════════════════════════
   ENVELOPE
══════════════════════════════ */
  #envelope-scene {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: radial-gradient(ellipse at 40% 35%, #5C2A38 0%, #3A1420 55%, #210C14 100%);
    overflow: hidden;
    transition: opacity 1s ease, visibility 1s ease;
  }

  #envelope-scene.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .petal-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
  }

  .fp {
    position: absolute;
    border-radius: 50% 50% 50% 0;
    animation: floatUp linear infinite;
    opacity: 0;
  }

  @keyframes floatUp {
    0% {
      transform: translateY(105vh) rotate(0deg) scale(.6);
      opacity: 0;
    }

    5% {
      opacity: .65;
    }

    90% {
      opacity: .4;
    }

    100% {
      transform: translateY(-5vh) rotate(540deg) scale(1);
      opacity: 0;
    }
  }

  .env-container {
    position: relative;
    width: clamp(300px, 82vw, 440px);
    cursor: pointer;
    filter: drop-shadow(0 30px 70px rgba(0, 0, 0, .65));
  }

  .env-container:hover .seal-wrap {
    transform: translate(-50%, -50%) scale(1.07);
  }

  .env-body {
    position: relative;
    width: 100%;
    padding-top: 68%;
    background: linear-gradient(160deg, #f6eee3 0%, #ede1d0 60%, #e4d5c0 100%);
    border-radius: 4px 4px 10px 10px;
    box-shadow: inset 0 -4px 20px rgba(0, 0, 0, .07);
  }

  .env-side-l {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 calc(.68 * clamp(300px, 82vw, 440px)) calc(.5 * clamp(300px, 82vw, 440px));
    border-color: transparent transparent #dacfc3 transparent;
    z-index: 2;
  }

  .env-side-r {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: calc(.68 * clamp(300px, 82vw, 440px)) 0 0 calc(.5 * clamp(300px, 82vw, 440px));
    border-color: transparent transparent transparent #d0c5b9;
    z-index: 2;
  }

  .env-flap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    border-style: solid;
    border-width: calc(.53 * clamp(300px, 82vw, 440px)) calc(.5 * clamp(300px, 82vw, 440px)) 0 calc(.5 * clamp(300px, 82vw, 440px));
    border-color: #ede4d8 transparent transparent transparent;
    transform-origin: top center;
    z-index: 10;
    /* idle — no transition so it snaps clean on load */
    backface-visibility: hidden;
    will-change: transform;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.16));
  }

  /* ── Phase 1: kapak önce hafifçe yukarı kalkıyor (peel) ── */
  .env-flap.lifting {
    transform: perspective(700px) rotateX(-18deg) translateY(-4px);
    border-color: #f7efe4 transparent transparent transparent;
    filter: drop-shadow(0 8px 18px rgba(0,0,0,.24));
    transition:
      transform  .3s cubic-bezier(.4, 0, .2, 1),
      filter     .3s ease,
      border-color .2s ease;
  }

  /* ── Phase 2: tam açılım — gerçekçi katlama ── */
  .env-flap.open {
    transform: perspective(700px) rotateX(-180deg);
    border-color: #cec0ad transparent transparent transparent;
    filter: drop-shadow(0 -6px 20px rgba(0,0,0,.32));
    transition:
      transform  .78s cubic-bezier(.22, .68, .2, 1.2),
      filter     .78s ease,
      border-color .25s ease .15s;
  }

  .env-border {
    position: absolute;
    inset: 10px;
    border: 1.5px solid rgba(201, 148, 58, .32);
    pointer-events: none;
    z-index: 3;
  }

  .env-border::before {
    content: '';
    position: absolute;
    inset: 5px;
    border: .5px solid rgba(201, 148, 58, .18);
  }

  .env-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
  }

  .env-names {
    position: absolute;
    bottom: 7%;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Dancing Script', cursive;
    font-size: clamp(22px, 5vw, 38px);
    color: rgba(60, 28, 12, .8);
    white-space: nowrap;
    z-index: 4;
    pointer-events: none;
  }

  /* wax seal */
  .seal-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    transition: transform .4s ease;
    width: clamp(108px, 20vw, 148px);
    height: clamp(108px, 20vw, 148px);
  }

  .seal-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 6px 22px rgba(80, 20, 20, .45));
  }

  .seal-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
  }

  .seal-overlay-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(18px, 3.5vw, 24px);
    font-weight: 700;
    color: #f5e4b8;
    text-shadow: 0 1px 5px rgba(60, 10, 10, .6);
    letter-spacing: 4px;
    line-height: 1;
  }

  .seal-overlay-year {
    font-family: 'Raleway', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 3px;
    color: rgba(245, 228, 184, .8);
    margin-top: 4px;
  }

  .env-hint {
    margin-top: 28px;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold-mid);
    animation: breathe 2.5s ease-in-out infinite;
  }

  @keyframes breathe {

    0%,
    100% {
      opacity: .3;
    }

    50% {
      opacity: 1;
    }
  }

  /* ══════════════════════════════
   SITE
══════════════════════════════ */
  #site {
    position: fixed;
    inset: 0;
    overflow-y: auto;
    overflow-x: hidden;
    background: var(--cream);
    opacity: 0;
    visibility: hidden;
    transition: opacity .9s ease .4s;
  }

  #site.visible {
    opacity: 1;
    visibility: visible;
  }

  /* ── HERO ── */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px 90px;
    background: linear-gradient(175deg, #FEF6F8 0%, #FAF0F3 40%, var(--cream) 100%);
    overflow: hidden;
  }

  .hero-botanicals {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
  }

  .couple-img {
    position: relative;
    z-index: 2;
    width: clamp(300px, 58vw, 400px);
    margin-bottom: 0;
    animation: fadeDown 1.2s ease .5s both;
  }

  .couple-img img {
    width: 100%;
    height: auto;
    display: block;
  }

  @keyframes fadeDown {
    from {
      opacity: 0;
      transform: translateY(-18px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeUp 1.2s ease .8s both;
  }

  @keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(22px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .hero-eyebrow {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--pink-mid);
    margin-bottom: 14px;
  }

  .hero-names {
    font-family: 'Dancing Script', serif;
    font-size: clamp(54px, 13vw, 102px);
    font-weight: 900;
    font-style: italic;
    color: var(--text-dark);
    line-height: .9;
    letter-spacing: -1px;
  }

  .hero-amp {
    font-size: .38em;
    color: var(--rose);
    font-weight: 400;
    font-style: normal;
    letter-spacing: 6px;
    margin: 12px 12px;
  }

  .hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 24px 0 18px;
  }

  .hero-divider-line {
    width: 50px;
    height: 1px;
    background: var(--gold);
    opacity: .5;
  }

  .hero-divider-diamond {
    width: 5px;
    height: 5px;
    background: var(--rose);
    transform: rotate(45deg);
  }

  .hero-date {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    color: var(--rose);
    letter-spacing: 3px;
  }

  .scroll-cue {
    display: none;
  }

  .scroll-cue-line {
    display: none;
  }

  /* ── COUNTDOWN ── */
  .countdown-section {
    background: linear-gradient(135deg, #2D1520 0%, #3D1A28 100%);
    padding: 72px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .countdown-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(201, 148, 58, .1), transparent 60%);
  }

  .countdown-label {
    font-size: 10px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--pink-light);
    margin-bottom: 8px;
    position: relative;
  }

  .countdown-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-style: italic;
    color: rgba(255, 255, 255, .82);
    margin-bottom: 48px;
    position: relative;
  }

  .countdown-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(12px, 4vw, 48px);
    flex-wrap: wrap;
    position: relative;
  }

  .cd-unit {
    text-align: center;
  }

  .cd-number {
    font-family: 'Playfair Display', serif;
    font-size: clamp(44px, 11vw, 78px);
    font-weight: 900;
    color: var(--cream);
    line-height: 1;
    min-width: 2ch;
  }

  .cd-label {
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-top: 4px;
  }

  .cd-sep {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    color: rgba(201, 148, 58, .35);
    line-height: 1;
    padding-bottom: 14px;
  }

  /* ── SECTIONS ── */
  .section {
    max-width: 840px;
    margin: 0 auto;
    padding: 80px 24px;
  }

  .section-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--pink-mid);
    margin-bottom: 12px;
    text-align: center;
  }

  .section-badge::before,
  .section-badge::after {
    content: '';
    display: block;
    width: 22px;
    height: 1px;
    background: var(--pink-light);
    text-align: center;
  }

  .section-title {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(38px, 7vw, 52px);
    font-weight: 600;
    font-style: normal;
    color: var(--text-dark);
    margin-bottom: 40px;
    line-height: 1.1;
    text-align: center;
  }

  /* ── EVENT CARDS ── */
  .events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  @media(min-width:580px) {
    .events-grid {
      grid-template-columns: 1fr 1fr;
    }
  }

  .event-card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 28px rgba(180, 100, 120, .09), 0 1px 4px rgba(0, 0, 0, .04);
    border: 1px solid rgba(212, 145, 158, .2);
  }

  .event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
  }

  .event-card.nikah::before {
    background: linear-gradient(90deg, var(--pink), var(--pink-light));
  }

  .event-card.dugun::before {
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
  }

  .event-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
  }

  .event-card.nikah .event-card-icon {
    background: rgba(212, 145, 158, .13);
  }

  .event-card.dugun .event-card-icon {
    background: rgba(201, 148, 58, .13);
  }

  .event-type {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
  }

  .event-name {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 800;
    font-style: normal;
    color: var(--text-dark);
    margin-bottom: 12px;
  }

  .event-info {
    display: flex;
    flex-direction: column;
    gap: 9px;
  }

  .event-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-mid);
    font-weight: 400;
    line-height: 1.5;
  }

  .event-row svg {
    flex-shrink: 0;
    margin-top: 2px;
  }

  /* ── TIMELINE ── */
  .timeline-section {
    background: linear-gradient(160deg, var(--blush) 0%, var(--pink-pale) 55%, var(--gold-bg) 100%);
    padding: 80px 0;
  }

  .timeline-inner {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 24px;
  }

  .timeline {
    position: relative;
    margin-top: 48px;
  }

  .timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, rgba(212, 145, 158, .2), var(--pink-light), var(--gold-light), rgba(212, 145, 158, .2));
    transform: translateX(-50%);
  }

  @media(max-width:560px) {
    .timeline::before {
      left: 20px;
    }
  }

  .tl-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    position: relative;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease, transform .7s ease;
  }

  .tl-item.in-view {
    opacity: 1;
    transform: translateY(0);
  }

  .tl-item:nth-child(odd) {
    flex-direction: row;
  }

  .tl-item:nth-child(even) {
    flex-direction: row-reverse;
  }

  @media(max-width:560px) {

    .tl-item:nth-child(odd),
    .tl-item:nth-child(even) {
      flex-direction: row;
      padding-left: 48px;
    }
  }

  .tl-content {
    flex: 1;
    max-width: calc(50% - 28px);
    background: var(--white);
    border-radius: 14px;
    padding: 20px 22px;
    box-shadow: 0 3px 20px rgba(180, 100, 120, .07);
    border: 1px solid rgba(212, 145, 158, .15);
  }

  .tl-item:nth-child(odd) .tl-content {
    margin-right: 28px;
    text-align: right;
  }

  .tl-item:nth-child(even) .tl-content {
    margin-left: 28px;
    text-align: left;
  }

  @media(max-width:560px) {
    .tl-content {
      max-width: none;
      flex: 1;
      margin-right: 0 !important;
      margin-left: 0 !important;
      text-align: left !important;
    }
  }

  .tl-dot-wrap {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
  }

  @media(max-width:560px) {
    .tl-dot-wrap {
      left: 12px;
    }
  }

  .tl-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid white;
    margin-top: 16px;
  }

  .tl-time {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 5px;
  }

  .tl-event-name {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
    line-height: 1.3;
  }

  .tl-desc {
    font-size: 13px;
    color: var(--text-soft);
    line-height: 1.6;
  }

  /* ── ACTIONS ── */
  .actions-bg {
    background: var(--white);
  }

  .actions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
  }

  @media(min-width:580px) {
    .actions-grid {
      grid-template-columns: 1fr 1fr;
    }
  }

  .action-card {
    background: linear-gradient(160deg, var(--pink-pale) 0%, var(--gold-bg) 100%);
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: 0 4px 28px rgba(180, 100, 120, .08);
    border: 1px solid rgba(212, 145, 158, .22);
  }

  .action-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
  }

  .action-icon.pink {
    background: rgba(212, 145, 158, .15);
  }

  .action-icon.gold {
    background: rgba(201, 148, 58, .13);
  }

  .action-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 10px;
  }

  .action-desc {
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.75;
    margin-bottom: 24px;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 100px;
    font-family: 'Raleway', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all .3s ease;
  }

  .btn-pink {
    background: linear-gradient(135deg, var(--pink), var(--pink-mid));
    color: white;
    box-shadow: 0 4px 18px rgba(192, 112, 128, .3);
  }

  .btn-pink:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(192, 112, 128, .4);
  }

  .btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: white;
    box-shadow: 0 4px 18px rgba(184, 131, 42, .28);
  }

  .btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(184, 131, 42, .4);
  }

  .btn-outline-gold {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    box-shadow: none;
    transition: all 0.3s ease;
  }

  .btn-outline-gold:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-mid));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(184, 131, 42, .4);
  }

  .btn-outline-pink {
    background: transparent;
    color: var(--pink);
    border: 2px solid var(--pink);
    box-shadow: none;
  }

  .btn-outline-pink:hover {
    background: linear-gradient(135deg, var(--pink), var(--pink-mid));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 18px rgba(192, 112, 128, .3);
  }

  .qr-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
  }

  .qr-frame {
    width: 112px;
    height: 112px;
    background: white;
    border: 2px solid var(--pink-light);
    border-radius: 10px;
    padding: 6px;
  }

  .qr-frame canvas {
    width: 100%;
    height: 100%;
  }

  .qr-note {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: .3px;
  }

  .install-note {
    background: rgba(201, 148, 58, .07);
    border: 1px solid rgba(201, 148, 58, .28);
    border-radius: 12px;
    padding: 18px 22px;
    margin-top: 36px;
    font-size: 13px;
    color: var(--text-mid);
    line-height: 1.8;
  }

  .install-note strong {
    color: var(--gold);
  }

  .install-note code {
    background: rgba(212, 145, 158, .12);
    padding: 1px 7px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--pink-mid);
    font-family: monospace;
  }

  /* ══════════════════════════════
     GALERİ
  ══════════════════════════════ */
  .gallery-section {
    background: linear-gradient(160deg, var(--pink-pale) 0%, var(--blush) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
  }
  .gallery-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(201,148,58,.08), transparent 55%);
    pointer-events: none;
  }

  .gallery-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
  }

  /* başlık */
  .gallery-header {
    text-align: center;
    margin-bottom: 44px;
  }
  .gallery-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--pink-light);
    margin-bottom: 12px;
  }
  .gallery-badge::before, .gallery-badge::after {
    content: '';
    display: block;
    width: 22px;
    height: 1px;
    background: var(--pink-light);
    opacity: .5;
  }
  .gallery-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 6vw, 46px);
    font-weight: 700;
    font-style: italic;
    color: var(--cream);
    line-height: 1.1;
  }
  .gallery-subtitle {
    font-size: 13px;
    color: rgba(234,184,192,.55);
    margin-top: 10px;
    letter-spacing: 1px;
  }

  /* ── CAROUSEL TRACK ── */
  .carousel-wrap {
    position: relative;
  }

  .carousel-track-outer {
    overflow: hidden;
    border-radius: 16px;
  }

  .carousel-track {
    display: flex;
    gap: 16px;
    transition: transform .55s cubic-bezier(.4,0,.2,1);
    will-change: transform;
    cursor: grab;
    user-select: none;
  }
  .carousel-track.dragging {
    transition: none;
    cursor: grabbing;
  }

  /* ── KART ── */
  .gallery-card {
    flex: 0 0 calc(33.333% - 11px);
    min-width: 0;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    background: #1a0a10;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0,0,0,.4);
    transition: transform .3s ease, box-shadow .3s ease;
  }
  @media(max-width:700px) {
    .gallery-card { flex: 0 0 calc(80% - 8px); }
  }
  @media(min-width:701px) and (max-width:960px) {
    .gallery-card { flex: 0 0 calc(50% - 8px); }
  }

  .gallery-card:hover { transform: scale(1.02); box-shadow: 0 14px 44px rgba(0,0,0,.55); }

  .gallery-card img,
  .gallery-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
  }
  .gallery-card:hover img,
  .gallery-card:hover video { transform: scale(1.05); }

  /* tip etiketi (video) */
  .gallery-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(6px);
    border-radius: 20px;
    padding: 4px 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,.85);
  }

  /* hover overlay */
  .gallery-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(42,14,24,.7) 0%, transparent 50%);
    opacity: 0;
    transition: opacity .3s ease;
    display: flex;
    align-items: flex-end;
    padding: 16px;
  }
  .gallery-card:hover .gallery-card-overlay { opacity: 1; }
  .gallery-card-overlay-icon {
    width: 36px; height: 36px;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  /* placeholder renkli kartlar (resim yokken) */
  .gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 13px;
    color: rgba(255,255,255,.35);
    letter-spacing: 1px;
  }
  .gallery-placeholder svg { opacity: .3; }

  /* ── NAVİGASYON OKLARI ── */
  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(42,14,24,.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(201,148,58,.3);
    color: var(--gold-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s, transform .25s;
  }
  .carousel-btn:hover {
    background: rgba(92,42,56,.9);
    transform: translateY(-50%) scale(1.08);
  }
  .carousel-btn.prev { left: -18px; }
  .carousel-btn.next { right: -18px; }
  @media(max-width:600px) {
    .carousel-btn.prev { left: 6px; }
    .carousel-btn.next { right: 6px; }
  }

  /* ── DOTS ── */
  .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 24px;
  }
  .carousel-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--pink-light);
    cursor: pointer;
    transition: background .25s, transform .25s;
  }
  .carousel-dot.active {
    background: var(--gold);
    transform: scale(1.3);
  }

  /* ══════════════════════════════
     LIGHTBOX
  ══════════════════════════════ */
  #lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(20,6,12,.92);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
  }
  #lightbox.open {
    opacity: 1;
    visibility: visible;
  }

  .lb-media-wrap {
    position: relative;
    max-width: min(90vw, 1000px);
    max-height: 85vh;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,.7);
    animation: lbIn .35s cubic-bezier(.22,.68,.2,1.2) both;
  }
  @keyframes lbIn {
    from { transform: scale(.88); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
  }

  #lb-img {
    display: block;
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 16px;
  }
  #lb-video {
    display: block;
    max-width: 100%;
    max-height: 85vh;
    border-radius: 16px;
    outline: none;
  }

  .lb-close {
    position: fixed;
    top: 20px; right: 20px;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.15);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    z-index: 1001;
  }
  .lb-close:hover { background: rgba(255,255,255,.2); }

  .lb-nav {
    position: fixed;
    top: 50%; transform: translateY(-50%);
    width: 46px; height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.15);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, transform .2s;
    z-index: 1001;
  }
  .lb-nav:hover { background: rgba(255,255,255,.2); transform: translateY(-50%) scale(1.08); }
  .lb-nav.lb-prev { left: 16px; }
  .lb-nav.lb-next { right: 16px; }

  .lb-counter {
    position: fixed;
    bottom: 20px; left: 50%; transform: translateX(-50%);
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    letter-spacing: 3px;
    color: rgba(255,255,255,.45);
  }

  /* ── FOOTER ── */
  footer {
    background: linear-gradient(160deg, #2D1520 0%, #3A1428 100%);
    padding: 60px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(201, 148, 58, .08), transparent 55%);
  }

  .footer-monogram {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-style: italic;
    font-weight: 700;
    color: var(--gold-light);
    letter-spacing: 4px;
    position: relative;
  }

  .footer-tagline {
    font-size: 10px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--pink-pale);
    margin: 8px 0 28px;
    position: relative;
  }

  .footer-hr {
    width: 32px;
    height: 1px;
    background: var(--gold);
    opacity: .3;
    margin: 0 auto 20px;
    position: relative;
  }

  .footer-note {
    font-size: 14px;
    color: var(--pink-pale);
    font-weight: 300;
    position: relative;
  }

  /* ── SCROLL HAND INDICATOR ── */
  #scroll-hand {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 400;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .6s ease;
  }

  #scroll-hand.visible {
    opacity: 1;
  }

  #scroll-hand.hidden-fade {
    opacity: 0;
  }

  .scroll-hand-label {
    font-family: 'Raleway', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(160, 0, 60, .55);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    margin-bottom: 2px;
  }

.scroll-hand-svg {
  width:32px;
  height:48px;
  animation:fingerSwipe 1.8s ease-in-out infinite;
  filter:drop-shadow(0 3px 8px rgba(160,0,60,.25));
}

@keyframes fingerSwipe {
  0% { transform:translateY(-8px); opacity:.5; }
  30% { transform:translateY(8px); opacity:1; }
  60% { transform:translateY(8px); opacity:.9; }
  85% { transform:translateY(-8px); opacity:.5; }
  100% { transform:translateY(-8px); opacity:.5; }
}

  /* ── SCROLL REVEAL ── */
.reveal { opacity:0; transform:translateY(20px); transition:opacity .8s ease, transform .8s ease; }
.reveal.in-view { opacity:1; transform:translateY(0); }
.reveal-d1 { transition-delay:.1s; }
.reveal-d2 { transition-delay:.22s; }

/* ── RSVP MODAL ── */
#rsvp-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(42, 14, 24, 0.72);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility .4s ease;
}
#rsvp-modal.open {
  opacity: 1;
  visibility: visible;
}
.rsvp-modal-box {
  background: linear-gradient(160deg, #FEF6F8 0%, #FAF0F3 100%);
  border-radius: 24px;
  padding: 44px 36px 36px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 32px 80px rgba(42,14,24,.5);
  animation: modalIn .45s cubic-bezier(.22,.68,.2,1.2) both;
}
@keyframes modalIn {
  from { transform: scale(.88) translateY(24px); opacity: 0; }
  to   { transform: scale(1)   translateY(0);    opacity: 1; }
}

/* üst çiçek şeridi */
.rsvp-modal-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(90deg, var(--pink), var(--gold), var(--pink));
}

.rsvp-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(192,112,128,.12);
  color: var(--pink-mid);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.rsvp-modal-close:hover { background: rgba(192,112,128,.25); }

.rsvp-modal-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-pale), var(--blush));
  border: 2px solid rgba(212,145,158,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.rsvp-modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.2;
}

.rsvp-modal-text {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 28px;
}

.rsvp-modal-text strong {
  color: var(--rose);
  font-weight: 600;
}

.rsvp-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rsvp-modal-skip {
  font-size: 12px;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  letter-spacing: 1px;
  padding: 4px;
  transition: color .2s;
}
.rsvp-modal-skip:hover { color: var(--text-soft); }