/* ============================================================================= *
   CSS Reset & Normalize - Professional Corporate Style for Zesty Comet
   ========================================================================== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #F6F8FA;
  color: #263238;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
input, button, textarea, select {
  font: inherit;
}
a {
  color: #33555B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #C4A95F;
  outline: none;
}
ul, ol {
  list-style: none;
}
button {
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

/* ============================================================================= *
   Brand Fonts
   ========================================================================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #223243;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.25rem; margin-bottom: 16px; }
h2 { font-size: 1.75rem; margin-bottom: 14px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
h4 { font-size: 1.1rem; margin-bottom: 6px; }
p, li, label {
  font-size: 1rem;
  color: #263238;
  line-height: 1.6;
}

/* ============================================================================= *
   Layout Containers
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(51,85,91,0.06), 0 0.5px 2px 0 rgba(36,39,43,0.03);
}

/* ============================================================================= *
    Header
   ========================================================================== */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 14px 0;
  background: #fff;
  border-bottom: 1px solid #e2e7ea;
  z-index: 1000;
  position: relative;
}
header > a img {
  height: 44px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: #33555B;
  padding: 7px 8px;
  border-radius: 6px;
  font-size: 1rem;
  transition: color 0.18s, background 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #e7ecef;
  color: #C4A95F;
}
.main-nav a.btn-primary {
  background: #33555B;
  color: #fff;
  border-radius: 22px;
  padding: 8px 20px;
  margin-left: 16px;
  font-weight: 700;
  transition: background 0.15s, color 0.18s, box-shadow 0.16s;
  box-shadow: 0 1.5px 8px 0 rgba(51,85,91,0.11);
}
.main-nav a.btn-primary:hover, .main-nav a.btn-primary:focus {
  background: #223243;
  color: #C4A95F;
}

/* ============================================================================= *
   Hero Section
   ========================================================================== */
.hero {
  padding: 70px 0 40px 0;
  background: linear-gradient(105deg, #FDF8F4 60%, #EDF2F6 100%);
  border-bottom: 1.5px solid #E1E7EB;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 24px;
  max-width: 650px;
}
.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
  color: #223243;
  letter-spacing: -0.3px;
}
.hero p {
  color: #416473;
  font-size: 1.25rem;
  line-height: 1.55;
}
.hero .btn-primary {
  margin-top: 16px;
}

/* ============================================================================= *
   Features, About, Services, Testimonials
   ========================================================================== */
.features ul, .services-preview ul, .about-preview ul, .services ul, .contact-preview ul, .contact-info ul, .category-grid ul, .tips-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.features li, .services-preview li, .about-preview li, .services li, .contact-preview li, .contact-info li, .category-grid li, .tips-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #F6F8FA;
  border-radius: 9px;
  padding: 16px 20px;
  box-shadow: 0 1px 3px 0 rgba(51,85,91,0.04);
  font-size: 1rem;
  margin-bottom: 0;
  min-width: 220px;
  flex: 1 1 220px;
}
.features img, .services-preview img, .about-preview img, .contact-preview img, .contact-info img, .category-grid img {
  width: 30px;
  height: 30px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.services ul {
  gap: 24px;
  flex-direction: column;
  margin-top: 16px;
}
.services li {
  background: #F6F8FA;
  border-radius: 8px;
  padding: 18px 24px;
  font-size: 1.08rem;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}
.service-price {
  color: #33555B;
  font-weight: 700;
  background: #e7ecef;
  padding: 5px 13px;
  border-radius: 13px;
  margin-left: 10px;
  font-size: 0.98rem;
}

.about-preview, .services-preview, .about, .contact-preview, .category-grid, .tips-list, .legal {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 1.5px 8px 0 rgba(51,85,91,0.08);
}

/* ============================================================================= *
   Testimonial Card
   ========================================================================== */
.testimonials .testimonial-slider,
.testimonials .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 20px;
  border-radius: 12px;
  background: #FDF8F4;
  box-shadow: 0 2px 12px 0 rgba(51,85,91,0.07);
  margin-bottom: 0;
  min-width: 250px;
}
.testimonial-card p {
  color: #223243;
  font-size: 1.07rem;
  line-height: 1.5;
}
.testimonial-card span {
  color: #33555B;
  font-size: 0.98rem;
  font-weight: 500;
  align-self: flex-end;
}

/* Guarantee proper contrast in testimonials */
.testimonials .testimonial-card p, .testimonials .testimonial-card span {
  color: #223243;
}

/* ============================================================================= *
   Buttons
   ========================================================================== */
