/* ============================================================
   landing.css  —  elegantni landing page sa carousel-om
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

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

:root {
  --gold:        #c9a96e;
  --gold-light:  #e6c88f;
  --gold-dim:    rgba(201, 169, 110, 0.15);
  --gold-glow:   rgba(201, 169, 110, 0.30);
  --cream:       #faf7f2;
  --cream-2:     #f2ece0;
  --ink:         #1a1410;
  --ink-soft:    #4a3f30;
  --muted:       #9a8a72;
  --card:        rgba(255,255,255,0.72);
  --r:           4px;
  --r-lg:        12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Jost", sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025; mix-blend-mode: multiply; z-index: 100;
}

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px clamp(24px, 6vw, 80px);
  background: rgba(250, 247, 242, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(201,169,110,0.16);
}
.nav-logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px; font-weight: 400; letter-spacing: 0.06em;
  color: var(--ink); text-decoration: none;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 12px; font-weight: 400; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-soft); text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover { color: var(--gold); }

/* ===== HERO ===== */
.hero {
  min-height: 100svh; display: grid; place-items: center;
  text-align: center; padding: 120px clamp(24px, 8vw, 120px) 80px;
  position: relative;
  background:
    radial-gradient(ellipse 900px 600px at 50% 60%, rgba(201,169,110,.10), transparent 70%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 28px;
  animation: fadeUp .8s ease both;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ""; width: 32px; height: 1px; background: var(--gold); opacity: 0.55;
}
.hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(52px, 9vw, 110px); font-weight: 300;
  line-height: 1.05; letter-spacing: -0.01em;
  color: var(--ink); max-width: 900px; margin: 0 auto 12px;
  animation: fadeUp .8s .1s ease both;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-sub {
  font-size: clamp(15px, 2vw, 18px); font-weight: 300; color: var(--muted);
  max-width: 500px; margin: 0 auto 48px; line-height: 1.7;
  animation: fadeUp .8s .2s ease both;
}
.hero-cta {
  display: inline-flex; gap: 16px; flex-wrap: wrap; justify-content: center;
  animation: fadeUp .8s .3s ease both;
}
.btn-gold {
  display: inline-block; padding: 14px 34px;
  background: var(--gold); color: var(--cream);
  font-family: "Jost", sans-serif; font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  border: none; border-radius: var(--r); cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 8px 28px rgba(201,169,110,.32);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 14px 36px rgba(201,169,110,.42); }
.btn-outline {
  display: inline-block; padding: 13px 34px; background: transparent;
  color: var(--ink-soft); font-family: "Jost", sans-serif; font-size: 12px;
  font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; border: 1px solid rgba(201,169,110,.40);
  border-radius: var(--r); cursor: pointer; transition: border-color .2s, color .2s, transform .15s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.scroll-hint {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--muted); font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  animation: fadeUp .8s .6s ease both;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .4; transform: scaleY(1); }
  50%       { opacity: 1;  transform: scaleY(1.1); }
}

/* ===== SECTION SHARED ===== */
.section { padding: clamp(80px, 12vw, 140px) clamp(24px, 6vw, 80px); }
.section-label {
  display: flex; align-items: center; gap: 14px;
  font-size: 10px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.section-label::after {
  content: ""; flex: 1; max-width: 60px; height: 1px; background: var(--gold); opacity: .5;
}
.section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(36px, 5vw, 58px); font-weight: 300; line-height: 1.12;
  color: var(--ink); max-width: 640px; margin-bottom: 60px;
}
.section-title em { font-style: italic; color: var(--gold); }

/* ===== HOW IT WORKS ===== */
.how {
  background: var(--cream-2);
  border-top: 1px solid rgba(201,169,110,.14);
  border-bottom: 1px solid rgba(201,169,110,.14);
}
.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 48px; max-width: 1000px;
}
.step { display: flex; flex-direction: column; gap: 14px; }
.step-num {
  font-family: "Cormorant Garamond", serif; font-size: 64px; font-weight: 300;
  line-height: 1; color: rgba(201,169,110,.22); letter-spacing: -2px;
}
.step h3 { font-family: "Cormorant Garamond", serif; font-size: 22px; font-weight: 400; color: var(--ink); }
.step p { font-size: 15px; font-weight: 300; color: var(--muted); line-height: 1.7; }

