/* ========== CSS RESET + BASE STYLES ========== */
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:inherit;vertical-align:baseline;box-sizing:border-box;}
/* HTML5 display-role reset for older browsers */
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {display:block;}
body {line-height:1;background:#fff;}
ol,ul {list-style:none;}
a {text-decoration:none;color:inherit;}
img {max-width:100%;height:auto;display:block;border:none;}
button {font-family:inherit;font-size:inherit;background:none;border:none;cursor:pointer;}
:root {
  --color-primary: #512C0F;
  --color-secondary: #D66324;
  --color-accent: #F6E7C1;
  --color-bg-bright: #FFF7EC;
  --color-bg-light: #FDF6EE;
  --color-white: #fff;
  --color-black: #23180A;
  --color-shadow: rgba(220,109,34,0.13);

  --font-display: 'Quicksand', Arial, sans-serif;
  --font-body: 'Montserrat', Arial, Helvetica, sans-serif;
}

@font-face {
  font-family: 'Quicksand';
  src: local('Quicksand'), url('https://fonts.googleapis.com/css?family=Quicksand:700,500,400&display=swap');
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: local('Montserrat'), url('https://fonts.googleapis.com/css?family=Montserrat:400,500,700&display=swap');
  font-display: swap;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg-bright);
  color: var(--color-primary);
  font-size:16px;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ========== SHARED CONTAINER & LAYOUTS ========== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-light);
  border-radius: 28px;
  box-shadow: 0 8px 32px var(--color-shadow);
  transition: box-shadow 0.35s;
}
.section:hover {
  box-shadow: 0 12px 40px 4px rgba(214,99,36,0.21);
}

/* ========== TYPOGRAPHY ========== */
h1, .h1 {
  font-family: var(--font-display);
  color: var(--color-secondary);
  font-size: 2.25rem;
  line-height:1.17;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -1px;
  text-shadow: 1px 2px var(--color-accent);
}
h2, .h2 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -.5px;
}
h3, .h3 {
  font-family: var(--font-display);
  color: var(--color-secondary);
  font-size:1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-weight: 600;
  font-family: var(--font-body);
}
p, ul, ol, li, span {
  font-family: var(--font-body);
  color: var(--color-primary);
  font-size: 1rem;
  line-height: 1.7;
}
b, strong {
  font-weight: 700;
  color: var(--color-primary);
}
ul, ol {
  margin-left: 18px;
}
ul li, ol li {
  margin-bottom: .4em;
}

a {
  transition: color 0.3s, background 0.3s;
}
a:hover, a.cta-primary:hover {
  color: var(--color-secondary);
}

a.cta-primary {
  font-family: var(--font-display);
  background: var(--color-secondary);
  color: var(--color-white);
  border-radius: 26px;
  padding: 16px 40px 14px 40px;
  font-size:1.12rem;
  font-weight:700;
  box-shadow: 0 3px 15px 0 var(--color-shadow);
  margin-top: 10px;
  display:inline-block;
  letter-spacing:.05em;
  border:2px solid var(--color-secondary);
  transition: box-shadow 0.23s, background 0.23s, color 0.23s;
  position:relative;
  z-index:1;
}
a.cta-primary:after {
  content: '';
  position: absolute;
  z-index:-1;
  left:5px;top:5px;right:5px;bottom:5px;
  border-radius: 21px;
  background: var(--color-accent);
  opacity:0;transition:opacity .3s;
}
a.cta-primary:hover, a.cta-primary:focus {
  background: var(--color-primary);
  color: var(--color-accent);
  box-shadow: 0 6px 28px 5px var(--color-shadow), 0 0 0 3px var(--color-accent);
}
a.cta-primary:hover:after{
  opacity:0.5;
}

/* ========== HEADER ========== */
header {
  width: 100%;
  background: var(--color-accent);
  box-shadow: 0 4px 18px -8px var(--color-shadow);
  border-bottom: 4px solid var(--color-secondary);
  position: relative;
  z-index:30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 0 16px;
  position:relative;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: 20px;
}
.logo img {
  height: 48px;
  width: auto;
  transition: transform 0.25s cubic-bezier(.6,-0.28,.74,.05);
}
.logo:hover img {
  transform: rotate(-10deg) scale(1.06);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap:wrap;
}
.main-nav a {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 600;
  font-size:1rem;
  padding: 10px 14px;
  border-radius: 18px;
  transition: background .14s, color .22s;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--color-secondary);
  color: var(--color-white);
}
.main-nav a.cta-primary {
  margin-left: 16px;
  font-size: 1rem;
  font-weight: bold;
  background: var(--color-primary);
  color: var(--color-accent);
  border:2px solid var(--color-secondary);
}
.main-nav a.cta-primary:hover{
  background: var(--color-secondary);
  color: var(--color-white);
}

