/* =========================================================
   Ollea — природна козметика
   Заеднички стилови (Pastel & Gold тема — според пакувањето)
   ========================================================= */

:root {
  /* Боја */
  --color-bg: #faf7fa;          /* мек лаванда-крем */
  --color-surface: #ffffff;
  --color-surface-alt: #f2ecf3; /* нежна лаванда */
  --color-primary: #9c7bc5;     /* мека мауве/лаванда */
  --color-primary-dark: #8769ab;
  --color-accent: #cf9a3c;      /* злато (од логото) */
  --color-text: #443e4a;
  --color-muted: #837b8a;
  --color-line: #e8e0ec;

  /* Пастелни нијанси од пакувањето */
  --pastel-pink: #f4dde1;
  --pastel-lavender: #e6ddf0;
  --pastel-blue: #d9e4f3;
  --pastel-gold: #ecd6a9;

  /* Типографија */
  --font-head: Georgia, "Times New Roman", serif;
  --font-body: "Helvetica Neue", Arial, sans-serif;

  /* Распоред */
  --maxw: 1160px;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(90, 70, 100, 0.10);
  --gap: 28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-primary-dark);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

a { color: var(--color-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--color-accent); }

img, svg { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }
.section--alt { background: var(--color-surface-alt); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section__head p { color: var(--color-muted); }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 10px;
}
.flowers-bg {
  background: url("../images/full-section-bg.jpg");
  background-size: cover;
  background-position: center;
}

