/* ── Zor Đevojka — Calligraphy & Sacred Art ─────────────────────────────── */

/* ── Custom properties ────────────────────────────────────────────────────── */
:root {
  --cream:      #FAF7F2;
  --cream-dark: #F0E8DC;
  --gold:       #B8892B;
  --gold-light: #D4AA57;
  --gold-pale:  #F5EDDA;
  --ink:        #1A1208;
  --ink-mid:    #3D2B18;
  --ink-muted:  #7A6255;
  --border:     #E2D5C3;
  --white:      #FFFDF9;
  --shadow:     rgba(26, 18, 8, 0.08);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-elegant: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --nav-h: 72px;
  --radius: 4px;
  --max-w: 1200px;
  --section-pad: 96px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Typography ───────────────────────────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.2rem; font-weight: 600; }

p { color: var(--ink-mid); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border: 1.5px solid var(--gold);
}
.btn-primary:hover { background: var(--ink-mid); border-color: var(--ink-mid); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.88);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.6); }

.btn-full { width: 100%; justify-content: center; }

/* ── Placeholder images ────────────────────────────────────────────────────── */
.placeholder-img {
  background: var(--cream-dark);
  position: relative;
  overflow: hidden;
}
.placeholder-img::after {
  content: attr(data-placeholder);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  color: var(--ink-muted);
  text-align: center;
  padding: 12px;
  font-family: var(--font-body);
  letter-spacing: 0.03em;
  line-height: 1.4;
}
.placeholder-img img { width: 100%; height: 100%; object-fit: cover; }

/* ── Layout helpers ───────────────────────────────────────────────────────── */
.section {
  padding: var(--section-pad) 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.bg-cream-dark { background: var(--cream-dark); max-width: 100%; padding-inline: 0; }
.bg-cream-dark > * { max-width: var(--max-w); margin: 0 auto; }
.bg-ink { background: var(--ink); max-width: 100%; color: var(--white); }

.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.section-head p { margin-top: 12px; font-size: 1rem; }
.section-cta { text-align: center; margin-top: 48px; }

/* ── Navigation ───────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,247,242,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex-shrink: 0;
}
.logo-cyrillic {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.logo-latin {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 400;
  color: var(--ink-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 36px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mid);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}
.lang-btn {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  transition: color 0.2s;
  padding: 2px;
}
.lang-btn.active { color: var(--gold); }
.lang-btn:hover { color: var(--gold); }
.lang-sep { color: var(--border); font-size: 0.8rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: all 0.25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  min-height: calc(100svh - var(--nav-h));
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 32px;
  gap: 64px;
}

.hero-text { max-width: 540px; }
.hero-text h1 { margin-bottom: 20px; }
.hero-sub {
  font-size: 1.1rem;
  color: var(--ink-muted);
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-cta .btn-ghost { color: var(--ink-mid); border-color: var(--border); }
.hero-cta .btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.hero-image { position: relative; }
.hero-img-wrap {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 2px;
  overflow: hidden;
}
.hero-img-wrap .placeholder-img { width: 100%; height: 100%; }

.hero-badge {
  position: absolute;
  bottom: 24px;
  left: -24px;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 10px 20px;
  font-family: var(--font-elegant);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-mid);
  box-shadow: 0 4px 24px var(--shadow);
  border-radius: var(--radius);
}

/* ── Marquee ──────────────────────────────────────────────────────────────── */
.marquee-bar {
  background: var(--ink);
  padding: 14px 0;
  overflow: hidden;
  user-select: none;
}
.marquee-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  padding: 0 18px;
  font-weight: 400;
}
.marquee-track .dot { color: var(--gold); padding: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Gallery ──────────────────────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-dark);
  cursor: pointer;
}
.gallery-card:hover .gallery-caption { opacity: 1; transform: translateY(0); }

.gallery-card.tall {
  grid-row: span 2;
}

.gallery-img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  background-size: cover;
  background-position: center;
}
.gallery-card.tall .gallery-img { min-height: 520px; }

.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(26,18,8,0.85) 0%, transparent 100%);
  padding: 40px 20px 20px;
  color: var(--white);
  font-family: var(--font-elegant);
  font-style: italic;
  font-size: 1.1rem;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s ease;
}

/* ── Video section ────────────────────────────────────────────────────────── */
.video-section {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--section-pad) 32px;
  background: var(--gold-pale);
}

.video-text h2 { margin-bottom: 16px; }
.video-text p { color: var(--ink-muted); line-height: 1.7; }

.video-wrap { position: relative; }
.video-placeholder {
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  background: var(--cream-dark);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: opacity 0.2s;
}
.video-placeholder:hover { opacity: 0.9; }
.video-placeholder::after { display: none; }

.play-btn {
  width: 64px;
  height: 64px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px var(--shadow);
  color: var(--gold);
  transition: transform 0.2s;
}
.play-btn:hover { transform: scale(1.08); }
.play-btn svg { width: 28px; height: 28px; }

.video-placeholder-label {
  font-size: 0.8rem;
  color: var(--ink-muted);
  font-style: italic;
  z-index: 1;
}

/* ── Shop ─────────────────────────────────────────────────────────────────── */
.bg-cream-dark.section {
  padding: var(--section-pad) 32px;
}

