/* Zenora Core – playful_dynamic style
   Author: Senior CSS UI Designer
   Layout: Flexbox only, Responsive, Animations, Accessibility, Cookie Banner, Mobile Menu
--------------------------------------------------*/

/* RESET & BASE -----------------------------------*/
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #F4F1ED;
  color: #27313B;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
a {
  color: #216cd5;
  text-decoration: none;
  transition: color 0.2s;
  word-break: break-word;
}
a:hover, a:focus {
  color: #C6AA7E;
  text-decoration: underline;
}
button, input, select {
  font-family: inherit;
  font-size: 100%;
  outline: none;
  border: none;
  background: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', 'Georgia', serif;
  font-weight: 700;
  line-height: 1.2;
  color: #27313B;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; letter-spacing: -2px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.35rem; margin-bottom: 10px; }
h4 { font-size: 1.15rem; }

/* Container & Section Patterns ------------------*/
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 18px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* FLEXBOX LAYOUTS (MANDATORY) -------------------*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 22px 2px rgba(198,170,126,0.10), 0 0.5px 0px 0 rgba(39,49,59,0.08);
  margin-bottom: 20px;
  position: relative;
  min-width: 270px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 32px 4px rgba(198,170,126,0.18);
  transform: translateY(-4px) scale(1.03) rotate(-1deg);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px 22px 26px 22px;
  gap: 12px;
}
.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;
  background: #fff;
  padding: 20px 22px;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 3px 18px 1px rgba(198,170,126,0.08);
  transition: box-shadow 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 4px rgba(198,170,126,0.16);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 230px;
}

/* Layout Util Classes ---------------------------*/
.section-tabs {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
}
.category-list, .top-picks ul, .event-list, .cafe-list, .restaurant-list {
  list-style: disc inside;
  margin-bottom: 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.highlight-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 16px;
}
.highlight-boxes > div {
  background: #C6AA7E;
  color: #fff;
  border-radius: 16px;
  padding: 16px 18px;
  min-width: 180px;
  min-height: 80px;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 4px 12px 0 rgba(198,170,126,0.12);
}

/* Playful Dynamic Branding ----------------------*/
:root {
  --zcore-primary: #27313B;
  --zcore-secondary: #C6AA7E;
  --zcore-accent: #F4F1ED;
  --zcore-fun-pink: #FF60A3;
  --zcore-fun-yellow: #FFD74B;
  --zcore-fun-blue: #20C1F5;
  --zcore-fun-green: #65DE64;
  --zcore-border-radius: 24px;
  --zcore-shadow: 0 4px 22px 2px rgba(198,170,126,0.13);
}

/* Fun Font Play */
h1, h2 {
  font-family: 'Lora', 'Georgia', serif;
  letter-spacing: -1.5px;
  color: var(--zcore-primary);
}
h2 {
  background: none;
  position: relative;
  padding-left: 0.15em;
}
h2::before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border-radius: 6px;
  background: var(--zcore-fun-yellow);
  animation: sparkle 1.6s infinite alternate;
  position: relative;
  top: 3px;
}
@keyframes sparkle {
  0% { opacity: 0.80; transform: rotate(-6deg) scale(0.92); }
  100% { opacity: 1; transform: rotate(8deg) scale(1.1); }
}

/* Animated underline for h2 */
h2 {
  overflow: visible;
}
h2::after {
  content: '';
  display: block;
  width: 46px;
  height: 6px;
  background: var(--zcore-fun-blue);
  border-radius: 3px 9px 10px 3px;
  margin-top: 5px;
  animation: underline-swoosh 1.3s cubic-bezier(0.5,1.96,0.19,0.66) infinite alternate;
}
@keyframes underline-swoosh {
  from { width: 46px; background: var(--zcore-fun-blue); }
  to { width: 60px; background: var(--zcore-fun-pink); }
}

h3 {
  color: var(--zcore-fun-pink);
  font-weight: 700;
  font-family: 'Lora', 'Georgia', serif;
}

