/* ==========================================================================
   DOMAĆE MASLINOVO ULJE & PROFESIONALNO OBREZIVANJE MASLINA
   Design System & Modern Stylesheet
   ========================================================================== */

:root {
  --color-olive-950: #0f180d;
  --color-olive-900: #1b2a16;
  --color-olive-800: #263c1f;
  --color-olive-700: #35532b;
  --color-olive-600: #466e39;
  --color-olive-500: #5d8f4d;
  --color-olive-100: #eef4ec;
  --color-olive-50:  #f6f9f5;

  --color-gold-600: #9e7520;
  --color-gold-500: #c29532;
  --color-gold-400: #ddb253;
  --color-gold-300: #f2cb78;
  --color-gold-100: #fbf4e2;

  --color-sand-50:  #fdfcf9;
  --color-sand-100: #f8f5ee;
  --color-sand-200: #ece5d8;
  --color-sand-300: #ded3c0;

  --color-text-main: #1e241c;
  --color-text-muted: #576252;
  --color-text-light: #83917e;

  --color-white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(27, 42, 22, 0.06);
  --shadow-md: 0 8px 24px rgba(27, 42, 22, 0.08);
  --shadow-lg: 0 16px 36px rgba(27, 42, 22, 0.12);
  --shadow-xl: 0 24px 60px rgba(27, 42, 22, 0.16);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--color-sand-50);
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

button, input, select, textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */

.serif {
  font-family: var(--font-serif);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-gold {
  background: var(--color-gold-100);
  color: var(--color-gold-600);
  border: 1px solid rgba(194, 149, 50, 0.25);
}

.badge-olive {
  background: var(--color-olive-100);
  color: var(--color-olive-700);
  border: 1px solid rgba(53, 83, 43, 0.2);
}

.section-tag {
  color: var(--color-gold-600);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  display: inline-block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  line-height: 1.2;
  color: var(--color-olive-950);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 640px;
  line-height: 1.65;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 252, 249, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-sand-200);
  transition: var(--transition-smooth);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-olive-800), var(--color-olive-950));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-400);
  box-shadow: 0 4px 12px rgba(27, 42, 22, 0.15);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-olive-950);
  line-height: 1.15;
}

.brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold-600);
  font-weight: 600;
}

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

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-main);
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-olive-700);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-olive-800);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(38, 60, 31, 0.28);
}

.btn-primary:hover {
  background: var(--color-olive-900);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(38, 60, 31, 0.35);
}

.btn-gold {
  background: linear-gradient(135deg, var(--color-gold-500), var(--color-gold-600));
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(194, 149, 50, 0.3);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--color-gold-600), #8c6517);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(194, 149, 50, 0.4);
}

.btn-outline {
  border-color: var(--color-sand-300);
  background: var(--color-white);
  color: var(--color-text-main);
}

.btn-outline:hover {
  border-color: var(--color-olive-700);
  color: var(--color-olive-700);
  background: var(--color-sand-50);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border: none;
}

.btn-whatsapp:hover {
  background: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--color-olive-900);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  position: relative;
  padding: 60px 0 90px;
  background: radial-gradient(circle at 85% 20%, rgba(221, 178, 83, 0.12) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(70, 110, 57, 0.08) 0%, transparent 50%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  line-height: 1.12;
  color: var(--color-olive-950);
  letter-spacing: -0.01em;
}

.hero-title span.accent {
  color: var(--color-gold-600);
  font-style: italic;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--color-sand-200);
  margin-top: 12px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-olive-900);
}

.stat-lbl {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.35;
}

/* Hero Visual Split Card */
.hero-visual-card {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-sand-200);
}

.hero-img-wrap {
  position: relative;
  height: 480px;
  width: 100%;
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-floating-tag {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(222, 211, 192, 0.4);
}

.floating-tag-info h4 {
  font-size: 0.95rem;
  color: var(--color-olive-950);
  font-weight: 700;
}

.floating-tag-info p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   Product Section: 0.75L Bottle
   ========================================================================== */

.product-section {
  padding: 100px 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-sand-200);
  border-bottom: 1px solid var(--color-sand-200);
}

.product-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.product-gallery {
  position: relative;
}

.product-main-card {
  background: linear-gradient(145deg, var(--color-sand-100), var(--color-sand-200));
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-sand-300);
  box-shadow: var(--shadow-lg);
}

