/* =====================
   KUHAJMO HRVATSKU — STYLE.CSS
   Minimalist, warm, modern, responsive
   Font: Montserrat (display), Roboto (body)
   Colors: Primary #004870, Accent #FFB42E, White #FFFFFF
   ===================== */

/* ==== CSS RESET & BASELINE ==== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #fff;
  color: #1A232B;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #004870;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover,
a:focus {
  color: #FFB42E;
  text-decoration: underline;
}
strong { font-weight: 600; }
em { font-style: italic; }
ul, ol { padding-left: 1.2em; }
hr {
  border: none;
  border-top: 1px solid #EAEFF2;
  margin: 32px 0;
}

/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #004870;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  line-height: 1.22;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.32rem;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1.06rem;
  margin-bottom: 10px;
  font-weight: 700;
}
p {
  font-size: 1rem;
  color: #232B36;
  margin-bottom: 18px;
}
blockquote {
  border-left: 3px solid #FFB42E;
  margin: 0 0 16px 0;
  padding: 0 0 0 16px;
  color: #2D3743;
  font-style: italic;
  background: #FAFBFD;
}

/* ==== LAYOUT ==== */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ==== FLEX UTILITY CLASSES ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 18px 0 rgba(25,50,76,0.06);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 230px;
  flex: 1 1 260px;
  transition: box-shadow 0.22s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 28px 0 rgba(25,50,76,0.16);
  z-index: 2;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 15px 0 rgba(25,50,76,0.07);
  padding: 20px;
  margin-bottom: 20px;
  min-width: 220px;
  transition: box-shadow 0.16s;// Subtle shadow
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 4px 24px 0 rgba(25,50,76,0.16);
  z-index: 1;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}
.service-card {
  background: #F6F9FB;
  border-radius: 14px;
  box-shadow: 0 1px 10px 0 rgba(25,50,76,0.05);
  padding: 24px;
  margin-bottom: 20px;
  transition: box-shadow 0.19s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-card span {
  color: #004870;
  font-weight: 600;
}
.service-card:hover, .service-card:focus {
  box-shadow: 0 6px 24px 0 rgba(25,50,76,0.15);
}

/* ==== HERO SECTION ==== */
.hero {
  background: #F7FBFD;
  border-radius: 0 0 28px 28px;
  padding: 52px 0 42px 0;
  box-shadow: 0 2px 20px 0 rgba(25,50,76,0.02);
  margin-bottom: 48px;
}
.hero h1 {
  color: #004870;
  font-size: 2.35rem;
}
.hero p {
  color: #33455E;
  font-size: 1.14rem;
}

/* ==== NAVIGATION ==== */
header {
  width: 100%;
  background: #fff;
  position: relative;
  box-shadow: 0 1px 12px 0 rgba(25,50,76,0.04);
  z-index: 100;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 20px;
  min-height: 56px;
}
header nav > a img {
  height: 38px;
  width: auto;
}
header nav ul {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin-left: 24px;
}
header nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #004870;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 0.15s;
  padding: 8px 2px;
  border-radius: 5px;
}
header nav ul li a:hover, header nav ul li a:focus {
  color: #FFB42E;
  background: #f5f8fb;
}
.cta-primary {
  background: #FFB42E;
  color: #004870;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 28px;
  border: none;
  border-radius: 7px;
  box-shadow: 0 2px 8px rgba(30,49,74,0.045);
  transition: background 0.15s, color 0.12s, box-shadow 0.16s, transform 0.13s;
  display: inline-block;
  cursor: pointer;
  outline: none;
  margin-left: 20px;
}
.cta-primary:hover, .cta-primary:focus {
  background: #ffd776;
  color: #003258;
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 6px 18px 0 rgba(255,180,46,0.08);
}

