/* ======= CSS RESET & NORMALIZE ======= */
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;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #233044;
  background-color: #fff;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #233044;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F3C677;
  outline: none;
}
ul, ol {
  list-style: none;
}
strong { font-weight: 700; }
button, input, select, textarea {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 100%;
  border: none;
  outline: none;
  background: none;
}

/* ======= VARIABLES (with fallback) ======= */
:root {
  --primary: #233044;
  --secondary: #F3C677;
  --accent: #FFFFFF;
  --gray-bg: #f8fafc;
  --border-gray: #e0e4ea;
  --text-main: #233044;
  --text-light: #5b6b81;
  --shadow: 0 2px 16px 0 rgba(35,48,68,0.07);
  --shadow-card: 0 6px 24px 0 rgba(35,48,68,0.11);
}

/* ======= TYPOGRAPHY ======= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', Georgia, Serif;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.2;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 700;
}
p {
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 18px;
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  h3 {
    font-size: 1.08rem;
  }
  p {
    font-size: 0.97rem;
  }
}
/* ======= LAYOUT CONTAINERS ======= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--gray-bg);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
@media (max-width: 768px) {
  .section {
    padding: 32px 8px;
    margin-bottom: 36px;
  }
}

/* ======= FLEXBOX/STRUCTURE ======= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 250px;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

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

/* ======= HEADER & NAVIGATION ======= */
header {
  background: var(--accent);
  box-shadow: 0 2px 12px rgba(35,48,68,0.04);
  position: sticky;
  top: 0;
  z-index: 1100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}
.logo img {
  height: 46px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.main-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: var(--primary);
  transition: color 0.18s;
  padding: 8px 4px;
  border-radius: 5px;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--secondary);
  background: rgba(243,198,119,0.13);
}
.btn-primary {
  padding: 12px 32px;
  background: var(--primary);
  color: var(--accent);
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 0.22s, color 0.18s, box-shadow 0.19s;
  font-size: 1rem;
  box-shadow: 0 2px 16px 0 rgba(35,48,68,0.06);
  display: inline-block;
  margin-left: 20px;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 4px 24px 0 rgba(35,48,68,0.14);
}

/* ======= MOBILE NAVIGATION ======= */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  margin-left: 16px;
  cursor: pointer;
  z-index: 1201;
  transition: color 0.16s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: var(--secondary);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35,48,68,0.98);
  z-index: 1300;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 32px 20px 20px 24px;
  transition: transform 0.32s cubic-bezier(.54,1.54,.61,.98);
  transform: translateX(-100%);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  align-self: flex-end;
  margin-bottom: 18px;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 14px 0;
  border-radius: 8px;
  transition: background 0.22s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  background: rgba(243,198,119,0.12);
}
@media (max-width: 1060px) {
  .main-nav {
    gap: 18px;
  }
}
@media (max-width: 950px) {
  .main-nav {
    gap: 8px;
  }
  .btn-primary { margin-left: 10px; padding: 10px 18px; font-size:0.94rem; }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .btn-primary { display: none; }
  .mobile-menu-toggle { display: block; }
}

/* ======= HERO SECTIONS ======= */
.hero, .thank-you-hero, .policy-overview, .terms-section, .cookies-section, .rodo-info {
  background: linear-gradient(112deg, #f8fafc 85%, #F3C677 240%);
  padding: 64px 0 36px 0;
}
.hero .container, .thank-you-hero .container {
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 800px;
  gap: 18px;
}
.hero h1, .thank-you-hero h1 {
  color: var(--primary);
  font-size: 2.2rem;
}
.hero p, .thank-you-hero p {
  color: var(--text-light);
  font-size: 1.08rem;
}
@media (max-width: 768px) {
  .hero, .thank-you-hero {
    padding: 42px 0 14px 0;
  }
  .hero .content-wrapper { gap:12px; padding: 0 2px; }
  .hero h1,.thank-you-hero h1 { font-size: 1.4rem; }
}

/* ======= FEATURES & SERVICES ======= */
.features, .features-restaurant, .features-trends, .features-guides, .features-events, .features-contact {
  background: var(--gray-bg);
  border-radius: 14px;
  box-shadow: var(--shadow);
  margin-bottom: 60px;
  padding: 36px 20px;
}
.features h2, .features-restaurant h2,
.features-trends h2, .features-guides h2,
.features-events h2, .features-contact h2 {
  margin-bottom: 16px;
}
.features ul, .features-restaurant ul, .features-trends ul, .features-guides ul, .features-events ul, .features-contact ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1.05rem;
  margin-bottom: 16px;
}
.features ul li, .features-restaurant ul li, .features-trends ul li, .features-guides ul li, .features-events ul li, .features-contact ul li {
  display: flex;
  align-items: center;
  gap: 13px;
}
.features ul li img, .features-restaurant ul li img, .features-contact ul li img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .features, .features-restaurant, .features-trends, .features-guides, .features-events, .features-contact {
    margin-bottom: 32px;
    padding: 18px 2px;
  }
}