/* Button Styles ---------------------------------*/
.btn, .btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lora', 'Georgia', serif;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 34px;
  padding: 14px 34px;
  margin-top: 14px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 12px 0 rgba(32,193,245,0.08);
  border: none;
  transition: background 0.18s, transform 0.13s, color 0.18s, box-shadow 0.18s;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(100deg, var(--zcore-fun-pink) 60%, var(--zcore-fun-yellow) 90%);
  position: relative;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(110deg, var(--zcore-fun-blue) 55%, var(--zcore-fun-pink) 88%);
  transform: scale(1.045);
  box-shadow: 0 8px 28px 6px rgba(32,193,245,0.18);
}
.btn-secondary {
  background: var(--zcore-secondary);
  color: var(--zcore-primary);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--zcore-fun-blue);
  color: #fff;
  transform: scale(1.04) rotate(-3deg);
}

/* Animated Fun Button Effect */
.btn-primary::after {
  content: "🍰";
  font-size: 1.2em;
  margin-left: 10px;
  animation: bounceicon 1.6s infinite alternate;
}
@keyframes bounceicon {
  0% { transform: translateY(0px) rotate(-10deg); }
  100% { transform: translateY(-6px) rotate(8deg); }
}

/* Feature Grid -----------------------------------*/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
}
.feature-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  border-radius: 22px;
  padding: 28px 22px 16px 22px;
  background: #fffbe8;
  min-width: 220px;
  box-shadow: 0 3px 14px 2px rgba(255,215,75,0.11);
  border: 2px solid var(--zcore-fun-yellow);
  transition: box-shadow 0.17s, transform 0.14s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 22px 5px rgba(255,96,163,0.12);
  transform: scale(1.04) rotate(-2deg);
}
.feature-grid img {
  width: 46px;
  height: 46px;
  border-radius: 9px;
  background: var(--zcore-fun-pink);
  padding: 8px;
  margin-bottom: 8px;
  box-shadow: 0 2px 10px rgba(255,96,163,0.10);
  animation: iconpop 1.9s infinite alternate; 
}
@keyframes iconpop {
  0% {transform: scale(1) rotate(-7deg);}
  100% {transform: scale(1.08) rotate(6deg);}
}

/* Animations for playful dynamic  ----------------*/
@keyframes cardpop {
  0%   {transform: scale(1) rotate(-3deg);}
  100% {transform: scale(1.045) rotate(3deg);}
}
.card {
  animation: cardpop 3.6s infinite alternate ease-in-out;
}

/* Lists and FAQ ----------------------------------*/
dt {
  font-weight: 700;
  color: var(--zcore-fun-blue);
  margin-top: 8px;
  margin-bottom: 4px;
}
dd {
  margin-left: 18px;
  margin-bottom: 16px;
}

/* Form Elements, Select, Labels ------------------*/
label {
  font-family: 'Lora', serif;
  font-size: 1rem;
  font-weight: 600;
  margin-right: 6px;
}
select {
  background: #fff;
  border: 2px solid var(--zcore-fun-pink);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 1rem;
  margin-left: 4px;
  box-shadow: 0 2px 8px 1px rgba(255,215,75,0.06);
  transition: border 0.17s, box-shadow 0.14s;
}
select:focus {
  border: 2px solid var(--zcore-fun-blue);
  box-shadow: 0 3.5px 14px 1.3px rgba(32,193,245,0.14);
}

/* HEADER / NAV -----------------------------------*/
header {
  background: #fff;
  box-shadow: 0 2px 10px 0 rgba(39,49,59,0.07);
  min-height: 70px;
  padding: 0 0 0 0;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 0;
}
nav {
  display: flex;
  align-items: center;
  gap: 36px;
  width: 100%;
}
nav ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  list-style-type: none;
}
nav ul li a {
  font-family: 'Lora', serif;
  font-size: 1.02rem;
  font-weight: 600;
  color: #27313B;
  letter-spacing: 0px;
  transition: color 0.18s, background 0.13s;
  padding: 8px 16px;
  border-radius: 12px;
  position: relative;
}
nav ul li a:hover, nav ul li a:focus {
  background: var(--zcore-fun-yellow);
  color: var(--zcore-fun-pink);
  text-decoration: none;
}
nav a.btn-primary {
  margin-left: 24px;
  font-size: 1rem;
}
nav > a img {
  width: 120px;
  height: auto;
  margin-right: 34px;
  vertical-align: middle;
}