.shop-categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

.cat-btn {
  padding: 8px 20px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--ink-muted);
  background: var(--white);
  transition: all 0.18s;
}
.cat-btn.active, .cat-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.product-card:hover { box-shadow: 0 8px 32px var(--shadow); border-color: var(--gold); }

.product-img {
  aspect-ratio: 1/1;
  background: var(--cream-dark);
  position: relative;
  overflow: hidden;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-img.placeholder-img { aspect-ratio: 1/1; }

.product-body { padding: 20px; }
.product-cat {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 6px;
}
.product-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 6px;
}
.product-desc { font-size: 0.84rem; color: var(--ink-muted); line-height: 1.55; }
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.product-price { font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); font-weight: 600; }
.product-price .currency { font-size: 0.78rem; font-weight: 400; color: var(--ink-muted); margin-left: 2px; }
.product-cta { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); font-weight: 500; }

.shop-note { font-size: 0.88rem; color: var(--ink-muted); margin-bottom: 16px; }

/* ── Values ───────────────────────────────────────────────────────────────── */
.values-section {
  background: var(--ink);
  max-width: 100%;
  padding: var(--section-pad) 32px;
}
.values-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}

.value-item { text-align: center; }
.value-icon {
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 16px;
}
.value-item h3 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 10px;
}
.value-item p { color: rgba(255,255,255,0.55); font-size: 0.9rem; }

/* ── About ────────────────────────────────────────────────────────────────── */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--section-pad) 32px;
}

.about-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
}
.about-img-placeholder { width: 100%; height: 100%; background-size: cover; background-position: center; }

.about-text h2 { margin-bottom: 24px; }
.about-body p {
  font-size: 1rem;
  color: var(--ink-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-body p:last-child { margin-bottom: 32px; }

/* ── Instagram ────────────────────────────────────────────────────────────── */
.insta-section {
  padding: var(--section-pad) 0;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: 32px;
}
.insta-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.insta-handle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--gold);
  transition: color 0.2s;
}
.insta-handle:hover { color: var(--ink); }

.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.insta-cell {
  aspect-ratio: 1/1;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity 0.2s;
  background-size: cover;
  background-position: center;
}
.insta-cell:hover { opacity: 0.85; }

/* ── Contact ──────────────────────────────────────────────────────────────── */
.contact-section {
  padding: var(--section-pad) 32px;
}
.contact-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-text h2 { color: var(--white); margin-bottom: 20px; }
.contact-text p { color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 32px; }
.eyebrow.light { color: var(--gold-light); }

.contact-links { display: flex; flex-direction: column; gap: 16px; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  transition: color 0.2s;
}
.contact-link:hover { color: var(--gold-light); }
.contact-link svg { width: 18px; height: 18px; flex-shrink: 0; }

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s;
  width: 100%;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-light);
}

.form-note { font-size: 0.82rem; color: rgba(255,255,255,0.5); text-align: center; min-height: 1.2em; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--ink-mid);
  color: rgba(255,255,255,0.6);
  padding: 48px 32px 32px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}

.footer-logo { display: flex; flex-direction: column; gap: 4px; }
.footer-logo .logo-cyrillic { font-family: var(--font-display); font-size: 1.2rem; color: var(--white); }
.footer-tagline { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.4); }

.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-nav a:hover { color: var(--gold-light); }

.footer-social { display: flex; gap: 16px; }
.footer-social a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-social a:hover { color: var(--gold-light); }
.footer-social svg { width: 20px; height: 20px; }

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  :root { --section-pad: 64px; }

  .nav-links { display: none; }
  .hamburger { display: flex; }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    right: 0;
    bottom: 0;
    left: 0;
    inset: var(--nav-h) 0 0 0;
    background: #FAF7F2;
    background-color: var(--cream);
    padding: 32px;
    gap: 24px;
    z-index: 200;
    border-top: 1px solid var(--border);
  }
  .nav-links.mobile-open a { font-size: 1.2rem; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 48px 24px 64px;
    gap: 48px;
  }
  .hero-image { order: -1; }
  .hero-img-wrap { aspect-ratio: 4/3; }
  .hero-badge { left: 16px; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-card.tall { grid-row: span 1; }
  .gallery-card.tall .gallery-img { min-height: 240px; }

  .video-section { grid-template-columns: 1fr; gap: 48px; }

  .values-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }

  .about-section { grid-template-columns: 1fr; gap: 48px; }
  .about-img-wrap { aspect-ratio: 4/3; }

  .insta-grid { grid-template-columns: repeat(3, 1fr); }

  .contact-inner { grid-template-columns: 1fr; gap: 48px; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
}

@media (max-width: 540px) {
  :root { --section-pad: 48px; }

  .nav-inner { padding: 0 20px; gap: 12px; }

  .hero { padding: 40px 20px 56px; }

  .gallery-grid { grid-template-columns: 1fr; }

  .values-grid { grid-template-columns: 1fr; gap: 28px; }

  .insta-grid { grid-template-columns: repeat(2, 1fr); }

  .section { padding: var(--section-pad) 20px; }
  .video-section, .contact-section, .values-section { padding-inline: 20px; }
}

/* ── Scroll reveal ────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