/* ===== CAROUSEL SECTION ===== */
.carousel-section { overflow: hidden; }
.carousel-section .section-title { margin-bottom: 48px; }

.carousel-outer {
  position: relative;
  margin: 0 clamp(-24px, -6vw, -80px);
  padding: 0 clamp(24px, 6vw, 80px);
}

/* Track — scrollable container */
.carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  padding-bottom: 8px;
  /* allow cards to overflow section padding naturally */
  margin: 0 clamp(-24px, -6vw, -80px);
  padding-left: clamp(24px, 6vw, 80px);
  padding-right: clamp(24px, 6vw, 80px);
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }

/* Each slide */
.carousel-slide {
  flex: 0 0 clamp(280px, 38vw, 440px);
  scroll-snap-align: start;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
  background: #111;
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
  user-select: none;
}
.carousel-slide:hover { transform: translateY(-6px); box-shadow: 0 24px 56px rgba(0,0,0,.22); }

/* Theme preview area */
.slide-preview {
  aspect-ratio: 4 / 4.5;
  position: relative;
  overflow: hidden;
}
.slide-bg {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; padding: 32px;
  transition: transform .5s ease;
}
.carousel-slide:hover .slide-bg { transform: scale(1.03); }

/* Theme-specific preview backgrounds */
.slide-bg.bg-obsidian {
  background: linear-gradient(145deg, #0e0e0f 0%, #1a0808 60%, #0e0e0f 100%);
}
.slide-bg.bg-aurora {
  background: linear-gradient(145deg, #faf8fd 0%, #ecddf5 50%, #fce8f0 100%);
}
.slide-bg.bg-soleil {
  background: linear-gradient(145deg, #0a0a08 0%, #1a1000 60%, #0a0a08 100%);
}
.slide-bg.bg-ivory {
  background: linear-gradient(145deg, #fefefc 0%, #f4ede0 60%, #fefefc 100%);
}

/* Decorative elements inside previews */
.slide-deco {
  font-size: 52px; line-height: 1;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.3));
}
.slide-mockup {
  width: 80%; max-width: 200px;
  background: rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 14px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.12);
}
.bg-aurora .slide-mockup,
.bg-ivory .slide-mockup {
  background: rgba(255,255,255,.5);
  border-color: rgba(0,0,0,.08);
}
.mockup-bar {
  height: 6px; border-radius: 3px; margin-bottom: 8px;
  background: rgba(255,255,255,.3);
}
.bg-aurora .mockup-bar { background: rgba(155,123,184,.4); }
.bg-ivory .mockup-bar { background: rgba(184,150,91,.35); }
.bg-soleil .mockup-bar { background: rgba(245,158,11,.4); }
.bg-obsidian .mockup-bar { background: rgba(192,57,43,.5); }
.mockup-bar:nth-child(2) { width: 70%; }
.mockup-bar:nth-child(3) { width: 50%; }
.mockup-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 10px;
}
.mockup-img {
  aspect-ratio: 1; border-radius: 4px;
  background: rgba(255,255,255,.18);
}
.bg-aurora .mockup-img { background: rgba(155,123,184,.25); }
.bg-ivory .mockup-img { background: rgba(184,150,91,.2); }
.bg-soleil .mockup-img { background: rgba(245,158,11,.25); }
.bg-obsidian .mockup-img { background: rgba(192,57,43,.3); }

/* Gradient overlay at bottom of preview */
.slide-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; height: 55%;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 100%);
  pointer-events: none;
}
.bg-aurora .slide-overlay,
.bg-ivory .slide-overlay {
  background: linear-gradient(to top, rgba(20,10,30,.45) 0%, transparent 100%);
}

/* Slide info bar */
.slide-info {
  padding: 20px 22px 22px;
  background: #fff;
  display: flex; justify-content: space-between; align-items: flex-end;
}
.bg-obsidian ~ .slide-info,
.slide-info.dark { background: #111; }

.slide-theme-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px; font-weight: 400; line-height: 1; color: var(--ink);
  margin-bottom: 4px;
}
.slide-theme-desc { font-size: 12px; font-weight: 300; color: var(--muted); letter-spacing: .04em; }
.slide-price-wrap { text-align: right; flex-shrink: 0; }
.slide-price {
  font-family: "Cormorant Garamond", serif;
  font-size: 26px; font-weight: 400; color: var(--gold); line-height: 1;
}
.slide-price-label { font-size: 10px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }

/* Hover reveal overlay on slide */
.slide-expand {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.0);
  display: grid; place-items: center;
  opacity: 0;
  transition: opacity .25s ease, background .25s ease;
  pointer-events: none;
}
.carousel-slide:hover .slide-expand {
  opacity: 1;
  background: rgba(0,0,0,.12);
}
.slide-expand-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.92);
  display: grid; place-items: center;
  font-size: 22px;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  transform: scale(0.8);
  transition: transform .25s ease;
}
.carousel-slide:hover .slide-expand-icon { transform: scale(1); }

/* Carousel controls */
.carousel-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; margin-top: 40px;
}
.carousel-btn {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(201,169,110,.35);
  background: transparent; color: var(--ink-soft);
  font-size: 18px; display: grid; place-items: center;
  cursor: pointer; transition: border-color .2s, background .2s, color .2s, transform .15s;
}
.carousel-btn:hover {
  border-color: var(--gold); background: var(--gold); color: var(--cream);
  transform: scale(1.08);
}
.carousel-dots {
  display: flex; gap: 8px; align-items: center;
}
.carousel-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(201,169,110,.3);
  cursor: pointer; transition: background .2s, transform .2s;
  border: none; padding: 0;
}
.carousel-dot.active {
  background: var(--gold);
  transform: scale(1.4);
}

/* ===== CONTACT ===== */
.contact {
  background: var(--ink); color: var(--cream);
  text-align: center; position: relative; overflow: hidden;
}
.contact::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 700px 500px at 50% 100%, rgba(201,169,110,.10), transparent 70%);
  pointer-events: none;
}
.contact .section-label { justify-content: center; color: var(--gold-light); }
.contact .section-label::after { display: none; }
.contact .section-title { color: var(--cream); margin: 0 auto 16px; text-align: center; }
.contact-sub { font-size: 16px; font-weight: 300; color: rgba(250,247,242,.50); margin-bottom: 48px; }
.contact-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
.contact-link {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px; border: 1px solid rgba(201,169,110,.30);
  border-radius: var(--r); color: var(--cream); text-decoration: none;
  font-size: 13px; font-weight: 300; letter-spacing: .06em;
  transition: border-color .2s, background .2s, color .2s;
}
.contact-link:hover { border-color: var(--gold); background: rgba(201,169,110,.1); color: var(--gold-light); }
.contact-link svg { width: 17px; height: 17px; fill: currentColor; }

/* ===== FOOTER ===== */
.footer {
  background: var(--ink);
  border-top: 1px solid rgba(201,169,110,.10);
  padding: 22px clamp(24px, 6vw, 80px);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 11px; letter-spacing: .08em; color: rgba(250,247,242,.28); }
.footer-brand { font-family: "Cormorant Garamond", serif; font-size: 17px; font-weight: 300; color: rgba(250,247,242,.38); letter-spacing: .06em; }

/* ===== LIGHTBOX ===== */
.lb-modal {
  display: none; position: fixed; inset: 0;
  z-index: 200; background: rgba(26,20,16,.90);
  backdrop-filter: blur(12px); padding: 24px;
}
.lb-modal.open { display: grid; place-items: center; }
.lb-modal.open > * { grid-area: 1 / 1; }
.lb-img {
  max-width: min(92vw, 1100px); max-height: 88vh;
  object-fit: contain; border-radius: var(--r-lg);
  box-shadow: 0 32px 80px rgba(0,0,0,.55);
  border: 1px solid rgba(201,169,110,.18); display: block; cursor: zoom-out;
}
.lb-close {
  position: fixed; top: 20px; right: 24px;
  width: 44px; height: 44px;
  border: 1px solid rgba(201,169,110,.35); border-radius: 50%;
  background: rgba(26,20,16,.82); color: var(--cream); font-size: 22px;
  display: grid; place-items: center; cursor: pointer;
  transition: border-color .2s, background .2s; z-index: 201;
}
.lb-close:hover { border-color: var(--gold); background: rgba(201,169,110,.15); }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .steps { gap: 36px; }
  .footer { flex-direction: column; text-align: center; }
  .carousel-slide { flex: 0 0 78vw; }
}