.btn-primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #33555B;
  color: #fff;
  padding: 12px 28px;
  border: none;
  border-radius: 28px;
  font-size: 1.07rem;
  font-weight: 700;
  margin: 0 0 0 0;
  box-shadow: 0 2px 12px 0 rgba(51,85,91,0.11);
  transition: background 0.18s, color 0.15s, box-shadow 0.17s, transform 0.13s;
  outline: none;
  cursor: pointer;
}
.btn-primary:hover, .btn-primary:focus {
  background: #223243;
  color: #C4A95F;
  box-shadow: 0 6px 20px 0 rgba(51,85,91,0.17);
  transform: translateY(-1.5px) scale(1.021);
}
.btn-secondary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #C4A95F;
  color: #fff;
  padding: 12px 26px;
  border: none;
  border-radius: 28px;
  font-size: 1.07rem;
  font-weight: 700;
  margin: 0;
  box-shadow: 0 1.5px 7px 0 rgba(196,169,95,0.07);
  transition: background 0.18s, color 0.16s, box-shadow 0.11s, transform 0.11s;
  outline: none;
  cursor: pointer;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #B1934B;
  color: #fff;
  box-shadow: 0 5px 10px 0 rgba(196,169,95,0.13);
  transform: translateY(-1.5px) scale(1.018);
}

/* ============================================================================= *
   Forms & Inputs
   ========================================================================== */
input[type="text"], input[type="email"], textarea {
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #cad5db;
  background: #F7F9FB;
  color: #263238;
  font-size: 1rem;
  transition: border-color 0.17s, box-shadow 0.16s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: #33555B;
  outline: none;
  box-shadow: 0 1.5px 6px 0 rgba(51,85,91,0.06);
}
label {
  font-weight: 500;
  color: #223243;
  margin-bottom: 4px;
}
.search-filter {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 14px;
}
.search-filter label {
  font-size: 1rem;
}
.search-filter input[disabled] {
  pointer-events: none;
  background: #e9ecef;
  color: #90a4ae;
  border: 1px solid #d7dde1;
}

/* ============================================================================= *
   Cards and Content Grid
   ========================================================================== */
.card-container, .category-grid .popular-recipes ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card, .category-grid .popular-recipes li {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1.5px 8px 0 rgba(51,85,91,0.07);
  transition: box-shadow 0.17s, transform 0.12s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 20px 16px 20px;
  min-width: 220px;
  flex: 1 1 220px;
}
.card:hover, .category-grid .popular-recipes li:hover {
  box-shadow: 0 5px 16px 0 rgba(51,85,91,0.15);
  transform: scale(1.02);
}
.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;
}

/* ============================================================================= *
   Category Grid & Popular Recipes
   ========================================================================== */
.category-grid ul {
  gap: 20px;
}
.category-grid .popular-recipes {
  margin-top: 32px;
}
.category-grid .popular-recipes h3 {
  margin-bottom: 10px;
  color: #33555B;
}
.category-grid .popular-recipes ul {
  gap: 18px;
}
.category-grid .popular-recipes li {
  background: #F6F8FA;
  box-shadow: 0 1.5px 7px 0 rgba(51,85,91,0.06);
  border-radius: 7px;
  padding: 13px 18px;
  font-size: 1rem;
}
.category-grid .quick-links {
  margin-top: 36px;
  font-size: 1.02rem;
  color: #33555B;
}
.category-grid .quick-links a {
  color: #33555B;
  font-weight: 500;
  border-bottom: 2px solid #C4A95F;
  margin: 0 0.5em;
  transition: color 0.17s, border-color 0.16s;
}
.category-grid .quick-links a:hover{
  color: #C4A95F;
  border-color: #223243;
}

/* ============================================================================= *
   Footer
   ========================================================================== */
footer {
  background: #FDF8F4;
  border-top: 1.5px solid #E1E7EB;
  padding: 28px 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-menu {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.footer-menu a {
  font-size: 1rem;
  color: #33555B;
  padding: 7px 8px;
  border-radius: 6px;
  font-weight: 500;
  transition: color 0.18s, background 0.16s;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: #E1E7EB;
  color: #C4A95F;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  margin-bottom: 7px;
}
.footer-social img {
  width: 32px;
  height: 32px;
}
.footer-social span {
  font-size: 1.07rem;
  color: #223243;
  font-weight: 500;
}
.footer-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.99rem;
  color: #476466;
}
.footer-contact a {
  color: #33555B;
  margin-left: 8px;
  text-decoration: underline dotted;
  transition: color 0.18s;
}
.footer-contact a:hover {
  color: #C4A95F;
}

/* ============================================================================= *
   Legal Pages Styling (GDPR, Cookies, Conditions)
   ========================================================================== */
.legal h1 {
  margin-bottom: 18px;
  color: #223243;
}
.legal ul li {
  margin-bottom: 8px;
  background: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  min-width: unset;
}

/* ============================================================================= *
   Call-to-Action & Utility Sections
   ========================================================================== */
.cta .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 22px;
}
.cta h2 {
  color: #223243;
}
.cta p {
  color: #33555B;
}

/* ============================================================================= *
   Mobile Menu Styling
   ========================================================================== */
