/* === RESET & NORMALIZATION === */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
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, input, textarea,
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;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #F3EFE9;
  background: #191a21;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: #191a21;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #97e7ff;
  text-decoration: none;
  transition: color .2s;
}
a:hover,
a:focus {
  color: #8fe9ba;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: "Merriweather", Georgia, serif;
  color: #F3EFE9;
  letter-spacing: -0.02em;
  font-weight: 700;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2.0rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, ul, ol, li, label, input, select, textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #D9DFEE;
  font-size: 1rem;
}
p {
  margin-bottom: 16px;
}
strong {
  color: #C78D5C;
  font-weight: 700;
}

/* === COLOR VARIABLES (fallbacks are hardcoded) === */
:root {
  --clr-bg: #191a21;
  --clr-surface: #262833;
  --clr-primary: #5D473A;
  --clr-secondary: #C78D5C;
  --clr-accent: #F3EFE9;
  --clr-accent-neon: #97e7ff;
  --clr-accent-green: #8fe9ba;
  --clr-heading: #F3EFE9;
  --clr-paragraph: #D9DFEE;
  --clr-card: #222330;
  --clr-card-border: #2d2f38;
  --clr-btn-primary: #C78D5C;
  --clr-btn-text: #191a21;
  --clr-btn-hover: #F3EFE9;
  --clr-input-bg: #242632;
  --clr-input-border: #504d5a;
  --clr-shadow: 0 4px 48px 0 rgba(91,213,255,0.10), 0 2px 16px 0 rgba(199,141,92,0.16);
}

/* === MAIN CONTAINER === */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--clr-bg, #191a21);
  border-radius: 18px;
}

@media (max-width: 768px) {
  .section {
    padding: 32px 10px;
    margin-bottom: 38px;
  }
}

/* === FUTURISTIC BACKGROUNDS & EFFECTS === */
.hero {
  background: linear-gradient(110deg, #212234 40%, #5D473A 110%);
  border-bottom: 2px solid #313369;
  position: relative;
  box-shadow: 0 8px 80px 0 rgba(151, 231, 255, 0.05);
  margin-bottom: 32px;
  overflow: hidden;
}
.hero .container {
  align-items: center;
  justify-content: center;
}
.hero h1 {
  color: #fff;
  font-size: 2.9rem;
  text-shadow: 0px 4px 16px #00f5ff0f;
}
.hero p {
  color: #D9DFEE;
  font-size: 1.25rem;
  max-width: 600px;
}

/* === MAIN NAVIGATION === */
header {
  background: rgba(25,26,33,0.98);
  box-shadow: 0 2px 8px 0 rgba(91,213,255,0.025);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 24px;
  justify-content: space-between;
  height: 80px;
}

.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-weight: 600;
  font-size: 1.05rem;
  color: #D9DFEE;
  padding: 8px 4px;
  position: relative;
}
.main-nav a:after {
  content: '';
  display: block;
  border-radius: 22px;
  width: 0;
  height: 3px;
  background: linear-gradient(102deg, #C78D5C 60%, #97e7ff 120%);
  transition: all 0.25s cubic-bezier(.52,1.68,.44,.98);
  margin-top: 2px;
}
.main-nav a:hover:after,
.main-nav a:focus:after {
  width: 100%;
}
.main-nav a.active {
  color: #C78D5C;
}

.btn-primary {
  display: inline-block;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--clr-btn-text, #191a21);
  background: linear-gradient(90deg, #C78D5C 80%, #97e7ff 140%);
  border-radius: 22px;
  padding: 14px 42px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 20px 0 rgba(199, 141, 92, 0.13), 0 8px 36px 0 rgba(151, 231, 255, 0.09);
  transition: all 0.16s cubic-bezier(.54, .68, .44, .98);
  position: relative;
  margin-left: 18px;
}
.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(88deg, #97e7ff 40%, #C78D5C 140%);
  color: #222330;
  box-shadow: 0 4px 24px 0 #97e7ff55;
  outline: none;
}

/* === MOBILE BURGER MENU === */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #C78D5C;
  cursor: pointer;
  z-index: 110;
  margin-left: 12px;
  transition: color .2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  color: #97e7ff;
}
@media (max-width: 991px) {
  .main-nav, .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(31, 32, 48, 0.98);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(-100vw);
  transition: transform .38s cubic-bezier(.38,1.24,.51,.99);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #97e7ff;
  font-size: 2.4rem;
  position: absolute;
  top: 32px;
  right: 24px;
  z-index: 122;
  cursor: pointer;
  transition: color .2s;
}
.mobile-menu-close:hover {
  color: #C78D5C;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 24px;
  padding-top: 114px;
}
.mobile-nav a {
  color: #F3EFE9;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: .01em;
  padding: 14px 0;
  border-radius: 8px;
  transition: background .20s, color .18s;
  width: 85vw;
  text-align: center;
}
.mobile-nav a:active,
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #252d3fff;
  color: #97e7ff;
}