.services, .services-rating, .services-partner, .about-section, .about-short, .contact-info, .contact-mini, .next-steps, .contact-for-rodo {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}
.services h2, .services-rating h2, .services-partner h2, .about-section h2, .about-short h2, .contact-info h2, .contact-mini h2 {
  margin-bottom: 18px;
} 
.services > .container > .content-wrapper > div, .about-section > .container > .content-wrapper > div {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.services > .container > .content-wrapper > div > div, .about-section > .container > .content-wrapper > div > div {
  flex: 1 1 210px;
  min-width: 210px;
  background: var(--gray-bg);
  border-radius: 10px;
  padding: 18px 16px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (max-width: 768px) {
  .services, .services-rating, .services-partner, .about-section, .about-short, .contact-info, .contact-mini, .next-steps, .contact-for-rodo {
    margin-bottom: 28px; padding: 16px 2px;
  }
  .services > .container > .content-wrapper > div, .about-section > .container > .content-wrapper > div {
    flex-direction: column;
    gap: 16px;
  }
}

/* ======= TESTIMONIALS ======= */
.testimonials, .testimonials-restaurant, .testimonials-guides {
  padding: 40px 20px;
  margin-bottom: 60px;
  background: var(--gray-bg);
  border-radius: 15px;
  box-shadow: var(--shadow);
}
.testimonials h2, .testimonials-restaurant h2, .testimonials-guides h2 {
  margin-bottom: 22px;
}
.testimonials .content-wrapper,
.testimonials-restaurant .content-wrapper,
.testimonials-guides .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 10px 0 rgba(35,48,68,0.09);
  margin-bottom: 24px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.19s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 38px 0 rgba(35,48,68,0.18);
  transform: translateY(-2px) scale(1.02);
}
.testimonial-card blockquote {
  font-size: 1.12rem;
  font-style: italic;
  color: var(--text-main);
  margin: 0 0 0 0;
  line-height: 1.5;
  flex: 2;
}
.testimonial-card p {
  color: var(--text-light);
  font-size: 1rem;
  margin: 0 0 0 10px;
  flex: 1;
}
.testimonial-card strong {
  color: var(--primary);
}
@media (max-width: 768px) {
  .testimonials, .testimonials-restaurant, .testimonials-guides {
    padding: 18px 2px; margin-bottom: 22px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 8px; padding: 14px; margin-bottom: 15px;
  }
  .testimonial-card blockquote {
    font-size:0.98rem;
  }
}

/* ======= FOOTER ======= */
footer {
  background: var(--primary);
  color: #fff;
  padding: 42px 0 28px 0;
  width: 100%;
  border-top: 3px solid var(--secondary);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-menu {
  color: #b3bac6;
  font-size: 0.97rem;
}
.footer-menu a {
  color: #b3bac6;
  margin: 0 3px;
  padding: 2px 6px;
  text-decoration: underline transparent;
  transition: text-decoration .15s, color .13s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--secondary);
  text-decoration: underline;
  background:rgba(243,198,119,0.04);
  border-radius:3px;
}
.brand-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #fff;
  font-size:1rem;
  min-width: 220px;
}
.brand-info img {
  width: 120px;
  height: auto;
  margin-bottom: 7px;
}
.brand-info p, .brand-info a {
  color: #e7eef8;
  font-size: 0.98rem;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width:85px;
}
.social-links a img {
  width: 36px;
  height: 36px;
  filter: grayscale(46%) brightness(95%);
  transition: filter .19s, transform .18s;
}
.social-links a:hover img, .social-links a:focus img {
  filter: none;
  transform: scale(1.15);
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
  }
  .brand-info, .footer-menu, .social-links { align-items: flex-start;}
}
@media (max-width: 600px) {
  footer {padding:18px 0 18px 0;}
  .brand-info img { width:85px; }
}

/* ======= CARDS, LISTS, ETC. ======= */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.text-section {
  background:var(--gray-bg);
  border-radius: 7px;
  box-shadow: var(--shadow);
  padding: 15px 15px;
  margin-bottom:12px;
}

/* ======= FORM ELEMENTS ======= */
input, textarea, select {
  padding: 10px 14px;
  border: 1px solid var(--border-gray);
  border-radius: 6px;
  background: #fff;
  font-size: 1rem;
  margin-bottom: 14px;
  transition: border-color .16s, box-shadow .18s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 1.5px var(--secondary);
}

