:root {
  --gold: #d4a73c;
  --gold-light: #e6bc5c;
  --gold-dark: #b8893a;
  --black: #0d0d0d;
  --black-soft: #1a1a1a;
  --text: #1a1a1a;
  --text-muted: #6b6b6b;
  --text-light: #9a9a9a;
  --border: #e5e5e5;
  --bg-light: #f3f3f3;
  --bg-stone: #c9bdaa;
  --white: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* HEADER */
.site-header {
  background: #000;
  padding: 5px 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.header-logo-link {
  display: inline-flex;
  grid-column: 2;
  justify-self: center;
}
.logo {
  height: 64px;
  width: auto;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  grid-column: 3;
  justify-self: end;
}
.btn-chat-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.btn-chat-icon:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.btn-chat-icon svg { width: 22px; height: 22px; }

/* HERO */
.hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--black);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 100px 24px;
  max-width: 880px;
}
.hero-content h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
  margin-bottom: 18px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}
.hero-content .tagline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--white);
  font-weight: 500;
  margin-bottom: 8px;
}
.hero-content .subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--white);
  margin-bottom: 18px;
}
.hero-content .hint {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
}

/* PRICES */
.prices {
  padding: 70px 24px;
  background: var(--white);
  text-align: center;
}
.prices h2 {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 36px;
}
.prices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
  gap: 24px;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 28px 24px;
  text-align: center;
  position: relative;
}
.price-card-featured {
  background: var(--black);
  border: 2px solid var(--gold);
}
.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--gold);
  color: var(--black);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
}
.weight {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.price-card-featured .weight {
  color: var(--gold);
}
.price {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.price-card-featured .price {
  color: var(--gold);
}
.per-kg {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 18px;
}
.price-card .btn { margin-top: 22px; }
.price-card-featured .btn { margin-top: 6px; }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  width: 100%;
  transition: opacity 0.15s, transform 0.15s;
}
.btn:hover { opacity: 0.92; transform: translateY(-1px); }
.btn-dark {
  background: var(--black);
  color: var(--gold);
}
.btn-gold {
  background: var(--gold);
  color: var(--black);
}
.btn-large {
  width: auto;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 10px;
}
.cart-icon { width: 18px; height: 18px; }

/* DELIVERY */
.delivery {
  padding: 70px 24px;
  background-color: #b9ac96;
  background-image:
    linear-gradient(rgba(245, 240, 232, 0.7), rgba(245, 240, 232, 0.7)),
    url("images/delivery-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
}
.delivery h2 {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 32px;
}
.delivery-card {
  background: var(--white);
  border-radius: 14px;
  padding: 32px;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.delivery-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 22px;
  text-align: left;
}
.delivery-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--black);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-circle svg { width: 20px; height: 20px; }
.delivery-title {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
  margin-bottom: 2px;
}
.delivery-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.delivery-note {
  background: var(--bg-light);
  border-radius: 10px;
  padding: 18px;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.6;
}

/* WHY */
.why {
  padding: 70px 24px;
  background: var(--white);
  text-align: center;
}
.why h2 {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 40px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 360px));
  gap: 28px 60px;
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
}
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.why-item .check {
  width: 22px;
  height: 22px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.why-title {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
  margin-bottom: 2px;
}
.why-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* RECIPE */
.recipe {
  position: relative;
  padding: 80px 24px;
  background-color: #1a1108;
  background-image:
    linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.75) 50%, rgba(0,0,0,0.85) 100%),
    url("images/recipe-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  text-align: center;
}
.recipe-content {
  max-width: 820px;
  margin: 0 auto;
}
.recipe-content p {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  margin-bottom: 18px;
  font-weight: 400;
}
.recipe-content p.gold {
  color: var(--gold);
}

/* ORDER */
.order {
  background: var(--black);
  color: var(--white);
  padding: 60px 24px;
  text-align: center;
}
.order h3 {
  color: var(--gold);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 18px;
}
.order p {
  margin-bottom: 8px;
  font-size: 0.98rem;
}
.order .btn { display: inline-flex; }