@media (min-width: 992px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* === FEATURE SECTIONS === */
.features ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 10px;
}
.features ul li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(36,38,50,0.80);
  border-left: 4px solid #C78D5C;
  padding: 12px 16px;
  border-radius: 10px;
  color: #F3EFE9;
  font-size: 1.01rem;
  font-weight: 500;
  box-shadow: 0 1px 12px #5d473a09;
}
.features ul li img {
  width: 28px;
  height: 28px;
}

@media (min-width: 700px) {
  .features ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px 34px;
  }
  .features ul li {
    min-width: 240px;
    flex: 1 1 0;
  }
}

/* === RECIPE CARDS GRID === */
.recipes-overview .recipes-cards-grid,
.recipes-cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 14px;
}

.recipe-card {
  flex: 1 1 220px;
  min-width: 200px;
  background: var(--clr-card, #222330);
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 3px 16px #97e7ff24;
  border: 1.5px solid #2d2f38;
  padding: 24px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .19s, border-color .15s, transform .10s;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.recipe-card:hover,
.recipe-card:focus {
  border-color: #C78D5C;
  box-shadow: 0 8px 32px #C78D5C33, 0 2px 18px #97e7ffc2;
  transform: translateY(-3px) scale(1.03);
}
.recipe-card h3 {
  color: #97e7ff;
  margin-bottom: 6px;
}
.recipe-card p {
  color: #F3EFE9;
  font-size: 0.98rem;
}

/* === CUISINE TILES/CARDS === */
.cuisine-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 22px;
}
.cuisine-tile {
  background: #23253E;
  border-left: 4px solid #C78D5C;
  border-radius: 12px;
  padding: 16px 22px;
  min-width: 170px;
  flex: 1 1 150px;
  color: #eef0f5;
  font-size: 1.08rem;
  transition: border-color .18s, background .18s;
  box-shadow: 0 3px 14px #a5fbff20;
}
.cuisine-tile:hover {
  border-color: #97e7ff;
  background: #222e35;
}

.cuisine-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.cuisine-card {
  flex: 1 1 220px;
  min-width: 220px;
  border-radius: 14px;
  background: #222330;
  box-shadow: 0 3px 19px #97e7ff15;
  border: 1.5px solid #2d2f38;
  padding: 22px 18px 14px 18px;
  display: flex;
  flex-direction: column;
  transition: border-color .18s, box-shadow .17s, transform .13s;
  position: relative;
}
.cuisine-card h3 {
  color: #C78D5C;
}
.cuisine-card a {
  color: #97e7ff;
  margin-top: 8px;
  font-size: 0.99rem;
  font-weight: 600;
  text-decoration: underline;
}
.cuisine-card:hover,
.cuisine-card:focus {
  border-color: #C78D5C;
  box-shadow: 0 5px 25px #C78D5C21, 0 2px 14px #97e7ff70;
  transform: translateY(-2px) scale(1.015);
}

/* === TIPS-PREVIEW & TIPS-GRID === */
.tips-list, .tips-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 10px;
  padding: 0;
  list-style: none;
}
.tips-grid li {
  background: #23253D;
  border-left: 3px solid #97e7ff;
  border-radius: 10px;
  padding: 12px 18px;
  color: #F3EFE9;
  font-size: 0.99rem;
}

