/* ================================================================
   HEW LIGHTS — style.css
   ================================================================ */

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

/* ─── CSS VARIJABLE ─── */
:root {
  --dark:  #110d07;
  --wood:  #2a1d10;
  --mid:   #4a3322;
  --amber: #c8913a;
  --gold:  #e8b96a;
  --cream: #f5ede0;
  --text:  #e8ddd0;
  --muted: #9a8878;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --section-pad: clamp(80px, 10vw, 140px);
  --gutter:      clamp(20px, 5vw, 80px);
}

/* ─── BASE ─── */
html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  font-size: clamp(15px, 1.1vw, 17px);
  overflow-x: hidden;
}

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

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.8rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.9rem); }
h3 { font-size: clamp(1.05rem, 1.5vw, 1.35rem); }

.label {
  font-size: 0.71rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}

/* ─── LANG TOGGLE ─── */
.lang-toggle {
  display: flex;
  border: 1px solid rgba(200,145,58,0.32);
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.71rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 13px;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1;
}

.lang-btn.active                { background: var(--amber); color: var(--dark); }
.lang-btn:not(.active):hover   { color: var(--cream); background: rgba(200,145,58,0.1); }
.lang-sep                       { width: 1px; background: rgba(200,145,58,0.32); }

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px var(--gutter);
  background: linear-gradient(to bottom, rgba(17,13,7,0.97), rgba(17,13,7,0));
  transition: background 0.4s;
}

nav.scrolled { background: rgba(17,13,7,0.98); }

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--cream);
  white-space: nowrap;
}
.nav-logo span { color: var(--amber); font-style: italic; }

.nav-right  { display: flex; align-items: center; gap: 20px; }
.nav-links  { display: flex; gap: 28px; list-style: none; }

.nav-links a {
  font-size: 0.79rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--cream); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 2px;
  border: none;
  font-family: var(--font-body);
  font-size: 0.77rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
}

.btn-primary { background: var(--amber); color: var(--dark); }
.btn-primary:hover {
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,145,58,0.35);
}

.btn-outline { background: transparent; color: var(--cream); border: 1px solid rgba(245,237,224,0.22); }
.btn-outline:hover { border-color: var(--amber); color: var(--amber); transform: translateY(-2px); }

/* ─── HERO ─── */
#hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  padding: 130px var(--gutter) 80px;
}

/* drvenasti pattern pozadina */
#hero::before {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(92deg, transparent 0px, rgba(200,145,58,0.018) 1px, transparent 2px, transparent 44px),
    repeating-linear-gradient(88deg, transparent 0px, rgba(200,145,58,0.012) 1px, transparent 2px, transparent 66px);
}

/* centralni sjaj */
#hero::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 55%, rgba(200,145,58,0.09) 0%, transparent 70%);
}

.hero-inner         { position: relative; z-index: 1; text-align: center; max-width: 880px; }
.hero-eyebrow       { margin-bottom: 28px; opacity: 0; animation: fadeUp 0.8s 0.2s forwards; }
.hero-inner h1      { color: var(--cream); opacity: 0; animation: fadeUp 0.9s 0.45s forwards; }
.hero-inner h1 em   { color: var(--amber); font-style: italic; }

.hero-sub {
  margin-top: 22px;
  max-width: 540px;
  margin-inline: auto;
  color: var(--muted);
  font-size: clamp(0.93rem, 1.1vw, 1.07rem);
  opacity: 0;
  animation: fadeUp 0.9s 0.7s forwards;
}

.hero-ctas {
  margin-top: 48px;
  display: flex;
  gap: 13px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s 0.95s forwards;
}

.scroll-hint {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s 1.5s forwards;
}

.scroll-hint span {
  font-size: 0.67rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-line {
  width: 1px;
  height: 46px;
  background: linear-gradient(to bottom, var(--amber), transparent);
  animation: scrollPulse 2.2s 1.5s infinite;
}

/* ─── SECTIONS ─── */
section           { padding: var(--section-pad) var(--gutter); }
.section-header   { max-width: 680px; margin-bottom: 58px; }
.section-header .label { margin-bottom: 13px; display: block; }
.section-header p { margin-top: 16px; color: var(--muted); font-size: 1.01rem; }

.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(200,145,58,0.2), transparent);
  margin: 0 var(--gutter);
}