.mobile-menu-toggle {
  display: none;
  background: #33555B;
  color: #fff;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  position: fixed;
  z-index: 5002;
  top: 18px;
  right: 20px;
  transition: background 0.17s, color 0.15s, box-shadow 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #223243;
  color: #C4A95F;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(35,52,67,0.88);
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(.58,.02,.2,.96);
  z-index: 5000;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.05rem;
  border: none;
  margin-left: auto;
  margin-top: 16px;
  margin-right: 18px;
  cursor: pointer;
  border-radius: 8px;
  padding: 2px 7px;
  transition: background 0.16s, color 0.13s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #C4A95F;
  color: #223243;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 auto;
  width: 84vw;
  margin-top: 38px;
  align-items: flex-start;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  background: none;
  padding: 15px 13px;
  border-radius: 7px;
  width: 100%;
  transition: background 0.19s, color 0.18s;
  font-weight: 600;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #C4A95F;
  background: rgba(255,255,255,0.10);
}

/* ============================================================================= *
   Cookie Consent Banner & Modal
   ========================================================================== */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #223243;
  color: #fff;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 9999;
  box-shadow: 0 -2.5px 22px 0 rgba(34,50,67,0.11);
  font-size: 1rem;
  transition: transform 0.26s;
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
}
.cookie-consent-banner .cookie-consent-text{
  flex: 1;
  color: #fff;
  font-size: 1rem;
  font-weight: 400;
}
.cookie-consent-banner .cookie-consent-actions {
  display: flex;
  gap: 10px;
}
.cookie-btn {
  background: #C4A95F;
  color: #fff;
  border: none;
  border-radius: 18px;
  padding: 9px 18px;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.18s, color 0.15s;
  margin: 0 1px;
}
.cookie-btn.reject {
  background: #33555B;
  color: #fff;
}
.cookie-btn.settings {
  background: #fff;
  color: #223243;
  border: 1.7px solid #C4A95F;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #B1934B;
  color: #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #FDF8F4;
  color: #33555B;
}

/** Cookie settings modal **/
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,50,67,0.61);
  align-items: center;
  justify-content: center;
  transition: background 0.16s;
}
.cookie-modal-overlay.open {
  display: flex !important;
}
.cookie-modal {
  background: #fff;
  color: #223243;
  border-radius: 14px;
  max-width: 410px;
  width: 92vw;
  padding: 28px 26px 18px 26px;
  box-shadow: 0 4px 32px 0 rgba(51,85,91,0.19);
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: cookieModalIn 0.34s cubic-bezier(.64,.08,.19,1);
}
@keyframes cookieModalIn {
  from { transform: scale(.89); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: #33555B;
  margin-bottom: 9px;
  font-size: 1.36rem;
}
.cookie-modal .cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.07rem;
}
.cookie-modal .toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #E1E7EB;
  border-radius: 13px;
  position: relative;
  outline: none;
  transition: background 0.18s;
}
.cookie-modal .toggle:checked {
  background: #33555B;
}
.cookie-modal .toggle:before {
  content: '';
  position: absolute;
  left: 4px;
  top: 4px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.18s;
}
.cookie-modal .toggle:checked:before {
  transform: translateX(16px);
  background: #C4A95F;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}
.cookie-modal .cookie-btn {
  flex: 1 1 auto;
}
.cookie-modal .close {
  margin-left: auto;
  background: none;
  color: #33555B;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal .close:hover, .cookie-modal .close:focus {
  color: #C4A95F;
}

/* ============================================================================= *
  Utilities
   ========================================================================== */
.gap-20, .gap20 {
  gap: 20px !important;
}
.gap-24, .gap24 {
  gap: 24px !important;
}
.m-bottom-20, .mb20 {
  margin-bottom: 20px !important;
}
.mt-32, .mt32 {
  margin-top: 32px !important;
}
.maxw-650 {
  max-width: 650px !important;
}

/* ============================================================================= *
   Responsive (Mobile First)
   ========================================================================== */
@media (max-width: 1024px) {
  .container { max-width: 93vw; }
  .hero .content-wrapper { max-width: 98vw; }
}
@media (max-width: 820px) {
  .main-nav { gap: 16px; }
  .footer-menu { gap: 18px; }
}
@media (max-width: 990px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.37rem; }
}
@media (max-width: 768px) {
  header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .main-nav { display: none !important; }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero {
    padding: 42px 0 30px 0;
  }
  .section, .about-preview, .services-preview, .about, .contact-preview, .category-grid, .tips-list, .legal {
    padding: 26px 7vw;
    margin-bottom: 44px;
  }
  .hero .content-wrapper,
  .cta .content-wrapper, .testimonials .content-wrapper {
    max-width: 100vw;
    padding: 0;
  }
  .features ul, .services-preview ul, .about-preview ul, .services ul,
  .category-grid ul, .tips-list ul, .contact-preview ul, .contact-info ul {
    flex-direction: column;
    gap: 11px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card { padding: 16px 12px; }
  .footer-menu, .footer-social, .footer-contact {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 520px) {
  .cookie-modal { padding: 18px 5vw 13px 5vw; max-width: 97vw; }
  .section, .about-preview, .services-preview, .about, .contact-preview, .category-grid, .tips-list, .legal {
    padding: 18px 2vw;
  }
  .hero h1 { font-size: 1.2rem; }
  h1, h2, h3 { font-size: 1rem; }
}
