/* ============================================================
   Sabbiarelli – style.css v2
   Heliora d.o.o. | sabbiarelli.si
   ============================================================ */

:root {
  --brand:        #e63946;
  --brand-dark:   #c1121f;
  --accent:       #ff914d;
  --accent-light: #fff0e6;
  --ink:          #2b2b2b;
  --ink-light:    #666;
  --bg:           #fffaf5;
  --card:         #ffffff;
  --nav-bg:       #1a1a2e;
  --nav-text:     #f0f0f0;
  --shadow-sm:    0 2px 8px rgba(0,0,0,.07);
  --shadow-md:    0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:    0 8px 32px rgba(0,0,0,.14);
  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    20px;
  --transition:   .22s ease;
}

/* ---- Reset & base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Baloo 2', cursive, sans-serif;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ============================================================
   NAVIGACIJA
   ============================================================ */
.site-nav {
  background: var(--nav-bg);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
}
.nav-logo img {
  height: 32px;
  width: auto;
  }
.nav-logo span {
  color: #fff;
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .02em;
  white-space: nowrap;
}

/* Desktop menu */
.nav-links {
  display: flex;
  list-style: none;
  gap: .1rem;
  align-items: center;
}
.nav-links li a {
  color: var(--nav-text);
  padding: .45rem .8rem;
  border-radius: var(--radius-sm);
  font-size: .86rem;
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
  text-decoration: none;
  display: block;
}
.nav-links li a:hover,
.nav-links li a.active {
  background: rgba(255,255,255,.12);
  color: #fff;
  text-decoration: none;
}
.nav-links li.nav-cta a {
  background: var(--brand);
  color: #fff;
  padding: .45rem 1rem;
  margin-left: .4rem;
}
.nav-links li.nav-cta a:hover {
  background: var(--brand-dark);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: coluinvertmn;
  gap: 5px;
  cursor: pointer;
  padding: .4rem;
  background: none;
  border: none;
  outline: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HEADER (pod navigacijo)
   ============================================================ */
.site-header {
  background: linear-gradient(135deg, #fff 0%, #fff5ee 100%);
  padding: 2.5rem 1rem 2rem;
  text-align: center;
  border-bottom: 3px solid var(--accent);
}
.site-header .header-logo {
  max-width: 155px;
  margin: 0 auto .75rem;
}
.site-header h1 {
  font-size: clamp(1.45rem, 4vw, 2rem);
  color: var(--brand);
  margin-bottom: .35rem;
  line-height: 1.25;
}
.site-header .subtitle {
  color: var(--ink-light);
  font-size: .97rem;
}
.site-header.compact {
  padding: 1.5rem 1rem 1.25rem;
}
.site-header.compact h1 {
  font-size: clamp(1.15rem, 3vw, 1.55rem);
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  max-width: 1100px;
  margin: .9rem auto .2rem;
  padding: 0 1.25rem;
  font-size: .82rem;
  color: #999;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .2rem;
}
.breadcrumb a { color: var(--brand); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--brand-dark); text-decoration: underline; }
.breadcrumb .sep { color: #ccc; margin: 0 .1rem; }

/* ============================================================
   INTRO BOX
   ============================================================ */
.intro {
  max-width: 820px;
  margin: 1.75rem auto 1rem;
  padding: 1.5rem 2rem;
  background: var(--card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  line-height: 1.75;
}
.intro p + p { margin-top: .75rem; }
.intro span { color: var(--brand); font-weight: 600; }

/* ============================================================
   PRODUCT SECTIONS
   ============================================================ */
.product-section {
  max-width: 1140px;
  margin: 2.5rem auto;
  padding: 0 1.25rem;
}
.section-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.5rem;
}
.section-header h2 {
  font-size: 1.3rem;
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}
.section-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, var(--accent), transparent);
  border-radius: 2px;
}
.section-badge {
  background: var(--accent-light);
  color: var(--accent);
  font-size: .73rem;
  font-weight: 700;
  padding: .2rem .65rem;
  border-radius: 20px;
  border: 1.5px solid var(--accent);
  white-space: nowrap;
}

/* ============================================================
   PRODUCT GRID & CARDS
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.5rem;
}
.bag-grid {
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
}

.product-card {
  background: var(--card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  border: 1.5px solid transparent;
  overflow: hidden;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #ffe0cc;
}
.product-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
  margin-bottom: .85rem;
  overflow: hidden;
  border-radius: var(--radius-sm);
}
.product-images img {
  border-radius: var(--radius-sm);
  object-fit: cover;
  aspect-ratio: 1;
  width: 100%;
  transition: transform var(--transition);
}
.product-card:hover .product-images img { transform: scale(1.04); }

.product-title {
  font-weight: 700;
  font-size: .97rem;
  color: var(--ink);
  margin-bottom: .35rem;
}
.product-desc {
  font-size: .84rem;
  color: var(--ink-light);
  flex: 1;
  margin-bottom: .85rem;
  line-height: 1.55;
}
.product-desc span { color: var(--brand); font-weight: 600; }

.product-instructions {
  display: block;
  padding: .5rem 1rem;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: .84rem;
  font-weight: 700;
  text-align: center;
  transition: background var(--transition), transform var(--transition);
  text-decoration: none;
}
.product-instructions:hover {
  background: var(--brand-dark);
  transform: scale(1.02);
  text-decoration: none;
}

/* ============================================================
   SHOP BANNER
   ============================================================ */