/* ========== MOBILE MENU ========== */
.mobile-menu-toggle {
  display: none;
  position: relative;
  background: var(--color-secondary);
  color: var(--color-white);
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
  z-index:41;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--color-primary);
  color: var(--color-accent);
}

.mobile-menu {
  position:fixed;
  top:0; left:0; right:0; bottom:0;
  background: var(--color-accent);
  z-index:40;
  transform: translateX(100%);
  transition: transform 0.44s cubic-bezier(.22,.61,.36,1), box-shadow .33s;
  box-shadow: 0 0 40px 8px var(--color-shadow);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 38px 30px 10px 30px;
  gap: 0;
  opacity: 1;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  background: var(--color-secondary);
  color: var(--color-white);
  border-radius: 50%;
  align-self: flex-end;
  width: 48px;
  height: 48px;
  margin-bottom:20px;
  transition: box-shadow 0.22s, background .2s;
}
.mobile-menu-close:hover {
  background: var(--color-primary);
  color: var(--color-secondary);
  box-shadow: 0 4px 10px 1px var(--color-shadow);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-nav a {
  font-size: 1.15rem;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 600;
  padding: 12px 0;
  border-radius: 19px;
  transition: background .16s, color .2s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 12px;
  }
}
@media (max-width: 900px) {
  header .container {
    padding: 0 10px;
  }
  .main-nav {
    gap: 6px;
  }
}
@media (max-width: 768px) {
  .main-nav {display: none;}
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 769px) {
  .mobile-menu {display: none !important;}
}


/* ========== HERO SECTIONS / TOP SECTIONS ========== */
section:first-of-type {
  background: var(--color-accent);
  box-shadow: 0 8px 32px var(--color-shadow);
  border-radius: 36px 36px 42px 42px/32px 32px 44px 44px;
  margin-top: 20px;
  margin-bottom: 60px;
}
section:first-of-type h1 {
  font-size: 2.6rem;
  margin-bottom: 14px;
  color: var(--color-secondary);
  text-shadow: 2px 2px var(--color-bg-light);
}
section:first-of-type p {
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: 26px;
}

/* ========== FEATURE GRID ========== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 180px;
  min-width: 210px;
  background: var(--color-accent);
  border-radius: 30px;
  padding: 22px 24px 28px 24px;
  box-shadow: 0 3px 12px 1px var(--color-shadow), 0 0 0 5px rgba(246,231,193,0.17);
  transition: box-shadow 0.26s, transform 0.26s;
  margin-bottom: 20px;
  position:relative;
  z-index:1;
}
.feature-item img {
  height: 44px;
  width: 44px;
  margin-bottom: 6px;
}
.feature-item h3 {
  font-size:1.17rem;
  color: var(--color-primary);
  margin:.3em 0 .1em 0;
}
.feature-item p {
  font-size:1rem;
  color: var(--color-primary);
  margin-bottom:4px;
}
.feature-item:hover {
  box-shadow: 0 8px 35px 2px var(--color-secondary);
  transform: translateY(-7px) scale(1.04) rotate(-2deg);
}

/* ========== SERVICES LISTS / CARDS ========== */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.service-card {
  background: var(--color-accent);
  border-radius: 27px;
  box-shadow: 0 2px 12px 0 var(--color-shadow), 0 0 0 3px var(--color-bg-light);
  padding: 26px 22px 20px 22px;
  margin-bottom: 20px;
  flex: 1 1 240px;
  min-width: 236px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .22s, transform .22s;
  border:2px solid transparent;
}
.service-card h3 {
  font-family: var(--font-display);
  color: var(--color-secondary);
  font-weight:700;
  font-size:1.15rem;
  margin-bottom:5px;
}
.service-card p {
  font-size:1rem;
  color: var(--color-primary);
}
.service-card:hover {
  box-shadow: 0 7px 34px 4px var(--color-secondary),0 0 0 6px var(--color-accent);
  transform: scale(1.04) rotate(1.5deg);
  border-color: var(--color-secondary);
}

/* ========== TESTIMONIALS CARDS & SLIDER ========== */
.testimonial-slider {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 30px 22px 22px;
  background: var(--color-bg-bright);
  border-radius: 19px;
  box-shadow: 0 1.5px 9px 1px var(--color-shadow), 0 0 0 4px var(--color-accent);
  margin-bottom: 20px;
  max-width: 430px;
  min-width: 210px;
  font-size: 1.05rem;
  color: var(--color-primary);
  border:2.5px dashed var(--color-secondary);
  position: relative;
}
.testimonial-card p {
  color: var(--color-black);
  font-size:1.08rem;
  font-family: var(--font-body);
  margin-bottom:8px;
}
.testimonial-card span {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size:0.98rem;
}
.testimonial-card:before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--color-secondary);
  position: absolute;
  left: 18px;
  top: 0px;
  opacity: .13;
  pointer-events: none;
}