.product-ambient-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(221, 178, 83, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.bottle-render {
  max-height: 480px;
  filter: drop-shadow(0 20px 25px rgba(27, 42, 22, 0.25));
  transition: transform var(--transition-smooth);
  z-index: 2;
}

.product-main-card:hover .bottle-render {
  transform: scale(1.03) translateY(-4px);
}

.bottle-spec-pill {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 3;
}

.product-info-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--color-gold-600);
  font-weight: 600;
}

.stars {
  letter-spacing: 2px;
}

.product-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  color: var(--color-olive-950);
  line-height: 1.15;
}

.product-meta-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.price-main {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--color-olive-900);
}

.price-unit {
  font-size: 1rem;
  color: var(--color-text-muted);
}

.price-eur {
  font-size: 0.95rem;
  color: var(--color-text-light);
  background: var(--color-sand-100);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.product-description {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Feature pills */
.product-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.p-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: var(--color-sand-50);
  border: 1px solid var(--color-sand-200);
  border-radius: var(--radius-md);
}

.p-feature-icon {
  color: var(--color-olive-600);
  flex-shrink: 0;
  margin-top: 2px;
}

.p-feature-text h5 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-olive-950);
}

.p-feature-text p {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

/* Order Box Component */
.order-interactive-box {
  background: var(--color-sand-50);
  border: 2px solid var(--color-olive-800);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 8px;
  box-shadow: var(--shadow-md);
}

.order-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--color-sand-300);
}

.qty-label-wrap h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-olive-950);
}

.qty-label-wrap p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.qty-control {
  display: flex;
  align-items: center;
  background: var(--color-white);
  border: 1px solid var(--color-sand-300);
  border-radius: var(--radius-full);
  padding: 4px 6px;
  box-shadow: var(--shadow-sm);
}

.qty-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: var(--color-sand-100);
  color: var(--color-olive-950);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.qty-btn:hover {
  background: var(--color-olive-800);
  color: var(--color-white);
}

.qty-display {
  width: 48px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-olive-950);
}

.order-calc-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.calc-total-label {
  color: var(--color-text-muted);
}

.calc-total-val {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--color-olive-950);
}

.order-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.delivery-badge-bih {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--color-olive-700);
  background: rgba(93, 143, 77, 0.12);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

/* ==========================================================================
   Service Section: Olive Tree Pruning
   ========================================================================== */

.service-section {
  padding: 100px 0;
  background: var(--color-sand-100);
  position: relative;
}

.service-header-wrap {
  text-align: center;
  margin-bottom: 60px;
}

.service-header-wrap .section-desc {
  margin: 0 auto;
}

.service-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.service-feature-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-sand-200);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.s-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--color-olive-100);
  color: var(--color-olive-800);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-feature-card h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--color-olive-950);
}

.service-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.service-checklist li svg {
  color: var(--color-olive-600);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Before / After Interactive Visual Showcase */
.before-after-container {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-sand-200);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comparison-wrapper {
  position: relative;
  height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  user-select: none;
}

.comparison-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison-after {
  z-index: 1;
}

.comparison-before {
  z-index: 2;
  width: 50%;
  overflow: hidden;
  border-right: 3px solid var(--color-gold-400);
}

.comparison-slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--color-white);
  border: 3px solid var(--color-gold-500);
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-olive-900);
  cursor: ew-resize;
  z-index: 10;
}

.comparison-labels {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 11;
}

.comp-badge {
  background: rgba(15, 24, 13, 0.75);
  color: #fff;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(4px);
}

/* ==========================================================================
   Pricing & Estimator Component (Dnevnica + Put)
   ========================================================================== */

.estimator-box {
  background: linear-gradient(135deg, var(--color-olive-950), var(--color-olive-900));
  color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.estimator-box::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(194, 149, 50, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.estimator-form-col h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 10px;
  color: #fff;
}

.estimator-form-col p {
  color: #c7d4c2;
  font-size: 0.98rem;
  margin-bottom: 28px;
}

.form-group-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #dbe6d6;
}

.form-field select, 
.form-field input,
.form-field textarea {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: #fff;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-field select option {
  background: var(--color-olive-900);
  color: #fff;
}

.form-field select:focus, 
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-gold-400);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(221, 178, 83, 0.2);
}