/* ==== MOBILE MENU ==== */
.mobile-menu-toggle {
  background: #fff;
  border: none;
  font-size: 2rem;
  color: #004870;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 9px;
  position: absolute;
  top: 10px;
  right: 22px;
  z-index: 301;
  transition: background 0.14s;
}
.mobile-menu-toggle:focus {
  background: #F2F6F9;
  outline: 2px solid #FFB42E;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: rgba(255,255,255,0.98);
  box-shadow: 0 2px 32px 0 rgba(0,36,66,0.11);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(100vw);
  transition: transform 0.32s cubic-bezier(0.85,0,0.17,1);
  z-index: 302;
  opacity: 1;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #004870;
  font-size: 2.3rem;
  margin: 18px 20px 0 0;
  cursor: pointer;
  padding: 0 8px;
  border-radius: 7px;
  transition: background 0.15s;
  z-index: 310;
}
.mobile-menu-close:focus {
  background: #F2F6F9;
  outline: 2px solid #FFB42E;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  padding: 32px 0 0 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #003258;
  padding: 10px 0;
  border-radius: 7px;
  transition: background 0.11s, color 0.14s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #FFB42E;
  color: #004870;
  outline: none;
}

/* Hide desktop nav/show mobile nav on mobile */
@media (max-width: 900px) {
  header nav ul,
  header nav .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ==== FOOTER STYLES ==== */
footer {
  background: #F8FAFC;
  padding: 36px 0 12px 0;
  margin-top: 50px;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -1px 12px 0 rgba(25,50,76,0.02);
  width: 100%;
  font-size: 0.97rem;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
  margin-bottom: 9px;
  font-family: 'Montserrat', Arial, sans-serif;
}
footer nav a {
  color: #004870;
  font-weight: 600;
  padding: 6px 8px;
  border-radius: 7px;
  font-size: 0.97rem;
}
footer nav a:hover,
footer nav a:focus {
  background: #FFB42E;
  color: #004870;
}
footer .text-section {
  align-items: center;
  text-align: center;
  font-size: 0.97rem;
  color: #6F7D8D;
  margin-top: 7px;
}
footer .text-section p {
  margin-bottom: 9px;
}

/* ==== COMPONENTS & SECTIONS ==== */
.chef-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.chef-bio {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 1px 14px 0 rgba(25,50,76,0.07);
  padding: 18px 18px 9px 18px;
  min-width: 220px;
  flex: 1 1 240px;
  transition: box-shadow 0.19s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chef-bio span {
  font-style: italic;
  font-size: 0.98rem;
  color: #004870;
}
.chef-bio:hover {
  box-shadow: 0 2px 24px 0 rgba(255,180,46,0.11);
}
.map-address p {
  font-style: italic;
  color: #6A788C;
  font-size: 0.98rem;
}

/* ==== TESTIMONIALS ==== */
.testimonials {
  background: #F8FAFE;
  border-radius: 18px;
  margin-bottom: 52px;
  padding-top: 26px;
  padding-bottom: 16px;
}
.testimonial-card blockquote {
  font-size: 1.09rem;
  color: #1A2330;
}
.testimonial-card div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #004870;
  font-size: 1.01rem;
  font-weight: 600;
}
.testimonial-card span {
  color: #FFB42E;
  font-size: 1.13rem;
  margin-left: 6px;
  letter-spacing: 1px;
}

/* ==== BUTTONS & INTERACTIVE ELEMENTS ==== */
button, .cta-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  outline: none;
  transition: box-shadow 0.13s, background 0.14s, color 0.14s, transform 0.15s;
}
button:focus-visible, .cta-primary:focus-visible {
  outline: 2px solid #FFB42E;
  outline-offset: 2px;
}

/* ==== LIST STYLES ==== */
ul {
  list-style-type: disc;
}
ul ul {
  list-style-type: circle;
}
li {
  margin-bottom: 9px;
  line-height: 1.7;
}

/* ==== FORMS (future proof) ==== */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border: 1px solid #E7EDF1;
  border-radius: 6px;
  padding: 8px 12px;
  background: #FAFAFE;
  color: #1A232B;
  margin-bottom: 14px;
  transition: border 0.14s, box-shadow 0.13s;
}
input:focus, textarea:focus, select:focus {
  border-color: #FFB42E;
  outline: none;
  box-shadow: 0 2px 8px 0 rgba(255,180,46,.09);
}
label {
  color: #0F2339;
  font-weight: 500;
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 1.5px solid #E2E6ED;
  box-shadow: 0 -2px 18px 0 rgba(25,50,76,0.09);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 18px 20px 18px;
  gap: 15px;
  z-index: 4999;
  transition: transform 0.34s cubic-bezier(.75,0,.26,1), opacity 0.14s;
  font-size: 1rem;
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner .cookie-btn-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 4px;
}
.cookie-btn{
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.97rem;
  padding: 8px 18px;
  border-radius: 7px;
  margin-right: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.13s, color 0.11s, box-shadow 0.13s;
}
.cookie-btn.accept {
  background: #FFB42E;
  color: #004870;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #ffd776;
  color: #003258;
  box-shadow: 0 2px 10px 0 rgba(255,180,46,0.13);
}
.cookie-btn.reject {
  background: #004870;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #003258;
  color: #FFF;
  box-shadow: 0 2px 10px 0 rgba(0,72,112,0.11);
}
.cookie-btn.settings {
  background: #F2F6F9;
  color: #004870;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #FFB42E;
  color: #004870;
}