.testimonial-card:hover {
  box-shadow: 0 8px 30px 2px var(--color-secondary);
  background: var(--color-accent);
  transform:scale(1.03) rotate(-1.5deg);
  color: var(--color-primary);
}

/* ========== TAGS / FILTERS (BLOG) ========== */
.tag-filter {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.tag {
  font-family: var(--font-display);
  background: var(--color-secondary);
  color: var(--color-white);
  border-radius: 16px;
  padding: 8px 18px 7px 18px;
  font-size:1rem;
  font-weight:600;
  box-shadow: 0 2px 8px 1px var(--color-shadow);
  transition: background 0.23s, color .24s, transform .21s;
  margin-bottom: 4px;
  cursor: pointer;
  user-select: none;
}
.tag:hover {
  background: var(--color-primary);
  color: var(--color-accent);
  transform: scale(1.08) rotate(4deg);
}

/* ========== CONTACT DETAILS STYLES ========== */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size:1.08rem;
}
.contact-details img {
  vertical-align: middle;
  width: 22px;
  height:22px;
  margin-right:7px;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom:3px;
}


/* ========== FOOTER ========== */
footer {
  margin-top: 40px;
  background: var(--color-accent);
  padding: 38px 0 22px 0;
  color: var(--color-primary);
  border-top: 4px solid var(--color-secondary);
}
footer .container {
  flex-direction: column;
  display: flex;
  gap: 28px;
  align-items:center;
}
footer img {
  margin-bottom: 8px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom:10px;
  align-items:center;
}
.footer-nav a {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 600;
  font-size: .98rem;
  padding:5px 13px;
  border-radius:13px;
  transition: background .16s, color .1s;
}
.footer-nav a:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}
.footer-contact {
  font-size: .97rem;
  color: var(--color-primary);
  font-family: var(--font-body);
  text-align: center;
  word-break: break-word;
}
.footer-contact a:hover {
  color: var(--color-secondary);
}


/* ========== SECTION LAYOUTS & FLEX UTILS ========== */
.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  justify-content: space-between;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 16px;
  background: var(--color-accent);
  box-shadow: 0 2px 8px 1px var(--color-shadow);
  padding: 28px 18px;
  transition: box-shadow .19s;
}
.card:hover{ box-shadow:0 6px 22px 3px var(--color-shadow); }

.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;
}


/* ==== Responsive: Mobile-first Adjustments ==== */
@media (max-width: 1000px) {
  .feature-grid,
  .service-list,
  .testimonial-slider,
  .card-container,
  .card-grid,
  .content-grid {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  section, .section {
    padding: 32px 10px;
  }
  .feature-item, .service-card, .testimonial-card, .card {
    min-width: 150px;
    flex:1 1 132px;
    padding: 18px 10px 18px 14px;
  }
}
@media (max-width: 768px) {
  .container {padding:0 6px;}
  header .container {padding:0 2px;}
  section, .section {
    margin-bottom:44px;
    padding: 21px 3px;
    border-radius: 16px;
  }
  .feature-grid,.service-list,.testimonial-slider, .card-container,.card-grid,.content-grid{
    flex-direction: column;
    gap: 15px;
  }
  .feature-item,.service-card,.testimonial-card,.card {
    min-width:0;
    max-width:100%;
    width:100%;
  }
  .content-wrapper,.footer-nav{gap:12px;}
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
}

/* ========== ANIMATIONS ========== */
@keyframes playful-pop {
  0% {transform: scale(1) rotate(0deg);}
  70% {transform: scale(1.08) rotate(-2deg);}
  100% {transform: scale(1) rotate(0deg);}
}
.feature-item:hover {
  animation: playful-pop 0.48s cubic-bezier(.48,1.6,.7,.9) 1;
}
.service-card:hover {
  animation: playful-pop 0.6s 1;
}
.testimonial-card:hover {
  animation: playful-pop 0.52s 1;
}
.tag:hover {
  animation: playful-pop 0.29s 1;
}

/* ========== BUTTONS ========== */
button, .cta-btn, .cta-primary {
  font-family: var(--font-display);
  border-radius:22px;
  font-weight:600;
  padding:12px 28px;
  font-size:1.04rem;
  background: var(--color-secondary);
  color: var(--color-white);
  border:2px solid var(--color-secondary);
  box-shadow:0 2px 10px 1px var(--color-shadow);
  transition: background .2s, color .2s, box-shadow .2s, border-color .2s;
  margin:5px 5px 8px 0;
}
button:hover, .cta-btn:hover, .cta-primary:hover {
  background: var(--color-primary);
  color: var(--color-accent);
  border-color: var(--color-primary);
  box-shadow: 0 4px 16px 2px var(--color-shadow);
}
button:active, .cta-primary:active {
  background: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-secondary);
}
button:focus, .cta-primary:focus {
  outline: 2.5px dotted var(--color-secondary);
  outline-offset:2px;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position:fixed;
  left:0; right:0; bottom:0;
  z-index:90;
  background: var(--color-secondary);
  color: var(--color-white);
  width:100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 18px 26px 18px 26px;
  box-shadow:0 -2px 22px 0 var(--color-shadow);
  font-family: var(--font-body);
  opacity:1;
  transform: translateY(0);
  transition: transform .45s cubic-bezier(.22,.61,.36,1), opacity .34s;
  font-size:1.05rem;
  gap: 18px;
}
.cookie-banner.hide {
  opacity:0;
  pointer-events: none;
  transform: translateY(120%);
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner button {
  background: var(--color-white);
  color: var(--color-secondary);
  border:2px solid var(--color-secondary);
  padding:7px 18px;
  margin:0 0 0 2px;
  border-radius:18px;
  font-size:.97rem;
  font-family: var(--font-display);
  font-weight:600;
  transition:background .14s,color .16s,border .22s;
}
.cookie-banner button:not(:last-child) {
  margin-right: 8px;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--color-primary);
  color: var(--color-accent);
}

