/* =====================================================================
   ĆEVABDŽINICA
   ===================================================================== */
.cev-root {
  --accent: #c23a28;
  --checker: #c23a28;
  --cream: #f5ede0;
  --paper: #faf5ea;
  --ink: #1a0f0a;
  --ink-soft: #4a2f20;
  color: var(--ink);
  background: var(--paper);
  font-family: 'DM Sans', sans-serif;
  position: relative;
  overflow-x: hidden;
}
.cev-root h1, .cev-root h2, .cev-root h3 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.handwrite {
  font-family: 'Caveat', cursive;
  font-weight: 500;
  color: var(--accent);
}

.cev-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px 40px;
  background: rgba(250, 245, 234, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(26,15,10,0.08);
}
.cev-back {
  background: transparent; border: none;
  display: flex; align-items: center; gap: 8px;
  cursor: pointer; font-size: 12px;
  letter-spacing: 0.2em; font-weight: 600;
  text-transform: uppercase; color: var(--ink);
}
.cev-nav-logo { display: flex; align-items: center; gap: 12px; }
.cev-nav-logo img { width: 42px; height: 42px; object-fit: contain; }
.cev-nav-title { line-height: 1; }
.cev-nav-main { font-family: 'DM Serif Display', serif; font-size: 22px; }
.cev-nav-sub {
  font-size: 9px; letter-spacing: 0.35em; font-weight: 700;
  color: var(--accent); margin-top: 3px;
}
.cev-nav-links {
  display: flex; justify-content: flex-end; align-items: center; gap: 24px;
}
.cev-nav-links a {
  font-size: 12px; letter-spacing: 0.15em; font-weight: 600;
  text-transform: uppercase; text-decoration: none; color: var(--ink);
  position: relative;
}
.cev-nav-links a::after {
  content: ''; position: absolute; bottom: -6px; left: 0;
  width: 0; height: 2px; background: var(--accent);
  transition: width 0.3s;
}
.cev-nav-links a:hover::after { width: 100%; }
.cev-lang {
  background: transparent; border: 1px solid var(--ink);
  border-radius: 999px; padding: 5px 10px;
  font-size: 10px; letter-spacing: 0.2em; font-weight: 700;
  cursor: pointer; color: var(--ink);
}
.cev-wolt {
  background: var(--accent); color: #fff !important;
  padding: 9px 16px; border-radius: 999px;
  text-decoration: none !important; font-size: 11px !important;
}
.cev-wolt::after { display: none; }

.cev-checker-band {
  height: 22px;
  background: repeating-conic-gradient(var(--checker) 0% 25%, #faf5ea 0% 50%) 50% / 22px 22px;
}

.cev-hero {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
  display: flex; align-items: center;
  padding: 60px 40px 100px;
}
.cev-hero-bg { position: absolute; inset: -10% -5% -20% -5%; z-index: 0; }
.cev-hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85) contrast(1.02); }
.cev-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(120deg,
    rgba(250, 245, 234, 0.98) 0%,
    rgba(250, 245, 234, 0.88) 45%,
    rgba(250, 245, 234, 0.4) 80%,
    rgba(250, 245, 234, 0.2) 100%);
}
.cev-hero-content { position: relative; z-index: 2; max-width: 700px; }
.cev-hero-ribbon {
  display: inline-block; background: var(--accent); color: #faf5ea;
  padding: 6px 18px; font-size: 10px; letter-spacing: 0.35em; font-weight: 700;
  transform: rotate(-1.5deg); margin-bottom: 24px;
  box-shadow: 3px 3px 0 var(--ink);
}
.cev-hero-title {
  display: flex; flex-direction: column; align-items: flex-start;
  line-height: 0.88; margin-bottom: 28px;
}
.cev-hero-title .handwrite {
  font-size: clamp(44px, 6vw, 80px);
  transform: rotate(-3deg); margin-bottom: -10px; margin-left: -4px;
}
.cev-hero-title .handwrite.small {
  font-size: clamp(32px, 4.5vw, 56px);
  transform: rotate(-1deg); margin-top: -18px; margin-left: 30%;
  color: var(--ink-soft);
}
.cev-hero-title .big {
  font-size: clamp(80px, 14vw, 200px);
  font-family: 'DM Serif Display', serif;
  letter-spacing: -0.04em;
}
.cev-hero-sub {
  font-size: 18px; line-height: 1.5; max-width: 520px;
  color: var(--ink-soft); margin-bottom: 32px;
}
.cev-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--ink); color: var(--paper);
  padding: 16px 28px; border-radius: 999px;
  text-decoration: none; font-size: 13px; letter-spacing: 0.2em;
  font-weight: 700; text-transform: uppercase;
  box-shadow: 4px 4px 0 var(--accent);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--accent); }