.form-inline-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Estimator Live Card */
.estimator-result-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.res-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.res-header h4 {
  font-size: 1.1rem;
  color: var(--color-gold-300);
  font-family: var(--font-serif);
}

.res-breakdown {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.res-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  color: #d6e2d1;
}

.res-row.subdued {
  font-size: 0.85rem;
  color: #a4b59f;
}

.res-total-block {
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 24px;
  border: 1px solid rgba(194, 149, 50, 0.35);
}

.res-total-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold-300);
  margin-bottom: 4px;
}

.res-total-amount {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

.res-total-eur {
  font-size: 0.9rem;
  color: #c7d4c2;
  margin-top: 4px;
}

/* ==========================================================================
   Trust & Process Section
   ========================================================================== */

.trust-section {
  padding: 90px 0;
  background: var(--color-white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.trust-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--color-sand-50);
  border: 1px solid var(--color-sand-200);
  transition: transform var(--transition-fast);
}

.trust-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold-400);
}

.trust-icon {
  width: 48px;
  height: 48px;
  background: var(--color-sand-200);
  color: var(--color-olive-800);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.trust-card h4 {
  font-size: 1.1rem;
  font-family: var(--font-serif);
  color: var(--color-olive-950);
  margin-bottom: 8px;
}

.trust-card p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   Modal / Dialog: Express Checkout & Booking Confirmation
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 24, 13, 0.7);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px) scale(0.97);
  transition: all var(--transition-smooth);
  padding: 36px;
  position: relative;
}

.modal-backdrop.active .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--color-sand-100);
  color: var(--color-olive-950);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--color-sand-200);
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--color-olive-950);
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.checkout-summary-mini {
  background: var(--color-sand-50);
  border: 1px solid var(--color-sand-200);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.c-mini-left h5 {
  font-size: 0.95rem;
  color: var(--color-olive-950);
}

.c-mini-left p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.c-mini-price {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-olive-900);
}

/* ==========================================================================
   Toast Notification System
   ========================================================================== */

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  background: var(--color-olive-950);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  border-left: 4px solid var(--color-gold-400);
  animation: toastIn 0.35s ease forwards;
  pointer-events: auto;
  max-width: 360px;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--color-olive-950);
  color: #c7d4c2;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand h3 {
  font-family: var(--font-serif);
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #a7baa2;
  max-width: 360px;
}

.footer-col h5 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 18px;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-gold-300);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #8c9e87;
}

/* ==========================================================================
   Certificates & Awards Section
   ========================================================================== */

.certificates-section {
  padding: 90px 0;
  background: var(--color-sand-50);
  border-top: 1px solid var(--color-sand-200);
  border-bottom: 1px solid var(--color-sand-200);
}

.cert-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cert-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-sand-200);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
}

.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-gold-400);
}

.cert-thumb-wrap {
  position: relative;
  background: #fdfdfd;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
  border-bottom: 1px solid var(--color-sand-200);
}

.cert-thumb-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform var(--transition-smooth);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
}

.cert-card:hover .cert-thumb-img {
  transform: scale(1.05);
}

.cert-zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 42, 22, 0.45);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.cert-card:hover .cert-zoom-overlay {
  opacity: 1;
}

.cert-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.cert-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.cert-award-pill {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.pill-gold {
  background: var(--color-gold-100);
  color: var(--color-gold-600);
  border: 1px solid rgba(194, 149, 50, 0.3);
}

.pill-green {
  background: var(--color-olive-100);
  color: var(--color-olive-700);
  border: 1px solid rgba(53, 83, 43, 0.25);
}

.cert-year {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.cert-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--color-olive-950);
  line-height: 1.3;
  margin-bottom: 6px;
}

.cert-desc {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

/* Lightbox Modal */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 24, 13, 0.92);
  backdrop-filter: blur(10px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.lightbox-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 2px solid rgba(221, 178, 83, 0.4);
}

.lightbox-caption {
  color: #fff;
  text-align: center;
  margin-top: 14px;
  font-size: 1rem;
  font-family: var(--font-serif);
}

.lightbox-close {
  position: absolute;
  top: -46px;
  right: 0;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.lightbox-close:hover {
  background: var(--color-gold-500);
}

/* ==========================================================================
   Mobile Nav Drawer
   ========================================================================== */

.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(253, 252, 249, 0.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 2px solid var(--color-sand-200);
  padding: 24px 24px 28px;
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
}

.mobile-nav-drawer.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}