/* ---------- Копчиња ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s;
  text-align: center;
}
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-primary-dark); color: #fff; }
.btn--outline { background: transparent; border-color: var(--color-primary); color: var(--color-primary); }
.btn--outline:hover { background: var(--color-primary); color: #fff; }
.btn--block { width: 100%; }
.btn.btn--primary {
  color: #fff;
}

/* ---------- Хедер ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.logo { display: flex; align-items: center; gap: 10px; max-width: 110px; }
.logo:hover { color: var(--color-primary-dark); }
.logo span { color: var(--color-accent); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--color-text); font-weight: 500; font-size: .98rem; }
.nav a:hover, .nav a.active { color: var(--color-primary); }
.nav a.btn--primary.active { color: #fff;}

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  font-size: 1.6rem; color: var(--color-primary-dark); line-height: 1;
}

/* ---------- Hero ---------- */
.hero { background: linear-gradient(160deg, #f7e7ec 0%, #ece2f3 50%, #e1ebf7 100%); }
.hero { background-image: url("../images/hero-background.jpg"); background-size: cover; background-position: center; }
.hero .container { display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero__text h1 { margin-bottom: .3em; color: #333; }
.hero__text p { font-size: 1.15rem; color: #333; max-width: 48ch; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* ---------- Картички (производи/блог) ---------- */
.grid { display: grid; gap: var(--gap); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__media { background: var(--color-surface-alt); }
.card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: 8px; }
.card__body p { color: var(--color-muted); font-size: .95rem; flex: 1; }
.card__meta { font-size: .8rem; color: var(--color-accent); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }

.price { font-family: var(--font-head); font-size: 1.4rem; color: var(--color-primary-dark); font-weight: 700; }
.price small { font-size: .85rem; color: var(--color-muted); font-weight: 400; }

.card__footer { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; gap: 12px; }

/* ---------- About excerpt ---------- */
.about-excerpt .container { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
.about-excerpt ul { list-style: none; padding: 0; margin: 18px 0 0; }
.about-excerpt li { padding-left: 30px; position: relative; margin-bottom: 12px; color: var(--color-muted); }
.about-excerpt li::before { content: "✦"; position: absolute; left: 0; color: var(--color-accent); }

/* ---------- Featured in (logos) ---------- */
.featured-logos { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: center; }
.featured-logos .logo-chip {
  background: var(--color-surface); border: 1px solid var(--color-line);
  border-radius: 10px; padding: 16px 26px; color: var(--color-muted);
  font-family: var(--font-head); font-size: 1.1rem;
}
.featured-quote { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.featured-quote blockquote { font-family: var(--font-head); font-size: 1.35rem; color: var(--color-primary-dark); font-style: italic; margin: 0 0 10px; }
.featured-quote cite { color: var(--color-accent); font-style: normal; font-weight: 600; }

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--color-surface); border: 1px solid var(--color-line);
  border-radius: var(--radius); padding: 28px;
}
.testimonial p { font-style: italic; color: var(--color-text); }
.testimonial__author { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.testimonial__author .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--color-surface-alt); flex: none; }
.testimonial__author strong { display: block; color: var(--color-primary-dark); }
.testimonial__author span { font-size: .85rem; color: var(--color-muted); }
.stars { color: var(--color-accent); letter-spacing: 2px; margin-bottom: 10px; }

/* ---------- Page hero (за внатрешни страни) ---------- */
.page-hero { background: var(--color-surface-alt); padding: 56px 0; text-align: center; }
.page-hero p { color: var(--color-muted); max-width: 620px; margin: 0 auto; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: .85rem; color: var(--color-muted); padding: 18px 0 0; }
.breadcrumb a { color: var(--color-muted); }
.breadcrumb a:hover { color: var(--color-primary); }

/* ---------- Product detail ---------- */
.product-detail .container { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding-top: 40px; padding-bottom: 60px; }
.product-gallery { display: flex; flex-direction: column; gap: 14px; }
.product-thumbs { display: flex; gap: 12px; }
.product-thumbs > * { flex: 1; border-radius: 10px; overflow: hidden; border: 1px solid var(--color-line); cursor: pointer; }
.product-info .price { font-size: 2rem; margin: 10px 0 18px; }
.product-info .stock { color: var(--color-primary); font-size: .9rem; font-weight: 600; margin-bottom: 18px; }
.qty { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.qty input { width: 64px; padding: 10px; border: 1px solid var(--color-line); border-radius: 8px; text-align: center; font-size: 1rem; }
.product-meta-list { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--color-line); }
.product-meta-list li { padding: 12px 0; border-bottom: 1px solid var(--color-line); display: flex; justify-content: space-between; gap: 16px; }
.product-meta-list span:first-child { color: var(--color-muted); }

.tabs { margin-top: 40px; }
.tab-buttons { display: flex; gap: 8px; border-bottom: 1px solid var(--color-line); flex-wrap: wrap; }
.tab-buttons button {
  background: none; border: 0; padding: 14px 20px; cursor: pointer;
  font-family: var(--font-body); font-size: 1rem; color: var(--color-muted);
  border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.tab-buttons button.active { color: var(--color-primary-dark); border-bottom-color: var(--color-accent); font-weight: 600; }
.tab-panel { display: none; padding: 26px 0; }
.tab-panel.active { display: block; }

/* ---------- Blog post (article) ---------- */
.article { max-width: 760px; margin: 0 auto; padding: 48px 24px 70px; }
.article h2 { margin-top: 1.6em; }
.article img, .article .placeholder { border-radius: var(--radius); margin: 28px 0; }
.article__meta { color: var(--color-muted); font-size: .9rem; margin-bottom: 26px; }
.article blockquote {
  border-left: 4px solid var(--color-accent); margin: 28px 0; padding: 6px 22px;
  font-family: var(--font-head); font-style: italic; color: var(--color-primary-dark); font-size: 1.2rem;
}

/* ---------- Order form (нарачка) ---------- */
.order-grid { display: grid; grid-template-columns: 1.25fr 0.9fr; gap: 40px; align-items: start; }
.order-form label { display: block; font-weight: 600; margin-bottom: 16px; color: var(--color-text); }
.order-form input,
.order-form select,
.order-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px;
  border: 1px solid var(--color-line); border-radius: 10px;
  font-size: 1rem; font-family: var(--font-body);
  background: #fff; color: var(--color-text);
}
.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus { outline: 2px solid var(--color-accent); outline-offset: 1px; border-color: var(--color-accent); }
.order-form textarea { min-height: 96px; resize: vertical; }
.order-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.order-form fieldset { border: 1px solid var(--color-line); border-radius: 10px; padding: 14px 16px; margin-bottom: 16px; }
.order-form legend { font-weight: 600; padding: 0 6px; color: var(--color-primary-dark); }
.order-form fieldset label { font-weight: 500; margin-bottom: 8px; display: flex; align-items: center; }
.order-form fieldset label:last-child { margin-bottom: 0; }
.order-form fieldset input[type="radio"] { display: inline-block; width: auto; margin: 0 10px 0 0; }
.order-aside { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius); padding: 26px; position: sticky; top: 96px; }
.order-aside h3 { margin-bottom: 6px; }
.order-aside .pay-block { border-top: 1px solid var(--color-line); padding-top: 16px; margin-top: 16px; }
.order-aside .pay-block:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.order-aside dl { margin: 8px 0 0; }
.order-aside dt { color: var(--color-muted); font-size: .85rem; }
.order-aside dd { margin: 0 0 10px; font-weight: 600; }
@media (max-width: 900px) {
  .order-grid { grid-template-columns: 1fr; }
  .order-aside { position: static; }
}
@media (max-width: 640px) {
  .order-form .form-row { grid-template-columns: 1fr; }
}

/* ---------- Cart (кошничка) ---------- */
.cart-panel { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 24px; }
.cart-empty { color: var(--color-muted); text-align: center; padding: 18px 0; }
.cart-line { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--color-line); }
.cart-line:last-child { border-bottom: 0; }
.cart-line__name { font-weight: 600; }
.cart-line__price { color: var(--color-muted); font-size: .85rem; }
.cart-qty { display: inline-flex; align-items: center; gap: 10px; }
.cart-qty button { width: 30px; height: 30px; border: 1px solid var(--color-line); background: #fff; border-radius: 8px; cursor: pointer; font-size: 1.05rem; line-height: 1; color: var(--color-primary-dark); }
.cart-qty button:hover { border-color: var(--color-accent); }
.cart-remove { background: none; border: 0; color: var(--color-muted); cursor: pointer; font-size: 1.3rem; line-height: 1; padding: 0 4px; }
.cart-remove:hover { color: #b4453c; }
.cart-totals { margin-top: 16px; padding-top: 16px; border-top: 2px solid var(--color-line); }
.cart-totals .row { display: flex; justify-content: space-between; margin-bottom: 8px; }
.cart-totals .grand { font-weight: 700; font-size: 1.1rem; color: var(--color-primary-dark); margin-top: 4px; }

/* ---------- Legal / terms ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 48px 24px 70px; }
.legal h2 { margin-top: 1.6em; }
.legal ol, .legal ul { color: var(--color-muted); }

/* ---------- Newsletter / CTA band ---------- */
.cta-band { background: url("../images/box-bg.jpg"); color: #000; border-radius: var(--radius); padding: 50px; text-align: center; background-size: cover; }
.cta-band h2 { color: #333; text-shadow: 1px 1px 2px #fff; }
.cta-band p { color: #333; max-width: 520px; margin: 0 auto 22px; }
.cta-band form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; flex-wrap: wrap; }
.cta-band input { flex: 1; min-width: 200px; padding: 13px 18px; border-radius: 999px; border: 0; font-size: 1rem; }

/* ---------- Footer ---------- */
.site-footer { background: url("../images/footer.jpg"); background-size: cover; color: #e8e3d6; padding: 60px 0 28px; margin-top: 0; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.footer-grid h4 { color: #fff; font-size: 1.05rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; font-size: .95rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 40px; padding-top: 22px; text-align: center; font-size: .85rem; color: rgba(255,255,255,.6); }

/* ---------- Placeholder (SVG holder helper) ---------- */
.placeholder { width: 100%; background: var(--color-surface-alt); color: var(--color-muted); display: flex; align-items: center; justify-content: center; font-size: .85rem; }

/* ---------- Helpers ---------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.muted { color: var(--color-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .hero .container,
  .about-excerpt .container,
  .product-detail .container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav {
    position: absolute; top: 76px; left: 0; right: 0;
    background: var(--color-bg); flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--color-line);
    max-height: 0; overflow: hidden; transition: max-height .3s;
  }
  .nav.open { max-height: 420px; }
  .nav a { padding: 14px 24px; width: 100%; border-bottom: 1px solid var(--color-line); }
  .nav-toggle { display: block; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 22px; }
}