/* ========== COOKIE MODAL ========== */
.cookie-modal-overlay {
  position:fixed;
  top:0; right:0; bottom:0; left:0;
  background:rgba(33,28,26,.42);
  z-index:101;
  display: flex;
  align-items: center;
  justify-content: center;
  animation:fadeInModal .25s;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: 28px;
  box-shadow:0 10px 60px 1px var(--color-shadow);
  padding: 38px 28px 28px 28px;
  max-width: 410px;
  width: 96%;
  position:relative;
  animation: playful-pop 0.4s 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 14px;
  background: var(--color-secondary);
  color: var(--color-white);
  border:none;
  border-radius:50%;
  font-size:1.7rem;
  width:42px;height:42px;
  display:flex;align-items:center;justify-content:center;
  transition: background .18s,color .13s;
  z-index:2;
}
.cookie-modal-close:hover {
  background: var(--color-primary);
  color: var(--color-accent);
}
.cookie-modal h3 {
  color: var(--color-secondary);
  font-size:1.2rem;margin-bottom:8px;font-family:var(--font-display);
}
.cookie-modal .cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size:1.03rem;
  margin-bottom:10px;
  background: var(--color-bg-bright);
  border-radius:13px;
  padding:8px 14px 8px 14px;
  user-select: none;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  accent-color: var(--color-secondary);
  width:19px;height:19px;
}
.cookie-modal .cookie-category.essential {
  opacity:0.65;
  font-style:italic;
  pointer-events:none;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top:18px;
}
.cookie-modal button {
  padding:10px 26px;
  border-radius:17px;
  background: var(--color-secondary);
  color: var(--color-white);
  border: none;
  font-size:.98rem;
  font-family: var(--font-display);
  font-weight:700;
  transition: background .15s,color .15s;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: var(--color-primary);
  color: var(--color-accent);
}


/* ========== SCROLLBARS (playful color hint) ========== */
::-webkit-scrollbar {
    width: 10px;
    background: var(--color-accent);
}
::-webkit-scrollbar-thumb {
    background: var(--color-secondary);
    border-radius: 7px;
}

/* ========== FUN MICRO-INTERACTIONS ========== */
.cta-primary, button, .tag {
  will-change: transform;
}
.cta-primary:active, button:active, .tag:active {
  transform: scale(.98) rotate(-1deg);
}


/* ========== PRINT STYLES ========== */
@media print {
  header,.mobile-menu,.cookie-banner,.cookie-modal-overlay,footer {display:none !important;}
  body{background:#fff;color:#000;}
}

/* ========= DYNAMIC/PLAYFUL DETAILS ========= */
h2:after {
  content:" ✦";
  color: var(--color-secondary);
  font-size:1.45rem;
  font-family: var(--font-display);
  vertical-align: baseline;
  filter: blur(0.3px);
  margin-left:1px;
  opacity:0.67;
}
.section:first-of-type h1:after {
  content:" 🍽️";
  font-size:2.2rem;
  margin-left:9px;
  vertical-align: bottom;
  opacity:0.76;
}

/* Bright, cheerful, quirky underline for links in main text */
p a:not(.cta-primary):not(.footer-nav a) {
  border-bottom:2px dashed var(--color-secondary);
  padding-bottom:1px;
  transition:border-color .17s;
}
p a:not(.cta-primary):not(.footer-nav a):hover {
  border-bottom:3px solid var(--color-primary);
  color:var(--color-secondary);
}

/* ========== End ========== */