.mobile-nav-link {
  display: block;
  padding: 13px 16px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-olive-950);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.mobile-nav-link:hover, .mobile-nav-link:active {
  background: var(--color-olive-100);
  color: var(--color-olive-700);
}

.mobile-nav-cta {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 14px 20px;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--color-olive-900);
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.mobile-menu-btn:hover {
  background: var(--color-olive-100);
}

.mobile-menu-btn .close-icon {
  display: none;
}

.mobile-menu-btn.open .hamburger-icon {
  display: none;
}

.mobile-menu-btn.open .close-icon {
  display: block;
}

/* ==========================================================================
   Responsive – Tablet (≤ 992px)
   ========================================================================== */

@media (max-width: 992px) {
  .container {
    padding: 0 20px;
  }

  .hero-grid,
  .product-grid,
  .service-showcase-grid,
  .estimator-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-section {
    padding: 40px 0 60px;
  }

  .hero-img-wrap {
    height: 340px;
  }

  .product-section {
    padding: 64px 0;
  }

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

  .nav-links {
    display: none;
  }

  .btn-gold-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-nav-drawer {
    display: block;
  }

  .estimator-box {
    margin: 0;
    border-radius: var(--radius-lg);
  }
}

/* ==========================================================================
   Responsive – Mobile (≤ 640px)
   ========================================================================== */

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  /* Header */
  .header-inner {
    height: 64px;
  }

  .mobile-nav-drawer {
    top: 64px;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .brand-sub {
    font-size: 0.65rem;
  }

  /* Hero */
  .hero-section {
    padding: 28px 0 44px;
  }

  .hero-title {
    font-size: clamp(1.9rem, 7vw, 2.6rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 12px;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding-top: 18px;
  }

  .hero-img-wrap {
    height: 240px;
  }

  .stat-val {
    font-size: 1.4rem;
  }

  /* Product */
  .product-section {
    padding: 44px 0;
  }

  .product-main-card {
    padding: 24px 16px;
  }

  .bottle-render {
    max-height: 300px;
  }

  .product-title {
    font-size: 1.5rem;
  }

  .product-features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .order-actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

  .order-qty-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* Sections general */
  .section-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .certificates-section,
  .service-section,
  .trust-section {
    padding: 48px 0;
  }

  .trust-grid,
  .cert-grid {
    grid-template-columns: 1fr;
  }

  /* Pruning form */
  .form-inline-row {
    grid-template-columns: 1fr;
  }

  .service-showcase-grid {
    gap: 24px;
  }

  .before-after-container {
    padding: 0;
  }

  /* Kalkulator */
  .estimator-box {
    padding: 20px 16px;
    border-radius: var(--radius-lg);
  }

  .estimator-form-col h3 {
    font-size: 1.4rem;
  }

  .estimator-form-col p {
    font-size: 0.9rem;
    margin-bottom: 18px;
  }

  .estimator-result-card {
    padding: 20px 16px;
  }

  .estimator-results {
    gap: 10px;
  }

  .res-total-block {
    padding: 14px 16px;
  }

  .res-total-amount {
    font-size: 1.7rem;
  }

  .res-row {
    font-size: 0.88rem;
    flex-wrap: wrap;
    gap: 4px;
  }

  .res-row span:last-child {
    text-align: right;
    flex-shrink: 0;
  }

  .form-field select,
  .form-field input {
    font-size: 0.88rem;
    padding: 11px 12px;
  }

  /* Slider – visina prilagođena za portretne slike */
  .comparison-wrapper {
    height: 360px;
  }

  /* Modal */
  .order-modal {
    margin: 12px;
    padding: 24px 18px;
    border-radius: var(--radius-lg);
  }

  /* Footer */
  .footer-grid {
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  /* Lightbox close button bigger tap target */
  .lightbox-close {
    width: 52px;
    height: 52px;
    top: 16px;
    right: 16px;
  }
}

/* ==========================================================================
   Responsive – Small phones (≤ 400px)
   ========================================================================== */

@media (max-width: 400px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-cta-group .btn {
    font-size: 0.9rem;
    padding: 12px 16px;
  }

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