/* 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;
  box-sizing: border-box;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  background: #EFE8DE;
}

body {
  min-height: 100vh;
  background: linear-gradient(135deg, #EFE8DE 0%, #fff 100%);
  color: #2D3C23;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

a {
  color: #2D3C23;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover, a:focus {
  color: #AB6C32;
  outline: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}

/* FONTS --------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Open+Sans:wght@400;600&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #2D3C23;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1.125rem; margin-bottom: 10px; }

@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }
}

p, li, blockquote, cite {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #2D3C23;
}

strong { font-weight: 600; color: #2D3C23; }

/* CONTAINER & LAYOUT -------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
@media (max-width: 768px) {
  .section {
    padding: 32px 10px;
    margin-bottom: 36px;
  }
}

/* HEADER & NAVIGATION ------------------------------------------------- */
header {
  background: linear-gradient(90deg, #EFE8DE 60%, #D2B48C 100%);
  box-shadow: 0 2px 8px rgba(43,60,28,0.04);
  position: relative;
  z-index: 16;
}
.header-scrolled {
  box-shadow: 0 4px 18px rgba(44,60,36,0.13);
}

.container > .logo-area {
  display: flex;
  align-items: center;
  gap: 16px;
}

header .container {
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #2D3C23;
  position: relative;
  padding: 4px 0;
  transition: color 0.15s;
}
.main-nav a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg,#AB6C32,#2D3C23);
  border-radius: 2px;
  transition: width 0.3s;
  margin-top: 3px;
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 90%;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  padding: 12px 28px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 10px rgba(43,60,28,0.09);
  white-space: nowrap;
}
.cta-btn.primary {
  background: linear-gradient(90deg, #AB6C32 0%, #2D3C23 90%);
  color: #fff;
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: linear-gradient(90deg, #2D3C23 0%, #AB6C32 100%);
  color: #EFE8DE;
}
.cta-btn.accent {
  background: #EFE8DE;
  color: #2D3C23;
  border: 2px solid #AB6C32;
  box-shadow: none;
}
.cta-btn.accent:hover, .cta-btn.accent:focus {
  background: #AB6C32;
  color: #fff;
  border-color: #2D3C23;
}
.cta-btn.secondary {
  background: #fff;
  color: #AB6C32;
  border: 2px solid #AB6C32;
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: #AB6C32;
  color: #fff;
  border-color: #AB6C32;
}

/* MOBILE NAV TOGGLE --------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #2D3C23;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  margin-left: 10px;
  z-index: 120;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #AB6C32;
}

@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* MOBILE MENU --------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 88vw;
  max-width: 340px;
  height: 100vh;
  background: linear-gradient(135deg,#EFE8DE 70%, #AB6C32 100%);
  box-shadow: -2px 0 16px 0 rgba(43,60,28,0.06), -2px 0 42px 0 rgba(171,108,50,0.07);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.7,0,.2,1);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 18px 0 0;
  background: none;
  border: none;
  font-size: 2rem;
  color: #2D3C23;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 2100;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #AB6C32;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 36px 30px 30px 30px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  color: #2D3C23;
  padding: 16px 0 4px 0;
  border-bottom: 1px solid #DDC9B0;
  transition: color 0.13s, background 0.18s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff;
  background: #AB6C32;
  border-radius: 8px;
  padding-left: 10px;
}

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

/* HERO SECTIONS -------------------------------------------------------- */
.hero {
  background: linear-gradient(120deg,#EFE8DE 38%, #AB6C32 100%);
  padding: 60px 0 56px 0;
  margin-bottom: 56px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.hero h1 {
  color: #2D3C23;
}
.hero p {
  font-size: 1.18rem;
  max-width: 640px;
  color: #2D3C23;
  opacity: 0.98;
}

@media (max-width: 900px) {
  .hero {
    padding: 40px 0 20px 0;
    min-height: 200px;
    margin-bottom: 28px;
  }
}

/* FLEXBOX PATTERNS ---------------------------------------------------- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 18px;
  padding: 24px 22px 20px 22px;
  box-shadow: 0 4px 32px 0 rgba(43,60,28,0.07);
  min-width: 240px;
  max-width: 370px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  transition: box-shadow 0.25s, transform 0.18s;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 8px 40px 1px rgba(171,108,50,0.14);
  transform: translateY(-4px) scale(1.015);
}
.feature-item img {
  width: 40px; height: 40px; object-fit: contain; margin-bottom: 6px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(43,60,28,0.06);
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 260px;
}
.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 stacks for text-image-section */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 3px 18px 0 rgba(43,60,28,0.05);
  transition: box-shadow 0.18s, transform 0.14s;
  max-width: 700px;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 34px 0 rgba(171,108,50,0.12);
  transform: translateY(-3px) scale(1.01);
}
.testimonial-card blockquote {
  font-size: 1.12rem;
  line-height: 1.5;
  color: #2D3C23;
  margin-bottom: 4px;
  font-style: italic;
  font-family: 'Open Sans', Arial, sans-serif;
}
.testimonial-card cite {
  display: block;
  font-size: 0.98rem;
  font-style: normal;
  color: #AB6C32;
  margin-top: 0.5em;
}

/* CRITICAL SPACING FOR FLEX SECTIONS ---------------------------------- */
.section > .container > .content-wrapper,
.section > .container > .content-wrapper.text-section {
  gap: 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.features-grid > *, .card-container > *, .content-grid > * {
  min-width: 180px;
  margin-bottom: 0; /* spacing handled by flex gap*/
}

@media (max-width: 900px) {
  .features-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .feature-item, .card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
}

/* SERVICE/TEAM/PROGRAMS LISTS ----------------------------------------- */
.service-list, .workshop-list, .resource-list, .exhibition-list, .team-profiles, .program-list, .faq-list {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-list li, .workshop-list li, .resource-list li, .program-list li, .faq-list li, .team-profiles li {
  font-size: 1rem;
  background: #F6F2EC;
  border-radius: 8px;
  padding: 14px 19px;
  color: #2D3C23;
  margin-bottom: 0;
}
.price {
  font-weight: 600;
  color: #AB6C32;
  margin-left: 8px;
}

.instructor-bios {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 16px;
}
.instructor-bios li {
  padding-left: 14px;
  color: #2D3C23;
}

/* FOOTER -------------------------------------------------------------- */
footer {
  background: linear-gradient(90deg,#EFE8DE 80%,#AB6C32 100%);
  padding: 0;
  margin-top: 48px;
  border-top: 2px solid #EFE8DE;
  font-size: 0.995rem;
  color: #2D3C23;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  padding: 32px 0 20px 0;
  justify-content: space-between;
}
.footer-logo img {
  width: 46px;
  height: 46px;
  margin-bottom: 8px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #2D3C23;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.15s;
  font-weight: 500;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #AB6C32;
}
.contact-info {
  font-size: 0.99rem;
  line-height: 1.45;
  margin-bottom: 0;
}
.contact-info a {
  color: #AB6C32;
  text-decoration: underline;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.footer-social a img {
  width: 28px; height: 28px;
  opacity: 0.9;
  transition: opacity 0.18s, filter 0.14s;
}
.footer-social a:hover img {
  opacity: 1;
  filter: brightness(1.06) drop-shadow(0 2px 4px #AB6C32);
}

@media (max-width: 900px) {
  .footer-content {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}


/* MAP PLACEHOLDER ----------------------------------------------------- */
.map-placeholder {
  background: #EFE8DE;
  border: 1.5px dashed #AB6C32;
  border-radius: 7px;
  padding: 24px;
  text-align: center;
  color: #AB6C32;
  margin-top: 10px;
}

/* GRADIENT & MODERN HIGHLIGHTS ---------------------------------------- */
.section, .card, .feature-item, .testimonial-card, .hero, .faq, .visit-info, .booking, .ordering-info {
  box-shadow: 0 2px 14px 0 rgba(43,60,28,0.06);
}

/* FAQ COLLAPSE & BOOKING ---------------------------------------------- */
.faq h3 {
  margin-top: 30px;
}
.faq ul {
  gap: 11px;
}
.booking {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  margin-top: 10px;
}

/* ANIMATIONS & TRANSITIONS -------------------------------------------- */
html {
  scroll-behavior: smooth;
}
.cta-btn, .feature-item, .card, .testimonial-card, .mobile-menu {
  transition: box-shadow 0.2s, background 0.2s, color 0.2s, transform 0.18s;
}

/* MOBILE RESPONSIVE --------------------------------------------------- */
@media (max-width: 600px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .footer-content {
    padding: 28px 0 18px 0;
  }
  .feature-item, .card, .testimonial-card {
    padding: 17px 11px 16px 11px;
  }
}

@media (max-width: 500px) {
  .footer-logo img { width: 38px; height: 38px; }
  .hero { min-height: 120px; padding-top: 24px; padding-bottom: 10px; }
}

/* COOKIE CONSENT BANNER ----------------------------------------------- */
#cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: linear-gradient(90deg,#EFE8DE 70%,#AB6C32 100%);
  color: #2D3C23;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px 20px;
  box-shadow: 0 -2px 16px 0 rgba(43,60,28,0.12);
  z-index: 3200;
  font-size: 1rem;
  animation: cookie-slideup 0.55s cubic-bezier(.74,0,.2,1);
}
@media (max-width: 600px) {
  #cookie-banner {
    flex-direction: column;
    gap: 13px;
    align-items: flex-start;
    font-size: 0.96rem;
  }
}
@keyframes cookie-slideup {
  0%   { transform: translateY(120%); opacity: 0; }
  100% { transform: translateY(0);     opacity: 1; }
}
#cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-btn {
  border-radius: 22px;
  font-family: 'Montserrat', Arial,sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 22px;
  border: 2px solid #AB6C32;
  background: #fff;
  color: #AB6C32;
  cursor: pointer;
  transition: background 0.18s, color 0.14s;
  margin-right: 4px;
}
.cookie-btn.accept {
  background: linear-gradient(90deg, #AB6C32 0%, #2D3C23 100%);
  color: #EFE8DE;
  border: 2px solid #AB6C32;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #2D3C23;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: #2D3C23;
  border: 2px solid #AB6C32;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #AB6C32;
  color: #fff;
}
.cookie-btn.settings {
  background: transparent;
  color: #2D3C23;
  border: 2px solid #EFE8DE;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #EFE8DE;
  color: #AB6C32;
}

/* COOKIE PREFERENCES MODAL -------------------------------------------- */
#cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(45, 60, 35, 0.18);
  z-index: 3300;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.24s linear;
}
#cookie-modal-overlay.open {
  display: flex;
}
@keyframes fadeIn {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}
#cookie-modal {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 38px 0 rgba(43,60,28,0.16);
  padding: 34px 30px 28px 30px;
  max-width: 410px;
  width: 100%;
  font-size: 1rem;
  color: #2D3C23;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: modalSlideUp 0.28s cubic-bezier(.74,0,.2,1);
}
@keyframes modalSlideUp {
  0% { transform: translateY(80px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
#cookie-modal-close {
  position: absolute;
  right: 20px; top: 18px;
  font-size: 1.7rem;
  color: #2D3C23;
  background: none;
  border: none;
  cursor: pointer;
}
#cookie-modal-close:hover, #cookie-modal-close:focus {
  color: #AB6C32;
}
#cookie-modal h2 {
  font-size: 1.33rem;
  margin-bottom: 0;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #EFE8DE;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 500;
}
.cookie-category .cookie-toggle {
  width: 38px;
  height: 22px;
  background: #fff;
  border: 1px solid #AB6C32;
  border-radius: 13px;
  cursor: pointer;
  display: flex; align-items: center; transition: background .19s;
  position: relative;
}
.cookie-category .cookie-toggle[data-checked="true"] {
  background: #AB6C32;
}
.cookie-category .cookie-toggle-inner {
  display:block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px 0 rgba(0,0,0,0.07);
  position: absolute;
  left: 1px;
  transition: left 0.15s;
}
.cookie-category .cookie-toggle[data-checked="true"] .cookie-toggle-inner {
  left: 17px;
  background: #EFE8DE;
}
.cookie-category.essential .cookie-toggle {
  background: #AB6C32;
  border: 1.5px solid #2D3C23;
  cursor: not-allowed;
  opacity: 0.7;
}
.cookie-category.essential span:last-child::after {
  content:" (Always Enabled)";
  color: #B19670;
  font-size: 0.97em;
}

#cookie-modal-actions {
  margin-top: 14px;
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
}
section {
  padding: 15px;
}
/* END ALL ------------------------------------------------------------- */
