/* -----------------------------------------------------
   Pentole Vicine - Scandinavian Clean Style CSS
   Responsive, clean, warm, modern + flexbox only
   Brand: #34663A (green), #FFC764 (yellow), #fff (accent)
   Fonts: 'Merriweather', 'Roboto', serif, sans-serif
----------------------------------------------------- */

/* ---- CSS RESET & BASE ---- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #FAFAF7;
  color: #222;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #34663A;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #FFC764;
  outline: none;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  color: #34663A;
  font-weight: 700;
  margin-bottom: 16px;
}
h1 { font-size: 2.25rem; line-height: 1.15; margin-bottom: 20px; }
h2 { font-size: 1.5rem; margin-bottom: 18px; }
h3 { font-size: 1.15rem; margin-bottom: 14px; font-weight: 600; }

p {
  font-size: 1rem;
  color: #222;
  margin-bottom: 16px;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
ul li, ol li { margin-bottom: 10px; list-style: disc inside; }
strong { font-weight: 600; color: #34663A; }

/* ---- SPACING & UTILITIES ---- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  width: 100%;
  padding: 0;
  margin: 0;
}
.text-section {
  padding: 32px 0;
}
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.gap-30 { gap: 30px; }
.mt-32 { margin-top: 32px; }

/* ---- CARD & FLEXBOX LAYOUTS ---- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(52,102,58,0.06);
  padding: 28px 20px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 280px;
  min-width: 240px;
  max-width: 350px;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 4px 24px rgba(52,102,58,0.12);
}
.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;
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(52,102,58,0.08);
  gap: 20px;
  min-width: 220px;
  max-width: 500px;
  border-left: 6px solid #34663A;
}
.testimonial-card p {
  color: #222;
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.testimonial-author {
  font-size: 0.98rem;
  color: #34663A;
  font-style: italic;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ---- HERO SECTION ---- */
.hero-section {
  background: #F5F9F3;
  padding: 50px 0 44px 0;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 4px 24px rgba(52,102,58,0.08);
  margin-bottom: 52px;
}
.hero-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-section h1 {
  color: #34663A;
  font-size: 2.2rem;
}
.hero-section p {
  color: #37522F;
  font-size: 1.18rem;
}

/* ---- BUTTONS ---- */
.btn-primary {
  background: #34663A;
  color: #fff;
  font-family: 'Merriweather', serif;
  font-size: 1.08rem;
  font-weight: 700;
  border: none;
  border-radius: 30px;
  padding: 13px 34px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(52,102,58,0.09);
  transition: background 0.15s, color 0.17s, box-shadow 0.18s;
  display: inline-block;
  margin-top: 18px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #FFC764;
  color: #34663A;
  box-shadow: 0 5px 26px rgba(52,102,58,0.13);
  outline: none;
}
.btn-secondary {
  background: #FFC764;
  color: #34663A;
  font-family: 'Merriweather', serif;
  font-weight: 600;
  border: none;
  border-radius: 28px;
  padding: 11px 26px;
  cursor: pointer;
  margin-top: 14px;
  transition: background 0.17s, color 0.17s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #34663A;
  color: #fff;
}
.btn-tertiary {
  background: transparent;
  color: #34663A;
  border: 2px solid #34663A;
  padding: 9px 24px;
  border-radius: 24px;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  transition: background 0.14s, color 0.14s;
}
.btn-tertiary:hover {
  background: #34663A;
  color: #fff;
}

/* ---- NAVIGATION & HEADER ---- */
header {
  background: #fff;
  box-shadow: 0 2px 9px rgba(52,102,58,0.08);
  padding: 0;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 101;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1100px;
  margin: 0 auto;
  height: 72px;
}
.main-nav img {
  height: 46px;
  width: auto;
  margin-right: 28px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 1.05rem;
  color: #37522F;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  padding: 6px 8px;
  border-radius: 8px;
  transition: background 0.14s, color 0.17s;
}
.nav-links a:hover, .nav-links a:focus {
  background: #34663A;
  color: #fff;
}
header .btn-primary {
  margin-left: 22px;
  margin-top: 0;
}
.mobile-menu-toggle {
  background: none;
  border: 2px solid #34663A;
  border-radius: 8px;
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #34663A;
  margin-right: 8px;
  cursor: pointer;
  transition: background 0.13s, color 0.13s, border-color 0.15s;
  z-index: 1200;
}
.mobile-menu-toggle:focus {
  background: #F5F9F3;
  border-color: #FFC764;
}
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(250,250,247,0.97);
  box-shadow: 0 12px 48px rgba(52,102,58,0.10);
  transform: translateX(-105%);
  transition: transform 0.33s cubic-bezier(.65,.05,.36,1);
  z-index: 1300;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #34663A;
  align-self: flex-end;
  margin-bottom: 22px;
  cursor: pointer;
  padding: 6px;
  line-height: 1;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 16px;
}
.mobile-nav a {
  font-size: 1.19rem;
  color: #34663A;
  padding: 12px 2px;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  border-radius: 8px;
  transition: background 0.14s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFC764;
  color: #34663A;
}