.btn-ghost {
  background: transparent; border: 2px solid var(--ink); color: var(--ink);
  padding: 14px 28px; border-radius: 999px; text-decoration: none;
  font-size: 13px; letter-spacing: 0.2em; font-weight: 700; text-transform: uppercase;
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.cev-hero-cat {
  position: absolute; right: 0; bottom: 0;
  width: 220px; height: 440px; z-index: 2;
  color: var(--ink); opacity: 0.9; pointer-events: none;
}
.cev-hero-cat svg, .cev-hero-cat img { width: 100%; height: 100%; object-position: right bottom !important; }

.cev-section-label {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.35em; font-weight: 700;
  color: var(--accent); margin-bottom: 20px; text-transform: uppercase;
}
.cev-section-label.centered { justify-content: center; }

.cev-story {
  padding: 120px 40px; background: var(--cream);
  border-top: 1px solid rgba(26,15,10,0.08);
  border-bottom: 1px solid rgba(26,15,10,0.08);
}
.cev-story-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.cev-story-text h2 {
  font-size: clamp(36px, 4.5vw, 64px); line-height: 1.05;
  margin-bottom: 20px; text-wrap: balance;
}
.cev-story-text h2 em { font-style: normal; font-size: 1.15em; }
.cev-story-text p {
  font-size: 16px; line-height: 1.7; color: var(--ink-soft);
  max-width: 520px; margin-bottom: 32px;
}
.cev-story-stats { display: flex; gap: 40px; }
.cev-story-stats > div { display: flex; flex-direction: column; }
.cev-story-stats b {
  font-family: 'DM Serif Display', serif; font-size: 40px;
  color: var(--accent); line-height: 1;
}
.cev-story-stats span {
  font-size: 11px; letter-spacing: 0.2em; font-weight: 600;
  text-transform: uppercase; color: var(--ink-soft); margin-top: 4px;
}
.cev-story-img {
  position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: 4px;
  transform: rotate(-1.5deg);
  box-shadow: 10px 10px 0 var(--accent), 0 20px 60px rgba(0,0,0,0.15);
}
.cev-story-img img { width: 100%; height: 100%; object-fit: cover; }
.cev-story-badge {
  position: absolute; bottom: 20px; left: 20px;
  background: var(--paper); padding: 12px 18px; border-radius: 4px;
  transform: rotate(3deg); display: flex; flex-direction: column; line-height: 1;
}
.cev-story-badge .handwrite { font-size: 28px; }

.cev-cat-strip { height: 80px; background: var(--ink); overflow: hidden; display: flex; align-items: center; }
.cev-cat-strip-inner { display: flex; gap: 80px; padding-left: 40px; color: var(--accent); }
.cev-paw { display: none; }

.cev-menu { padding: 120px 40px; }
.cev-menu-header { text-align: center; max-width: 800px; margin: 0 auto 64px; }
.cev-menu-header h2 {
  font-size: clamp(36px, 5vw, 64px); line-height: 1.05; margin-bottom: 16px;
}
.cev-menu-intro { font-size: 15px; color: var(--ink-soft); }

.cev-menu-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 40px;
}
.cev-menu-card {
  position: relative; background: var(--paper);
  border: 1px solid rgba(26,15,10,0.12);
  padding: 16px 16px 24px;
  transition: transform 0.4s cubic-bezier(.22,1,.36,1), box-shadow 0.4s;
}
.cev-menu-card:nth-child(odd) { transform: rotate(-0.4deg); }
.cev-menu-card:nth-child(even) { transform: rotate(0.4deg); }
.cev-menu-card:hover {
  transform: rotate(0) translateY(-6px);
  box-shadow: 8px 12px 30px rgba(0,0,0,0.12);
}
.cev-menu-img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; margin-bottom: 20px; }
.cev-menu-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.cev-menu-card:hover img { transform: scale(1.05); }
.cev-menu-tag {
  position: absolute; top: 12px; right: 12px;
  background: var(--accent); color: #faf5ea;
  padding: 5px 11px; font-size: 10px; letter-spacing: 0.25em; font-weight: 700;
  transform: rotate(3deg); box-shadow: 2px 2px 0 var(--ink);
}
.cev-menu-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.cev-menu-row h3 { font-size: 22px; line-height: 1.1; font-family: 'DM Serif Display', serif; white-space: nowrap; }
.cev-menu-dots { flex: 1; border-bottom: 1.5px dotted rgba(26,15,10,0.3); transform: translateY(-4px); }
.cev-menu-price { font-family: 'DM Serif Display', serif; font-size: 20px; color: var(--accent); white-space: nowrap; }
.cev-menu-info p { font-size: 13px; color: var(--ink-soft); line-height: 1.4; }