/* FOOTER */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 50px 24px 30px;
  text-align: center;
  border-top: 2px solid var(--gold-dark);
}
.site-footer address {
  font-style: normal;
}
.contact-line {
  margin-bottom: 8px;
  font-size: 0.95rem;
}
.phone {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 28px;
}
.phone a {
  color: var(--gold);
  text-decoration: none;
}
.phone a:hover { text-decoration: underline; }
.company {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.company-info {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 4px;
}
.site-footer hr {
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  max-width: 600px;
  margin: 28px auto;
}
.gdpr {
  font-size: 0.85rem;
  margin-bottom: 6px;
}
.gdpr-links {
  font-size: 0.85rem;
  margin-bottom: 22px;
}
.gdpr-links a {
  color: var(--gold);
}
.gdpr-links a:hover {
  text-decoration: underline;
}
.copyright {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

/* MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  overflow-y: auto;
  animation: fadeIn 0.2s ease-out;
}
.modal-overlay[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.modal {
  background: var(--white);
  color: var(--text);
  border-radius: 16px;
  width: 100%;
  max-width: 540px;
  padding: 32px 28px 28px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  border: 2px solid var(--gold);
  animation: slideUp 0.25s ease-out;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.modal-close:hover { background: var(--bg-light); }
.modal-close svg { width: 20px; height: 20px; }

.modal-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 22px;
  padding-right: 30px;
  color: var(--text);
}

/* Form */
.order-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-field { display: flex; flex-direction: column; }
.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.form-field .req { color: var(--gold-dark); margin-left: 2px; }
.form-field .opt { color: var(--text-muted); font-weight: 400; }
.form-field input {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fafafa;
  color: var(--text);
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.form-field input::placeholder { color: #b5b5b5; }
.form-field input:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(212, 167, 60, 0.15);
}
.form-field input:invalid:not(:placeholder-shown) {
  border-color: #d97a7a;
}

/* Quantity selection */
.qty-section { margin-top: 6px; }
.qty-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}
.qty-card {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  margin-bottom: 10px;
  transition: border-color 0.15s, background 0.15s;
  position: relative;
  background: var(--white);
}
.qty-card:hover { border-color: var(--gold-dark); }
.qty-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.qty-card:has(input:checked) {
  border-color: var(--gold);
  background: #fffaf0;
  box-shadow: 0 0 0 2px rgba(212, 167, 60, 0.2);
}
.qty-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
}
.qty-info { display: flex; flex-direction: column; gap: 4px; }
.qty-name { font-weight: 700; font-size: 1rem; }
.qty-discount {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 600;
  width: fit-content;
}
.qty-price { text-align: right; }
.qty-tag {
  font-size: 0.65rem;
  color: var(--gold-dark);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}
.qty-old {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.qty-amount {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}
.qty-card:has(input:checked) .qty-amount { color: var(--gold-dark); }

/* Info box */
.info-box {
  background: #fffaf0;
  border: 1px solid rgba(212, 167, 60, 0.3);
  border-radius: 10px;
  padding: 14px 16px;
  text-align: center;
}
.info-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 2px;
}
.info-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Totals */
.totals {
  background: var(--bg-light);
  border-radius: 10px;
  padding: 14px 16px;
}
.totals-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 0.92rem;
}
.totals-total {
  border-top: 1px solid #ddd;
  margin-top: 6px;
  padding-top: 10px;
  font-weight: 700;
  font-size: 1.05rem;
}
.totals-total span:last-child { color: var(--gold-dark); }

.btn-submit {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  font-weight: 700;
  margin-top: 4px;
  animation: pulse-cta 1.8s ease-in-out infinite;
}
.btn-submit:hover,
.btn-submit:focus,
.btn-submit:disabled {
  animation: none;
}
@keyframes pulse-cta {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(212, 167, 60, 0.55);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(212, 167, 60, 0);
    transform: scale(1.025);
  }
}
@media (prefers-reduced-motion: reduce) {
  .btn-submit { animation: none; }
}