/* ======= COOKIE CONSENT ======= */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; width: 100vw;
  background: var(--primary);
  color: #fff;
  z-index: 2000;
  box-shadow: 0 -4px 20px rgba(35,48,68,0.12);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 22px 32px 22px 20px;
  gap: 24px;
  animation: cookie-slide-up .5s 1;
}
@keyframes cookie-slide-up {from {transform: translateY(120%);} to {transform: translateY(0);}}
.cookie-consent-banner p {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  flex: 1;
}
.cookie-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 9px 24px;
  font-size: 1rem;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  background: var(--accent);
  color: var(--primary);
  transition: background 0.18s, color 0.17s, box-shadow .13s;
  cursor: pointer;
  outline: none;
  box-shadow: 0 2px 10px rgba(35,48,68,0.09);
}
.cookie-btn.accept {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-btn.reject {
  background: #e3e9f2;
  color: #233044;
}
.cookie-btn.settings {
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  box-shadow: 0 0 0 3px var(--secondary);
  background: var(--secondary);
  color: var(--primary);
}
@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 17px 10px 17px 10px;
    gap: 15px;
  }
  .cookie-btn { font-size: 0.98rem; padding:8px 12px; }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2100;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35,48,68,0.80);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fadein .4s 1;
}
@keyframes modal-fadein {from {opacity:0;} to {opacity:1;}}
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 36px rgba(35,48,68,0.18);
  max-width: 420px;
  padding: 36px 28px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modal-slide-down .38s cubic-bezier(.19,1,.22,1) 1;
  position: relative;
}
@keyframes modal-slide-down {from{transform:translateY(-90px);}to{transform:translateY(0);}}
.cookie-modal h3 {
  margin-bottom: 10px;
  font-size: 1.26rem;
  color: var(--primary);
}
.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 7px;
  padding: 9px 0;
  border-bottom: 1px solid #e0e4ea;
  font-size: 1rem;
  color: var(--primary);
}
.cookie-option:last-child {
  border-bottom: none;
}
.cookie-toggle-btn {
  width: 48px;
  height: 30px;
  background: #e4e7ed;
  border-radius: 16px;
  display: flex;
  align-items: center;
  padding: 2.5px;
  cursor: pointer;
  transition: background 0.2s;
  margin-left: 16px;
}
.cookie-toggle-btn.enabled {
  background: var(--secondary);
}
.cookie-toggle-knob {
  width: 25px;
  height: 25px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1.5px 8px rgba(35,48,68,0.08);
  transition: transform 0.18s;
}
.cookie-toggle-btn.enabled .cookie-toggle-knob {
  transform: translateX(18px);
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}
.cookie-modal-close {
  position: absolute;
  top: 15px; right: 17px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--primary);
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--secondary);
}
@media (max-width: 520px) {
  .cookie-modal { padding: 22px 8px 15px 8px; max-width:97vw; }
}

/* ======= MEDIA + CONTENT ADJUSTMENTS ======= */
@media (max-width: 960px) {
  .container { padding: 0 8px; }
}
@media (max-width: 500px) {
  h1 { font-size: 1.14rem; }
  h2 { font-size: .95rem; }
  p, .footer-menu, .brand-info p { font-size: 0.92rem; }
}

/* ======= UTILITY CLASSES ======= */
.mb-40 { margin-bottom: 40px !important; }
.pb-32 { padding-bottom: 32px !important; }
.mt-32 { margin-top: 32px !important; }
.gap-36 { gap: 36px !important; }

/* ======= MICRO-INTERACTIONS ======= */
.button,:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
}
.card, .testimonial-card, .btn-primary, .cookie-btn, .cookie-toggle-btn, .mobile-menu-close {
  transition: box-shadow .17s, transform .14s, background .16s, color .15s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 10px 32px rgba(35,48,68,0.17);
  transform: translateY(-3px) scale(1.018);
}

/* ======= SPECIAL CASES BASED ON PAGES ======= */
.next-steps ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.next-steps li a {
  color: var(--secondary);
  font-weight: 600;
  font-family: 'Open Sans', Arial, sans-serif;
}
.next-steps li a:hover {text-decoration: underline; color: var(--primary);}

/* ======= MODAL OVERLAY FADE/SLIDE IN (Cookie) ======= */
@media (max-width: 400px) {
  .cookie-consent-banner, .cookie-modal {font-size: 0.91rem;}
}

/* ======= ACCESSIBILITY ======= */
:focus {
  outline: 2.5px solid var(--secondary);
  outline-offset: 2.5px;
}

/* ======= HIDE ON MOBILE, FLEX ADAPT ======= */
@media (max-width: 900px) {
  .main-nav, .btn-primary { display: none !important; }
  .mobile-menu-toggle { display: block !important; }
}

/* ======= END OF CSS ======= */