.cev-sides {
  max-width: 1200px; margin: 80px auto 0;
  border-top: 2px dashed rgba(26,15,10,0.2); padding-top: 40px; position: relative;
}
.cev-sides-label {
  position: absolute; top: -18px; left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  background: var(--paper); padding: 0 20px;
}
.cev-sides-label .handwrite { font-size: 32px; color: var(--accent); }
.cev-sides-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.cev-side { text-align: center; }
.cev-side-img {
  aspect-ratio: 1; width: 110px; height: 110px; margin: 0 auto 12px;
  border-radius: 50%; overflow: hidden; border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--accent);
}
.cev-side-img img { width: 100%; height: 100%; object-fit: cover; }
.cev-side-name { font-family: 'DM Serif Display', serif; font-size: 18px; }
.cev-side-price { color: var(--accent); font-family: 'DM Serif Display', serif; font-size: 16px; }

.cev-gallery { padding: 120px 40px; background: var(--cream); text-align: center; }
.cev-gallery-title {
  font-size: clamp(36px, 5vw, 60px); line-height: 1.05;
  max-width: 900px; margin: 0 auto 60px; text-wrap: balance;
}
.cev-gallery-grid {
  max-width: 1300px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 180px; gap: 12px;
}
.cev-gallery-grid .gcell { overflow: hidden; }
.cev-gallery-grid .gcell img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.cev-gallery-grid .gcell:hover img { transform: scale(1.06); }
.g1 { grid-column: span 3; grid-row: span 2; }
.g2 { grid-column: span 2; }
.g3 { grid-column: span 1; }
.g4 { grid-column: span 2; grid-row: span 2; }
.g5 { grid-column: span 2; }
.g6 { grid-column: span 2; }

.cev-contact { padding: 120px 40px; background: var(--paper); }
.cev-contact-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.cev-contact-left h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1.05; margin-bottom: 32px; }
.cev-info-block { display: flex; flex-direction: column; gap: 24px; max-width: 400px; }
.cev-info-row {
  display: grid; grid-template-columns: 120px 1fr; gap: 20px;
  padding-bottom: 20px; border-bottom: 1px dashed rgba(26,15,10,0.2); align-items: start;
}
.cev-info-row .lbl {
  font-size: 10px; letter-spacing: 0.3em; font-weight: 700;
  color: var(--accent); text-transform: uppercase; padding-top: 4px;
}
.cev-info-row span:not(.lbl) { font-size: 15px; line-height: 1.5; color: var(--ink); }

.cev-map {
  position: relative; aspect-ratio: 1; overflow: hidden;
  border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--accent); transform: rotate(1deg);
}
.cev-map iframe { filter: contrast(0.95) saturate(0.85); }
.cev-map-pin { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -100%); pointer-events: none; }
.cev-map-pin-inner {
  width: 54px; height: 54px; border-radius: 50%;
  border: 3px solid var(--ink); background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
}
.cev-map-pin-inner img { width: 70%; height: 70%; object-fit: contain; }

.cev-footer { background: var(--ink); color: var(--paper); padding: 60px 40px 30px; }
.cev-footer-top {
  max-width: 1200px; margin: 0 auto 40px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 30px;
}
.cev-footer-logo { display: flex; align-items: center; gap: 18px; }
.cev-footer-logo img { width: 60px; height: 60px; object-fit: contain; }
.cev-footer-brand { font-family: 'DM Serif Display', serif; font-size: 22px; letter-spacing: 0.1em; }
.cev-footer-tag { color: var(--accent); font-size: 22px; margin-top: 2px; }
.cev-footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.cev-footer-nav a {
  text-decoration: none; font-size: 12px; letter-spacing: 0.2em;
  font-weight: 600; text-transform: uppercase; opacity: 0.7; transition: opacity 0.2s;
}
.cev-footer-nav a:hover { opacity: 1; color: var(--accent); }
.cev-footer-bottom {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid rgba(250,245,234,0.1);
  font-size: 11px; letter-spacing: 0.15em; opacity: 0.6; text-transform: uppercase;
}

.cev-corner-cat {
  position: fixed; bottom: 0; left: 0;
  width: 90px; height: 210px; opacity: 0.75;
  z-index: 30; pointer-events: none;
  animation: catPeek 8s ease-in-out infinite;
}
.cev-corner-cat svg, .cev-corner-cat img { width: 100%; height: 100%; }
@keyframes catPeek {
  0%, 90%, 100% { transform: translateX(0); }
  45%, 55%      { transform: translateX(8px); }
}

@media (max-width: 900px) {
  .cev-nav { grid-template-columns: auto 1fr auto; padding: 10px 16px; gap: 16px; }
  .cev-nav-links { display: none; }
  .cev-story-inner, .cev-contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .cev-menu-grid { grid-template-columns: 1fr; }
  .cev-sides-row { grid-template-columns: repeat(2, 1fr); }
  .cev-gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .g1, .g2, .g3, .g4, .g5, .g6 { grid-column: span 1; grid-row: span 1; }
  .g1 { grid-column: span 2; grid-row: span 2; }
  .cev-hero { padding: 40px 20px 80px; }
  .cev-story, .cev-menu, .cev-gallery, .cev-contact { padding: 60px 20px; }
}