/* ==== COOKIE SETTINGS MODAL ==== */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,20,0.32);
  z-index: 5004;
  opacity: 1;
  transition: opacity 0.21s;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
}
.cookie-modal-overlay.hide { opacity: 0; pointer-events: none; }
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 32px 0 rgba(25,50,76,0.19);
  padding: 32px 24px 20px 24px;
  min-width: 320px;
  max-width: 95vw;
  min-height: 180px;
  z-index: 5007;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: bounceIn 0.65s cubic-bezier(.42,.11,.5,1.1);
}
@keyframes bounceIn {
  0% { transform: scale(0.95) translateY(32px); opacity:0; }
  70% { transform: scale(1.08) translateY(-3px); opacity:1; }
  100% { transform: scale(1) translateY(0); }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 12px; right: 15px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #004870;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 7px;
  transition: background 0.12s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: #F2F6F9;
  outline: 2px solid #FFB42E;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cookie-category label {
  font-weight: 500;
  color: #244057;
}
.cookie-toggle {
  appearance: none;
  width: 36px;
  height: 20px;
  background: #E2E6ED;
  border-radius: 20px;
  position: relative;
  outline: none;
  transition: background 0.13s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #FFB42E;
}
.cookie-toggle:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.cookie-toggle::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.18s cubic-bezier(.42,0,.6,1);
  box-shadow: 0 1px 7px rgba(25,50,76,0.08);
}
.cookie-toggle:checked::before {
  transform: translateX(16px);
}

/* ==== SPACING ON FLEX ITEMS ==== */
.section, .text-section, .card-container, .feature-item, .content-grid, .chef-list, .testimonial-card, .service-card {
  margin-bottom: 20px;
}
.container {
  margin-bottom: 0;
}
/* Ensure no overlap anywhere */
.section:not(:last-child) {
  margin-bottom: 60px;
}

/* ==== RESPONSIVE DESIGN ==== */
@media (max-width: 900px) {
  .container {
    max-width: 99vw;
    padding: 0 10px;
  }
  .hero {
    padding: 34px 0 28px 0;
    margin-bottom: 30px;
    border-radius: 0 0 20px 20px;
  }
  .section {
    padding: 28px 8px;
  }
  .card, .service-card, .chef-bio {
    min-width: 170px;
    flex: 1 1 98%;
    padding: 20px 13px;
  }
  .chef-list {
    flex-direction: column;
    gap: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.62rem;
  }
  h2 {
    font-size: 1.19rem;
  }
  .hero {
    border-radius: 0 0 14px 14px;
    padding: 24px 0 12px 0;
  }
  .section {
    padding: 18px 4px;
    margin-bottom: 36px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .testimonial-card {
    padding: 13px;
    min-width: 0;
    font-size: .97rem;
  }
  .service-card {
    padding: 13px 12px;
  }
  footer {
    padding: 18px 0 7px 0;
    border-radius: 12px 12px 0 0;
  }
}
@media (max-width: 560px) {
  .content-wrapper, .text-section {
    gap: 8px;
  }
  .container {
    padding: 0 3px;
  }
  .cookie-modal {
    padding: 19px 2vw 14px 2vw;
    min-width: 0;
  }
}

/* ==== MICRO-INTERACTIONS ==== */
.cta-primary:active {
  transform: scale(0.98);
}
.card:active, .service-card:active {
  transform: scale(0.99);
  box-shadow: 0 2px 8px rgba(25,50,76,0.07);
}
.testimonial-card:active {
  transform: scale(0.985);
  box-shadow: 0 1px 8px rgba(25,50,76,0.10);
}
.mobile-menu-toggle:active {
  background: #F2F6F9;
}

/* Accessible hidden utility */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  border: 0 !important;
}