.trust-line {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Sakrij default reCAPTCHA badge (pravimo svoj inline notice) */
.grecaptcha-badge { visibility: hidden !important; }

.recaptcha-note {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 4px;
}
.recaptcha-note a {
  color: var(--gold-dark);
  text-decoration: underline;
}

.form-error {
  background: #fdecec;
  color: #b54040;
  border: 1px solid #f5c2c2;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.88rem;
  text-align: center;
  margin-top: 10px;
}

/* Brand colors used by header chat icons (.btn-chat-icon) */
.btn-viber { background: #7360f2; }
.btn-whatsapp { background: #25d366; }

.alt-note {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 4px;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* LEGAL PAGES (Uslovi, Privatnost, Kolačići) */
.legal-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  color: var(--text);
}
.legal-page h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gold);
  color: var(--text);
}
.legal-page h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 36px 0 12px;
  color: var(--text);
}
.legal-page h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 24px 0 8px;
  color: var(--gold-dark);
}
.legal-page p {
  margin: 0 0 12px;
  line-height: 1.65;
  color: var(--text);
}
.legal-page ul {
  list-style: none;
  margin: 8px 0 16px;
  padding: 0;
}
.legal-page ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 6px;
  line-height: 1.6;
}
.legal-page ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.legal-page a {
  color: var(--gold-dark);
  text-decoration: underline;
}
.legal-page a:hover { color: var(--gold); }
.legal-page strong { font-weight: 700; }
.legal-page .legal-meta {
  background: var(--bg-light);
  border-radius: 10px;
  padding: 18px 20px;
  margin-top: 24px;
  font-size: 0.95rem;
}
.legal-page .legal-meta p { margin-bottom: 6px; }
.legal-page .back-home {
  display: inline-block;
  margin-top: 40px;
  font-size: 0.95rem;
  color: var(--gold-dark);
}

/* THANK YOU PAGE */
.thankyou-page {
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  text-align: center;
}
.thankyou-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(212, 167, 60, 0.35);
  animation: thankyouPop 0.5s ease-out;
}
@keyframes thankyouPop {
  0% { transform: scale(0.6); opacity: 0; }
  60% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.thankyou-icon svg {
  width: 44px;
  height: 44px;
}
.thankyou-page h1 {
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.thankyou-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.thankyou-page h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}
.thankyou-page p {
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 10px;
}
.thankyou-card,
.thankyou-note,
.thankyou-contact {
  background: var(--bg-light);
  border-radius: 14px;
  padding: 26px 24px;
  margin-bottom: 18px;
  text-align: left;
}
.thankyou-card {
  border-left: 4px solid var(--gold);
}
.thankyou-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}
.thankyou-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.thankyou-emoji {
  font-size: 1.6rem;
  flex-shrink: 0;
}
.thankyou-feature strong {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.thankyou-feature span {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.thankyou-contact-row {
  margin: 8px 0;
  font-size: 1rem;
}
.thankyou-contact-row a {
  color: var(--gold-dark);
  text-decoration: none;
  font-weight: 600;
}
.thankyou-contact-row a:hover { text-decoration: underline; }
.thankyou-back {
  width: auto;
  display: inline-block;
  margin-top: 30px;
  padding: 14px 36px;
  text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 700px) {
  .hero { min-height: 460px; }
  .hero-content { padding: 70px 20px; }
  .delivery-top { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 22px; }
  .prices, .delivery, .why, .recipe { padding: 50px 20px; }
  .modal { padding: 24px 18px 22px; }
  .modal-title { font-size: 1.05rem; padding-right: 36px; }
  .form-row { grid-template-columns: 1fr; }
  .qty-card { grid-template-columns: 56px 1fr auto; gap: 10px; padding: 10px; }
  .qty-thumb { width: 56px; height: 56px; }
  .thankyou-features { grid-template-columns: 1fr; }
}