@media (min-width: 700px) {
  .tips-grid {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 18px 20px;
  }
  .tips-grid li {
    flex: 1 1 210px;
    min-width: 195px;
  }
}

/* === TEXT-IMAGE SECTION (if present) === */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 22px;
  }
}

/* === TESTIMONIALS === */
.testimonial {
  background: #262833;
  border-radius: 18px;
  box-shadow: 0 6px 64px #97e7ff16;
  margin-bottom: 60px;
  padding: 44px 0;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 30px;
  background: #FBFAF7;
  color: #222330;
  border-radius: 13px;
  margin-bottom: 22px;
  box-shadow: 0 4px 36px #C78D5C11, 0 1.5px 8px #CACED915;
  min-width: 260px;
  max-width: 540px;
}
.testimonial-card blockquote {
  color: #191a21;
  font-size: 1.11rem;
  font-style: italic;
  margin: 0 0 4px 0;
  line-height: 1.65;
}
.testimonial-card .user-info {
  color: #5D473A;
  font-size: .97rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
@media (min-width: 800px) {
  .testimonial .content-wrapper {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 32px;
  }
  .testimonial-card {
    margin-right: 24px;
  }
}

/* === CTA BLOCKS === */
.cta {
  background: linear-gradient(100deg, #23253e 65%, #2D383e 115%);
  text-align: center;
  border-radius: 17px;
  padding: 38px 14px;
  box-shadow: 0 6px 52px #8fe9ba24;
  margin-bottom: 52px;
}
.cta h2 {
  color: #F3EFE9;
  margin-bottom: 18px;
}
.cta p {
  color: #D9DFEE;
}

/* === TABLE (services) === */
.services-table {
  width: 100%;
  margin: 18px 0 12px 0;
  border-collapse: separate;
  border-spacing: 0;
}
.services-table th, .services-table td {
  font-size: 0.97rem;
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1.5px solid #2d2f38;
}
.services-table th {
  color: #C78D5C;
  font-weight: 700;
  background: #23253e;
}
.services-table tbody tr:hover {
  background: #212234;
}

/* === FORMS / INPUTS === */
input[type="text"], input[type="email"], textarea {
  background: var(--clr-input-bg, #242632);
  border: 1.2px solid var(--clr-input-border, #504d5a);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 1rem;
  color: #F3EFE9;
  margin: 0 8px 0 0;
  transition: border-color .16s, box-shadow .13s;
  outline: none;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: #C78D5C;
  box-shadow: 0 2px 12px #97e7ff21;
}
label {
  margin-bottom: 6px;
  color: #C78D5C;
  font-weight: 600;
}

/* === FOOTER === */
footer {
  background: #191a21;
  border-top: 2px solid #2d2f38;
  padding: 42px 0 24px 0;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-logo {
  width: 70px;
  margin-bottom: 18px;
}
.footer-navigation {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-navigation a {
  color: #C78D5C;
  font-size: 0.98rem;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #babfc7;
  font-size: 0.99rem;
}
.footer-contact img {
  margin-right: 7px;
}
.footer-contact a {
  color: #97e7ff;
}
.footer-social {
  display: flex;
  gap: 19px;
  margin-top: 10px;
}
.footer-social a img {
  width: 30px;
  height: 30px;
  transition: filter .16s, transform .15s;
}
.footer-social a:hover img {
  filter: drop-shadow(0 0 10px #97e7ff88);
  transform: scale(1.14);
}

@media (max-width: 1050px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
}

/* === SPACING & FLEX UTILITIES (MANDATORY) === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === RESPONSIVENESS & MOBILE FIRST === */
@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
    max-width: 100vw;
  }
  .main-nav {
    display: none;
  }
  .content-wrapper {
    gap: 18px;
  }
  .cta {
    padding: 24px 5px;
  }
  .cuisine-tiles,.cuisine-cards {
    flex-direction: column;
    gap: 20px;
  }
  .section {
    padding: 24px 5px;
  }
  footer .container {
    flex-direction: column;
    gap: 20px;
    padding-left: 5px;
    padding-right: 5px;
  }
}
@media (max-width: 530px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  .btn-primary {
    padding: 11px 19px;
    font-size: 0.96rem;
  }
}

/* === HOVER & INTERACTION EFFECTS === */
.btn-primary:active {
  background: #C78D5C;
  color: #fff;
}
nav.main-nav a,
.footer-navigation a {
  transition: color .19s;
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #22222A;
  color: #fff;
  box-shadow: 0 -2px 40px #C78D5C55, 0 -1.5px 8px #97e7ff24;
  z-index: 3000;
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
  justify-content: center;
  padding: 21px 12vw 21px 12vw;
  font-size: 1rem;
  transition: transform .35s;
  border-radius: 22px 22px 0 0;
}
.cookie-banner.hide {
  transform: translateY(150%);
}
.cookie-banner-message {
  flex: 2 1 0;
  color: #e0e8f0;
}
.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-btn,
.cookie-btn-settings{
  background: #242632;
  color: #97e7ff;
  border-radius: 18px;
  font-weight: 700;
  font-size: .98rem;
  padding: 8px 30px;
  border: 1.4px solid #5D473A;
  cursor: pointer;
  transition: background .14s, color .15s, box-shadow .14s;
  margin-left: 2px;
  box-shadow: 0 1px 6px #5d473a22;
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: #C78D5C;
  color: #191a21;
  border-color: #97e7ff;
  box-shadow: 0 2px 16px #C78D5C11, 0 1px 8px #97e7ff28;
}
@media (max-width: 900px) {
  .cookie-banner {
    padding: 16px 5vw;
    font-size: .97rem;
    gap: 14px;
  }
}
@media (max-width: 530px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 5px;
    gap: 10px;
    font-size: .98rem;
  }
}

/* === COOKIE MODAL === */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(25,26,33, 0.955);
  z-index: 3060;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .33s;
}
.cookie-modal {
  background: #23253e;
  color: #F3EFE9;
  border-radius: 20px;
  box-shadow: 0 8px 48px #C78D5C44, 0 1.5px 8px #97e7ff1a;
  padding: 38px 32px 24px 32px;
  min-width: 320px;
  max-width: 94vw;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  color: #97e7ff;
  font-size: 2rem;
  cursor: pointer;
  transition: color .16s;
}
.cookie-modal-close:hover {
  color: #C78D5C;
}
.cookie-modal h2 {
  color: #C78D5C;
  margin-bottom: 12px;
  font-size: 1.25rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.cookie-category label {
  color: #97e7ff;
  font-size: 1.01rem;
  margin-bottom: 0;
}
.cookie-toggle {
  appearance: none;
  width: 40px;
  height: 22px;
  border-radius: 16px;
  background: #44475a;
  position: relative;
  outline: none;
  transition: background .14s;
  margin-right: 6px;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #C78D5C;
}
.cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 4px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform .19s cubic-bezier(.42,1.45,.44,.75);
}
.cookie-toggle:checked:before {
  transform: translateX(16px);
}

/* === ADDITIONAL CLASSES (used in provided HTML) === */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.recipe-filters {
  margin: 16px 0 20px 0;
  color: #C78D5C;
  font-size: 0.95rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}
.recipe-filters a {
  color: #97e7ff;
  font-weight: 600;
}
.recipe-filters a:hover {
  color: #C78D5C;
  text-decoration: underline;
}

/* Selection highlight */
::selection {
  background: #C78D5C44;
}

/* === ANIMATIONS  === */
@keyframes neon-glow {
  0%, 100% { box-shadow: 0 0 12px #97e7ff88, 0 2px 32px #C78D5C44; }
  50% { box-shadow: 0 0 20px #97e7ffDD, 0 4px 40px #C78D5C55; }
}
.btn-primary:hover {
  animation: neon-glow .6s alternate infinite;
}
.cookie-btn:focus {
  outline: 2px solid #97e7ff;
  outline-offset: 1px;
}

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