/* Hide nav-links and show burger on mobile */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .main-nav .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* -- MOBILE HERO HEIGHTS -- */
@media (max-width: 480px) {
  .hero-section {
    padding: 34px 0 20px 0;
    border-radius: 0 0 12px 12px;
  }
  .main-nav img {
    height: 38px;
  }
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.09rem; }
}

/* ---- CATEGORY NAVIGATION ---- */
.category-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
  margin-top: 6px;
}
.category-navigation a {
  background: #EFF5EF;
  color: #34663A;
  padding: 8px 18px;
  border-radius: 19px;
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  transition: background 0.16s, color 0.18s;
}
.category-navigation a:hover, .category-navigation a:focus {
  background: #FFC764;
  color: #34663A;
}

/* ---- LISTS & CATEGORIES ---- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-top: 16px;
  margin-bottom: 16px;
}
.feature-grid li,
.catalog-category-list li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(52,102,58,0.07);
  padding: 30px 20px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 317px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.feature-grid img,
.service-detailed-list img {
  width: 38px;
  height: 38px;
  margin-bottom: 6px;
}
.catalog-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
  margin-top: 8px;
}
.catalog-category-list h3 {
  font-size: 1.11rem;
}
.service-list,
ul.service-list,
ol {
  margin-bottom: 18px;
}
.service-list li {
  font-size: 1.07rem;
  margin-bottom: 12px;
}
.service-detailed-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.service-detailed-list li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(52,102,58,0.07);
  padding: 26px 20px;
  flex: 1 1 225px;
  min-width: 188px;
  max-width: 295px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-price {
  margin-left: auto;
  background: #F7E9C8;
  color: #37522F;
  font-size: 0.97rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  border-radius: 9px;
  padding: 3px 10px;
  margin-top: -8px;
  align-self: flex-end;
}

/* ---- TIPS/RECIPES SECTION ---- */
.tips-section, .recipes-section {
  margin-bottom: 48px;
}
.recipe-preview {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(52,102,58,0.07);
  padding: 20px 18px;
  margin-bottom: 20px;
  max-width: 400px;
  min-width: 220px;
}
.recipe-preview h3 {
  margin-bottom: 6px;
  color: #34663A;
}

/* ---- CONTACT & MAP ---- */
.contact-section .map-placeholder {
  background: #F7F7F3;
  border: 1.5px dashed #B6C7AE;
  border-radius: 16px;
  color: #6D7D6A;
  padding: 18px 15px;
  font-style: italic;
  margin-top: 18px;
}

/* ---- FOOTER ---- */
footer {
  background: #EFF5EF;
  padding-top: 36px;
  padding-bottom: 18px;
  border-radius: 18px 18px 0 0;
  margin-top: 60px;
}
.footer-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #37522F;
  font-size: 0.98rem;
  padding: 3px 7px;
  border-radius: 7px;
  transition: background 0.14s, color 0.13s;
}
.footer-nav a:hover { 
  background: #34663A; 
  color: #fff;
}
.footer-info {
  text-align: center;
  color: #757870;
  font-size: 0.96rem;
  margin-top: 6px;
}

