/* Pekara Zrno – test sajt za AI editor */

:root {
  --primary: #b8693a;
  --primary-dark: #9a5530;
  --dark: #2b211a;
  --text: #4a3f37;
  --muted: #8a7d72;
  --cream: #faf6f0;
  --sand: #f1e8dc;
  --white: #ffffff;
  --radius: 14px;
  --font-heading: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

/* ---------- Osnovno ---------- */

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  font-weight: 600;
  line-height: 1.2;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
}

.text-primary {
  color: var(--primary) !important;
}

.bg-cream {
  background: var(--cream);
}

.bg-sand {
  background: var(--sand);
}

/* ---------- Dugmad ---------- */

.btn {
  font-weight: 500;
  padding: 0.75rem 1.75rem;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline-light:hover {
  color: var(--dark);
}

.btn-outline-dark {
  border-color: var(--dark);
  color: var(--dark);
}

.btn-outline-dark:hover {
  background: var(--dark);
  color: var(--white);
}

/* ---------- Navigacija ---------- */

.navbar {
  box-shadow: 0 2px 18px rgba(43, 33, 26, 0.06);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark) !important;
}

.navbar-brand i {
  color: var(--primary);
}

.navbar .nav-link {
  font-weight: 500;
  color: var(--text);
  padding: 1.6rem 1rem !important;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--primary);
}

@media (max-width: 991.98px) {
  .navbar .nav-link {
    padding: 0.6rem 0 !important;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  background: url("https://images.unsplash.com/photo-1509440159596-0249088772ff?w=1800&q=75") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(31, 23, 17, 0.88) 0%, rgba(31, 23, 17, 0.55) 55%, rgba(31, 23, 17, 0.25) 100%);
}

.hero .container {
  position: relative;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.15rem;
  max-width: 34rem;
}

.hero-eyebrow {
  display: inline-block;
  color: #e9b48c;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

/* ---------- Zaglavlje podstranica ---------- */

.page-header {
  position: relative;
  padding: 7rem 0 4.5rem;
  background: url("https://images.unsplash.com/photo-1517433670267-08bbd4be890f?w=1800&q=70") center / cover no-repeat;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(31, 23, 17, 0.72);
}

.page-header .container {
  position: relative;
}

.page-header h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.75);
}

.page-header .breadcrumb-item.active {
  color: #e9b48c;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Sekcije ---------- */

.section-header {
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section-eyebrow {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
}

.section-header h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

/* ---------- Prednosti ---------- */

.feature-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.feature-item h5 {
  margin-bottom: 0.3rem;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- O nama (uvod) ---------- */

.about-img {
  position: relative;
}

.about-img img {
  border-radius: var(--radius);
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  right: -1rem;
  bottom: -1.5rem;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  text-align: center;
  box-shadow: 0 12px 30px rgba(184, 105, 58, 0.35);
}

@media (max-width: 575.98px) {
  .about-badge {
    right: 1rem;
  }
}

.about-badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  line-height: 1;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
}

.check-list li {
  margin-bottom: 0.6rem;
}

.check-list i {
  color: var(--primary);
  margin-right: 0.6rem;
}

/* ---------- Proizvodi ---------- */

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  box-shadow: 0 6px 24px rgba(43, 33, 26, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(43, 33, 26, 0.12);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-card .card-body {
  padding: 1.4rem 1.5rem 1.6rem;
}

.product-card h5 {
  margin-bottom: 0.4rem;
}

.product-card p {
  color: var(--muted);
  font-size: 0.93rem;
  margin-bottom: 1rem;
}

.product-price {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--primary);
}

/* ---------- Utisci ---------- */

.testimonial {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.testimonial .quote-icon {
  font-size: 2.4rem;
  color: var(--primary);
  opacity: 0.6;
}

.testimonial blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  color: var(--dark);
  font-style: italic;
  margin: 1.2rem 0 1.5rem;
}

.testimonial .author {
  font-weight: 600;
  color: var(--dark);
}

.testimonial .author span {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- FAQ ---------- */

#faq .accordion-item {
  border: none;
  border-radius: var(--radius) !important;
  margin-bottom: 0.9rem;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(43, 33, 26, 0.06);
}

#faq .accordion-button {
  font-weight: 600;
  color: var(--dark);
  padding: 1.15rem 1.4rem;
}

#faq .accordion-button:not(.collapsed) {
  background: var(--sand);
  box-shadow: none;
}

#faq .accordion-button:focus {
  box-shadow: none;
}

/* ---------- CTA ---------- */

.cta {
  background: var(--dark);
  border-radius: calc(var(--radius) * 1.5);
  padding: 3.5rem;
}

.cta h2 {
  color: var(--white);
}

.cta p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* ---------- O nama (stranica) ---------- */

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.6rem;
  color: var(--primary);
  line-height: 1.1;
}

.stat span {
  color: var(--muted);
}

.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  box-shadow: 0 6px 24px rgba(43, 33, 26, 0.06);
}

.value-card .feature-icon {
  margin-bottom: 1.2rem;
}

.team-member {
  text-align: center;
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: var(--sand);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 600;
}

.team-member h5 {
  margin-bottom: 0.2rem;
}

.team-member p {
  color: var(--muted);
  margin: 0;
}

/* ---------- Kontakt ---------- */

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem;
  height: 100%;
  box-shadow: 0 6px 24px rgba(43, 33, 26, 0.06);
}

.contact-card h5 {
  margin: 1rem 0 0.4rem;
}

.contact-card p {
  margin: 0;
  color: var(--muted);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: 0 6px 24px rgba(43, 33, 26, 0.07);
}

.contact-form .form-control {
  border-radius: 10px;
  padding: 0.8rem 1rem;
  border-color: #e4d9cc;
}

.contact-form .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(184, 105, 58, 0.15);
}

.map-frame {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  border-radius: var(--radius);
}

/* ---------- Footer ---------- */

.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.65);
}

.footer h5 {
  color: var(--white);
  margin-bottom: 1.2rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.65);
}

.footer a:hover {
  color: var(--white);
}

.footer .footer-links li {
  margin-bottom: 0.5rem;
}

.footer .social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.4rem;
}

.footer .social a:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* ---------- Pomoćno ---------- */

.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  z-index: 99;
  box-shadow: 0 8px 20px rgba(184, 105, 58, 0.35);
}

.back-to-top.show {
  display: flex;
}

.back-to-top:hover {
  color: var(--white);
  background: var(--primary-dark);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}
