/* ═══ CSS CUSTOM PROPERTIES ═══ */
:root {
  --terra: #E8704A;
  --terra-dark: #C85A38;
  --terra-light: #F4A88A;
  --terra-wash: #FDF0EB;
  --charcoal: #1A1A1A;
  --ink: #2A2A2A;
  --stone: #6B6560;
  --stone-light: #A09A94;
  --warm-white: #FDFAF6;
  --cream: #F5F0E8;
  --sage: #7A8B6F;
  --sage-wash: #EEF2EA;
  --plum: #8B6B7A;
  --plum-wash: #F2ECF0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Source Serif 4', Georgia, serif;
  background: var(--warm-white);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; height: auto; }

/* ═══ ANNOUNCEMENT ═══ */
.announce {
  background: var(--charcoal);
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.announce span { color: var(--terra-light); }

/* ═══ NAV ═══ */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  background: var(--warm-white);
  z-index: 100;
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--charcoal);
}
.nav-logo svg { height: 36px; width: auto; }
.nav-logo-img { height: 36px; width: auto; }

.nav-logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.5px;
}
.nav-logo-text em {
  font-style: normal;
  color: var(--terra);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links li { list-style: none; }
.nav-links a {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.3px;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--terra);
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-actions a { color: var(--ink); text-decoration: none; }

.cart-btn {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  background: var(--charcoal);
  color: #fff;
  border: none;
  padding: 10px 22px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}
a.cart-btn { color: #fff; }
.cart-btn:hover { background: var(--terra); color: #fff; }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--charcoal);
}

/* ═══ BREADCRUMB ═══ */
.breadcrumb {
  padding: 16px 48px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  color: var(--stone-light);
  display: flex;
  gap: 8px;
  align-items: center;
}
.breadcrumb a {
  color: var(--stone-light);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--terra); }
.breadcrumb .sep { opacity: 0.4; }
.breadcrumb .current { color: var(--ink); font-weight: 500; }

/* ═══ BUTTONS ═══ */
.btn-terra {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  background: var(--terra);
  color: #fff;
  padding: 16px 40px;
  text-decoration: none;
  letter-spacing: 0.5px;
  border: 2px solid var(--terra);
  transition: all 0.3s;
  align-self: flex-start;
}
.btn-terra:hover {
  background: var(--terra-dark);
  border-color: var(--terra-dark);
  color: #fff;
}

.btn-dark {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  background: var(--charcoal);
  color: #fff;
  padding: 16px 40px;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: background 0.3s;
}
.btn-dark:hover { background: #000; color: #fff; }

.btn-outline {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  background: transparent;
  color: var(--charcoal);
  padding: 16px 40px;
  text-decoration: none;
  letter-spacing: 0.5px;
  border: 2px solid var(--charcoal);
  transition: all 0.3s;
}
.btn-outline:hover {
  background: var(--charcoal);
  color: #fff;
}

/* ═══ BG HELPERS ═══ */
.bg-cream { background: var(--cream); }
.bg-terra-wash { background: var(--terra-wash); }
.bg-sage-wash { background: var(--sage-wash); }
.bg-warm { background: #F7EDE4; }

/* ═══ FOOTER ═══ */
footer {
  padding: 80px 48px 40px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand .nav-logo-text { font-size: 26px; margin-bottom: 16px; }
.footer-brand p {
  font-size: 14px;
  color: var(--stone);
  line-height: 1.6;
  max-width: 300px;
  font-weight: 300;
}
.footer-col h5 {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 20px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 14px;
  color: var(--stone);
  text-decoration: none;
  font-weight: 300;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--terra); }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 20px 0;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.footer-legal a {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  color: var(--stone);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--terra); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
}
.footer-bottom p,
.footer-bottom a {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  color: var(--stone-light);
  text-decoration: none;
}

/* ═══ SECTION SHARED ═══ */
.section-header {
  text-align: center;
  padding: 100px 48px 60px;
}
.section-header .tag {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 16px;
}
.section-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--charcoal);
  margin-bottom: 14px;
}
.section-header p {
  font-size: 17px;
  font-weight: 300;
  color: var(--stone);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ═══ PAGE CONTENT ═══ */
.petobje-main,
.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 48px;
}
.page-content h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--charcoal);
}
.entry-content { line-height: 1.7; font-weight: 300; }
.entry-content p { margin-bottom: 16px; }

/* ═══ SCROLL REVEAL ═══ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
  nav { padding: 14px 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .breadcrumb { padding: 12px 24px; }
  .section-header { padding: 60px 24px 40px; }
  footer { padding: 60px 24px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .petobje-main, .page-content { padding: 40px 24px; }

  /* Mobile menu */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--warm-white);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  }
}