/* ─── PROCESS ─── */
#process { background: var(--wood); position: relative; }

#process::before {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(175deg, transparent, transparent 80px, rgba(200,145,58,0.015) 81px);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 1px;
  background: rgba(200,145,58,0.12);
  border: 1px solid rgba(200,145,58,0.12);
}

.process-step       { background: var(--wood); padding: 36px 28px; transition: background 0.3s; }
.process-step:hover { background: rgba(200,145,58,0.05); }

.step-num {
  font-family: var(--font-display);
  font-size: 2.9rem;
  color: rgba(200,145,58,0.22);
  line-height: 1;
  margin-bottom: 16px;
}

.process-step h3 { color: var(--cream); margin-bottom: 9px; }
.process-step p  { color: var(--muted); font-size: 0.89rem; line-height: 1.63; }

/* ─── GALLERY ─── */
#gallery { background: var(--dark); }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.gallery-item { overflow: hidden; background: var(--mid); aspect-ratio: 1; }

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: contain;
  background: var(--dark);
  transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}
.gallery-item:hover img { transform: scale(1.04); }

.gallery-placeholder {
  width: 100%; height: 100%; min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: linear-gradient(135deg, var(--mid), var(--wood));
  color: var(--muted);
  font-size: 0.73rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.gallery-placeholder svg { opacity: 0.22; width: 26px; height: 26px; }
.gallery-cta { margin-top: 36px; display: flex; align-items: center; gap: 20px; }

/* ─── ORDER ─── */
#order { background: var(--wood); position: relative; overflow: hidden; }

#order::before {
  content: '';
  position: absolute;
  right: -8%; top: -20%;
  width: 55%; height: 140%;
  background: radial-gradient(ellipse, rgba(200,145,58,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.order-inner     { max-width: 720px; position: relative; z-index: 1; }
.order-inner h2  { color: var(--cream); margin-bottom: 18px; }
.order-inner p   { color: var(--muted); margin-bottom: 12px; font-size: 1.01rem; }

.order-options {
  margin-top: 46px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.order-card {
  border: 1px solid rgba(200,145,58,0.2);
  padding: 28px 24px;
  background: rgba(200,145,58,0.03);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.order-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(200,145,58,0.05), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.order-card:hover         { border-color: rgba(200,145,58,0.45); }
.order-card:hover::before { opacity: 1; }

.order-icon  { width: 38px; height: 38px; margin-bottom: 16px; color: var(--amber); }
.order-card h3 { color: var(--cream); margin-bottom: 9px; font-size: 1.02rem; }
.order-card p  { color: var(--muted); font-size: 0.86rem; margin-bottom: 20px; line-height: 1.58; }

/* ─── FAQ ─── */
#faq { background: var(--dark); }

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.faq-item {
  border: 1px solid rgba(200,145,58,0.15);
  padding: 28px 26px;
  background: rgba(200,145,58,0.02);
  transition: border-color 0.3s;
}

.faq-item:hover { border-color: rgba(200,145,58,0.38); }
.faq-item h3 { color: var(--cream); margin-bottom: 10px; font-size: 1.05rem; }
.faq-item p  { color: var(--muted); font-size: 0.89rem; line-height: 1.65; }

/* ─── FOOTER ─── */
footer {
  background: #0a0804;
  padding: 54px var(--gutter) 32px;
  border-top: 1px solid rgba(200,145,58,0.1);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 38px;
  margin-bottom: 46px;
}

.footer-brand .nav-logo { font-size: 1.3rem; display: block; margin-bottom: 11px; }
.footer-brand p { color: var(--muted); font-size: 0.86rem; max-width: 215px; line-height: 1.65; }

.footer-col h4 {
  font-size: 0.69rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 13px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li,
.footer-col ul li a    { color: var(--muted); font-size: 0.86rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--cream); }

.footer-bottom {
  border-top: 1px solid rgba(200,145,58,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { color: var(--muted); font-size: 0.76rem; }

/* ─── ANIMACIJE ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

.reveal         { opacity: 0; transform: translateY(26px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 820px) {
  .nav-links { display: none; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 7px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item { aspect-ratio: 1; }
  .order-options { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 480px) {
  .nav-right .btn { display: none; }
}