.shop-banner {
  max-width: 1140px;
  margin: 1rem auto 2.5rem;
  padding: 0 1.25rem;
}
.shop-banner-inner {
  background: linear-gradient(135deg, var(--brand) 0%, #ff6b35 100%);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.shop-banner-text h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: .3rem;
}
.shop-banner-text p {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
}
.shop-banner-btn {
  display: inline-block;
  padding: .75rem 2rem;
  background: #fff;
  color: var(--brand);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .97rem;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  text-decoration: none;
}
.shop-banner-btn:hover {
  background: #fff5ee;
  transform: scale(1.04);
  text-decoration: none;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-section {
  max-width: 640px;
  margin: 2rem auto 3rem;
  padding: 0 1.25rem;
}
.contact-card {
  background: var(--card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 2rem 2.5rem;
}
.contact-card h2 {
  color: var(--brand);
  margin-bottom: 1.25rem;
  text-align: center;
  font-size: 1.35rem;
}
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: .35rem;
  color: var(--ink);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: .65rem .9rem;
  border: 1.5px solid #e0e0e0;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .95rem;
  background: #fafafa;
  transition: border-color var(--transition), box-shadow var(--transition);
  color: var(--ink);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(230,57,70,.1);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit {
  width: 100%;
  padding: .8rem;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  margin-top: .5rem;
  font-family: inherit;
}
.btn-submit:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--nav-bg);
  color: #ccc;
  padding: 2.5rem 1.25rem 1.5rem;
  margin-top: auto;
}
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.footer-logos {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.footer-logos img {
  max-height: 38px;
  width: auto;
    opacity: .8;
}
.footer-col h4 {
  color: #fff;
  font-size: .93rem;
  margin-bottom: .75rem;
  font-weight: 700;
}
.footer-col p { font-size: .84rem; color: #aaa; line-height: 1.85; }
.footer-col a {
  font-size: .84rem;
  color: #aaa;
  line-height: 1.85;
  display: block;
  text-decoration: none;
}
.footer-col a:hover { color: var(--accent); text-decoration: none; }
.footer-bottom {
  max-width: 1140px;
  margin: 1.5rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .78rem;
  color: #555;
}
.footer-bottom a { color: #777; }
.footer-bottom a:hover { color: var(--accent); }

/* ============================================================
   NAVODILA STRANI
   ============================================================ */
.navodila-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem 1.25rem 3rem;
}
.navodila-card {
  background: var(--card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem 2rem;
  margin-bottom: 1.75rem;
  border-left: 4px solid var(--accent);
}
.navodila-card h2 {
  text-align: center;
  color: var(--brand);
  margin-top: 0;
  margin-bottom: 1.1rem;
  font-size: 1.2rem;
}
.navodila-card h3 {
  color: var(--brand);
  font-size: .97rem;
  padding-bottom: .5rem;
  margin-bottom: .85rem;
  border-bottom: 2px solid var(--accent-light);
}
.navodila-card ol,
.navodila-card ul {
  padding-left: 1.3rem;
  line-height: 1.8;
}
.navodila-card li { margin-bottom: .4rem; font-size: .94rem; }

.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}
.grid-3 .navodila-card { margin-bottom: 0; }

/* Buttons */
.btn-bar {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .7rem 1.6rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
  border: 2px solid transparent;
  font-size: .95rem;
  transition: all var(--transition);
  font-family: inherit;
  cursor: pointer;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.btn-primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  border-color: var(--brand);
  color: var(--brand);
}
.btn-secondary:hover {
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

/* Video */
.video-section { margin: 2rem 0; }
.video-section h2 {
  text-align: center;
  color: var(--brand);
  margin-bottom: 1rem;
  font-size: 1.15rem;
}
.video-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding-top: 56.25%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  background: #111;
}
.video-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.video-placeholder {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff5ee, #ffe8d6);
  color: var(--ink-light);
  font-size: .92rem;
  text-align: center;
  padding: 1.5rem;
}
.video-placeholder .play-icon {
  font-size: 3.5rem;
  margin-bottom: .75rem;
  color: var(--brand);
  opacity: .55;
}

/* Zakaj list */
.zakaj-list { list-style: none; padding-left: 0; }
.zakaj-list li {
  margin-bottom: .8rem;
  font-size: .96rem;
  line-height: 1.6;
  padding-left: .2rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-logos { grid-column: 1 / -1; flex-direction: row; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 58px;
    left: 0; right: 0;
    background: var(--nav-bg);
    flex-direction: column;
    padding: .75rem 1rem 1rem;
    gap: .1rem;
    box-shadow: 0 8px 20px rgba(0,0,0,.3);
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .nav-links.open { display: flex; }
  .nav-links li a { padding: .65rem 1rem; font-size: .93rem; }
  .nav-links li.nav-cta a { margin-left: 0; margin-top: .3rem; }

  .grid-3 { grid-template-columns: 1fr; }
  .shop-banner-inner { flex-direction: column; text-align: center; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-logos { flex-direction: row; }
  .contact-card { padding: 1.5rem 1.25rem; }
  .btn-bar { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); }
  .intro { padding: 1.25rem 1.25rem; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
  .navodila-card { padding: 1.25rem 1rem; }
}