/* ---- COOKIE CONSENT BANNER ---- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fffbe8;
  box-shadow: 0 -2px 18px rgba(52,102,58,0.06);
  border-top: 3px solid #FFC764;
  padding: 24px 18px;
  z-index: 1600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: transform 0.38s cubic-bezier(.65,.05,.36,1);
}
.cookie-banner.hide {
  transform: translateY(110%);
  pointer-events: none;
}
.cookie-banner p {
  color: #222;
  font-size: 1.02rem;
  margin-bottom: 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-banner button {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 17px;
  padding: 8px 20px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.cookie-banner .btn-accept {
  background: #34663A;
  color: #fff;
  font-weight: 600;
}
.cookie-banner .btn-accept:hover {
  background: #FFC764;
  color: #34663A;
}
.cookie-banner .btn-reject {
  background: #fff;
  color: #34663A;
  border: 2px solid #34663A;
  font-weight: 500;
}
.cookie-banner .btn-reject:hover {
  background: #34663A;
  color: #fff;
}
.cookie-banner .btn-settings {
  background: #FFC764;
  color: #34663A;
  font-weight: 500;
}
.cookie-banner .btn-settings:hover {
  background: #34663A;
  color: #fff;
}

/* ---- COOKIE CONSENT MODAL ---- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(87,100,79,0.20);
  z-index: 1700;
  display: none;
  justify-content: center;
  align-items: center;
}
.cookie-modal-overlay.open {
  display: flex;
  animation: fadeInModal 0.28s forwards;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fffbe8;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(52,102,58,0.14);
  max-width: 420px;
  min-width: 220px;
  padding: 32px 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: slideInModal 0.28s forwards;
}
@keyframes slideInModal {
  from {transform: scale(0.90) translateY(42px);}
  to {transform: scale(1) translateY(0);}
}
.cookie-modal h2 {
  color: #34663A;
  font-size: 1.25rem;
}
.cookie-modal ul {
  margin-left: 0;
}
.cookie-modal li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-toggle-switch {
  position: relative;
  width: 44px;
  height: 22px;
}
.cookie-toggle-switch input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  background: #B6C7AE;
  border-radius: 11px;
  top: 0; left: 0;
  width: 44px; height: 22px;
  transition: background 0.15s;
}
.cookie-toggle-slider:before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3.5px rgba(52,102,58,0.12);
  transition: transform 0.19s, background 0.17s;
}
.cookie-toggle-switch input:checked + .cookie-toggle-slider {
  background: #34663A;
}
.cookie-toggle-switch input:checked + .cookie-toggle-slider:before {
  transform: translateX(22px);
  background: #FFC764;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.cookie-modal .btn-close-modal {
  position: absolute;
  top: 14px;
  right: 19px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #34663A;
  cursor: pointer;
  line-height: 1;
  transition: color 0.13s;
}
.cookie-modal .btn-close-modal:hover {
  color: #FFC764;
}

/* --- VISUAL MICRO-EFFECTS --- */
.card, .testimonial-card, .feature-grid li, .catalog-category-list li {
  transition: box-shadow 0.18s, transform 0.14s;
}
.card:hover, .feature-grid li:hover, .catalog-category-list li:hover, .service-detailed-list li:hover {
  box-shadow: 0 6px 32px rgba(52,102,58,0.13);
  transform: translateY(-3px) scale(1.024);
}

/* --- FORM FIELDS --- */
input[type="text"], input[type="email"], textarea {
  font-family: inherit;
  font-size: 1rem;
  border: 1.5px solid #B6C7AE;
  border-radius: 10px;
  padding: 11px 14px;
  background: #fafaf7;
  color: #222;
  margin-top: 8px;
  margin-bottom: 14px;
  width: 100%;
  transition: border-color 0.17s, background 0.17s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: #34663A;
  background: #F7FFF4;
  outline: none;
}

/* --- THANK YOU/BASIC MESSAGES --- */
.thank-section .btn-primary {
  margin-top: 10px;
}

/* ---- RESPONSIVE MEDIA QUERIES ---- */
@media (max-width: 768px) {
  .container {
    max-width: 98vw;
    padding: 0 6px;
  }
  .section {
    padding: 30px 6px;
  }
  .hero-section {
    padding: 30px 0 17px 0;
  }
  .content-grid, .feature-grid, .catalog-category-list, .service-detailed-list, .card-container {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .testimonial-card {
    max-width: 100%;
    min-width: 0;
    flex: none;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .main-nav {
    padding: 10px 6px;
    height: 55px;
  }
}
@media (max-width: 530px) {
  h1 { font-size: 1.18rem; }
  h2 { font-size: 1rem; }
  .card, .feature-grid li, .catalog-category-list li, .recipe-preview, .service-detailed-list li {
    padding: 16px 8px;
    min-width: auto;
    max-width: 100%;
  }
  .cookie-modal {
    min-width: 0;
    padding: 19px 7px 15px 10px;
    max-width: 98vw;
  }
}

/* ---- MISCELLANEOUS ---- */
::-webkit-scrollbar {
  width: 9px;
  background: #F7F7F3;
}
::-webkit-scrollbar-thumb {
  background: #B6C7AE;
  border-radius: 10px;
}

/* ---- END STYLES ---- */