/* Footer -----------------------------------------*/
footer {
  background: #fff;
  padding: 44px 0 18px 0;
  box-shadow: 0 -2px 12px 0 rgba(39,49,59,0.06);
  margin-top: 48px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
footer nav a {
  color: var(--zcore-fun-blue);
  font-size: 1.06rem;
  padding: 6px 12px;
  transition: color 0.15s, background 0.12s;
  border-radius: 7px;
}
footer nav a:hover {
  color: #fff;
  background: var(--zcore-fun-pink);
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  font-size: 1rem;
  color: var(--zcore-primary);
}
.footer-contact img {
  width: 20px;
  height: 20px;
  margin: 0 4px -2px 0;
  vertical-align: middle;
}
.footer-bottom {
  margin-top: 20px;
  font-size: 0.98rem;
  color: #808080;
}

/* Responsive Flex Fixes --------------------------*/
@media (max-width: 1025px) {
  .feature-grid, .highlight-boxes, .footer-contact, nav ul {
    gap: 18px;
  }
  .container { padding: 0 8px; }
}
@media (max-width: 900px) {
  .feature-grid, .content-grid, .highlight-boxes {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .footer-contact { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-bottom { margin-top: 10px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  header .container,
  .footer-contact,
  nav, nav ul, .section-tabs {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0 !important;
  }
  nav ul { margin-top: 16px; }
  nav > a.btn-primary { margin-left: 0; margin-top: 18px; }
  .feature-grid, .content-grid, .highlight-boxes {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .section {
    padding: 24px 6px;
    margin-bottom: 32px;
  }
  .container {
    padding: 0 4px;
    max-width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

@media (max-width: 570px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1rem; }
  .footer-contact {
    padding: 0 2px;
  }
  .card-content, .testimonial-card {
    padding: 14px 10px 13px 12px;
  }
  section {
    padding: 16px 2px;
    margin-bottom: 18px;
  }
}

/* MOBILE MENU (Burger Nav) -----------------------*/
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 125;
  background: var(--zcore-fun-yellow);
  color: #27313B;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 2px 15px 2px rgba(255,215,75,0.13);
  font-size: 2rem;
  border: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
  outline: none;
}
.mobile-menu-toggle:active {
  background: var(--zcore-fun-blue);
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255,255,255,0.98);
  z-index: 150;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(0.22,0.68,0.56,1.13);
  box-shadow: 0 12px 36px 4px rgba(39,49,59,0.08);
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  line-height: 1;
  background: var(--zcore-fun-pink);
  color: #fff;
  border-radius: 50%;
  border: none;
  width: 48px;
  height: 48px;
  margin: 22px 24px 14px auto;
  transition: background 0.15s;
  cursor: pointer;
  position: relative;
  align-self: flex-end;
  z-index: 152;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-close:hover {
  background: var(--zcore-fun-yellow);
  color: var(--zcore-fun-blue);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 90vw;
  margin: 0 auto;
  justify-content: flex-start;
  align-items: flex-start;
  padding-left: 18px;
}
.mobile-nav a {
  color: #27313B;
  font-size: 1.22rem;
  font-weight: 700;
  padding: 12px 4px;
  background: none;
  border-bottom: 1.5px dotted var(--zcore-fun-blue);
  border-radius: 7px;
  transition: color 0.15s, background 0.13s;
  min-width: 75vw;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--zcore-fun-pink);
  color: #fff;
}
@media (max-width: 1100px) {
  .mobile-menu-toggle {
    display: flex;
  }
  header nav ul, header nav > a.btn-primary {
    display: none !important;
  }
  header .container {
    justify-content: flex-start;
  }
}
@media (min-width: 1101px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* Cookie Consent Banner --------------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 190;
  background: #fff5e8;
  color: #27313B;
  box-shadow: 0 -2px 22px 0 rgba(39,49,59,0.14);
  padding: 28px 20px 20px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: center;
  min-height: 64px;
  flex-wrap: wrap;
  animation: cookieslideIn 0.7s cubic-bezier(0.35,1.41,0.08,1.03);
}
@keyframes cookieslideIn {
  from { transform: translateY(120%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-message {
  font-size: 1.08rem;
  font-family: 'Roboto', sans-serif;
  margin-right: 18px;
  max-width: 500px;
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.cookie-banner button, .cookie-banner .btn {
  font-family: 'Lora', serif;
  font-size: 1.07rem;
  border-radius: 27px;
  border: none;
  padding: 10px 24px;
  cursor: pointer;
  margin: 0 3px;
  background: var(--zcore-fun-yellow);
  color: #27313B;
  transition: background 0.11s, color 0.11s, transform 0.10s;
}
.cookie-banner .btn-accept {
  background: var(--zcore-fun-green);
  color: #fff;
  font-weight: 700;
}
.cookie-banner .btn-reject {
  background: var(--zcore-fun-pink);
  color: #fff;
}
.cookie-banner .btn-settings {
  background: var(--zcore-fun-blue);
  color: #fff;
}
.cookie-banner button:hover {
  background: #ffd74b;
  color: #ff60a3;
  transform: scale(1.06) rotate(-2deg);
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 4px 14px 6px;
  }
}

/* Cookie Modal -----------------------------------*/
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  z-index: 199;
  background: rgba(39,49,59,0.46);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.38s cubic-bezier(0.38,0.86,0.62,1);
}
@keyframes fadeIn { from {opacity: 0;} to {opacity: 1;} }
.cookie-modal {
  background: #fff;
  color: #27313B;
  border-radius: 28px;
  box-shadow: 0 8px 40px 2px rgba(255,96,163,0.13);
  padding: 38px 36px 23px 36px;
  max-width: 430px;
  width: 96vw;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalPop 0.38s cubic-bezier(0.37,1.6,0.34,1.02);
}
@keyframes modalPop {
  0% {transform: scale(0.85); opacity: 0;}
  100% {transform: scale(1); opacity: 1;}
}
.cookie-modal h3 {
  font-family: 'Lora', serif;
  font-size: 1.25rem;
  color: #ff60a3;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  gap: 16px;
}
.cookie-modal .cookie-category label {
  margin:0; font-size:1rem; font-family:'Lora',serif; color: #27313B;
}
.cookie-modal .toggle-switch {
  width: 38px; height: 22px; background: #e5e5e5; border-radius: 12px; position: relative;
  margin-right: 8px; transition: background 0.15s;
  display: inline-block; vertical-align: middle;
}
.cookie-modal .toggle-switch[data-active="1"] { background: var(--zcore-fun-blue); }
.cookie-modal .toggle-switch:before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: left 0.18s;
}
.cookie-modal .toggle-switch[data-active="1"]:before { left: 18px; }
.cookie-modal .category-always-on {
  color: var(--zcore-fun-green);
  font-weight: bold;
  font-size: 1rem;
  margin-left: 7px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 10px;
  justify-content: flex-end;
  align-items: center;
}
.cookie-modal-actions button {
  padding: 9px 19px;
  font-size: 1rem;
  border-radius: 17px;
}
.cookie-modal-close {
  position: absolute; right: 14px; top: 12px;
  background: var(--zcore-fun-pink);
  color: #fff;
  font-size: 1.45rem;
  width: 38px; height: 38px;
  border-radius: 50%; border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.cookie-modal-close:hover {
  background: var(--zcore-fun-yellow);
  color: #20c1f5;
}

/* Misc Customizations ----------------------------*/
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Card list for cafe/restaurant list */
.cafe-list, .restaurant-list, .event-list {
  background: #fff;
  border-radius: 20px;
  padding: 18px 24px;
  box-shadow: 0 2px 16px 0 rgba(255,96,163,0.07);
  margin-bottom: 18px;
}

/* Accessibility & Focus Rings --------------------*/
a:focus, button:focus, .btn:focus { outline: 2px dashed var(--zcore-fun-yellow); outline-offset: 2px; }

/* Testimonial colors/contrast ENFORCED -----------*/
.testimonial-card {
  background: #fff;
  color: #27313B;
  border-left: 7px solid var(--zcore-fun-pink);
}
.testimonial-card p {
  font-family: 'Roboto', sans-serif;
  font-size: 1.09rem;
  margin-bottom: 6px;
  line-height: 1.7;
}
.testimonial-card span {
  font-family: 'Lora', serif;
  font-size: 1.01rem;
  color: var(--zcore-fun-blue);
  font-weight: 700;
}

/* --------------------------------------------- */