/* 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,
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 {box-sizing: border-box; -webkit-font-smoothing: antialiased; scroll-behavior: smooth;}
*, *:before, *:after {box-sizing: inherit;}
body {line-height: 1.5;}
ul, ol {padding-left: 1.25em;}
img {max-width: 100%; height: auto; display: block;}
a {color: inherit; text-decoration: none;}

/* FONT IMPORT */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap');

/* VARIABLES */
:root {
  --primary: #203864;
  --secondary: #F4AE3B;
  --accent: #FAFAFA;
  --dark-brown: #6C4F29;
  --soft-beige: #FDF6E3;
  --retro-red: #BB4141;
  --retro-blue: #4C81B6;
  --retro-green: #AAC271;
  --retro-purple: #6A5C8B;
  --heading-font: 'Montserrat', Arial, Helvetica, sans-serif;
  --body-font: 'Open Sans', Arial, Helvetica, sans-serif;
  --border-radius: 15px;
  --shadow: 0 3px 16px 0 rgba(64,46,9,0.1);
  --section-bg: var(--soft-beige);
  --testimonial-bg: #fff8ee;
  --pattern: repeating-linear-gradient(45deg, #EEE7DD 0, #EEE7DD 16px, #ffe8bb 16px, #ffe8bb 32px);
}

body {
  font-family: var(--body-font);
  font-size: 16px;
  background: var(--section-bg);
  color: var(--primary);
  min-height: 100vh;
  letter-spacing: 0.01em;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* HEADINGS & TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  color: var(--retro-red);
  text-shadow: 1px 1px 0 #FFF4E3, 0 3px 12px rgba(90,55,15,0.07);
  margin-bottom: 16px;
}
h1 {font-size: 2.8rem; font-weight: 900; letter-spacing: .02em;}
h2 {font-size: 2rem; font-weight: 800; letter-spacing: .01em;}
h3 {font-size: 1.5rem; font-weight: 700;}
h4 {font-size: 1.18rem;}
p, li, address {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--primary);
  line-height: 1.7;
}
.subheadline {
  font-size: 1.18rem;
  font-style: italic;
  color: var(--retro-blue);
  margin-bottom: 20px;
}
strong {color: var(--dark-brown);}

.text-section, .content-wrapper.text-section {
  background: var(--pattern);
  border: 1.5px solid #eedcbb;
  padding: 40px 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

/* NAVIGATION */
.main-nav {
  background: var(--primary);
  border-bottom: 5px solid var(--secondary);
  padding: 0 20px;
  height: 76px;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}
.main-nav ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
.main-nav li {
  display: flex;
}
.main-nav a {
  font-family: var(--heading-font);
  font-size: 1rem;
  color: var(--accent);
  font-weight: 700;
  padding: 10px 8px;
  border-radius: 8px;
  transition: background 0.17s, color 0.17s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
  outline: none;
}
.main-nav img {
  height: 40px;
  margin-right: 16px;
  display: block;
}
.cta-btn {
  font-family: var(--heading-font);
  background: var(--secondary);
  color: var(--primary);
  font-weight: 900;
  padding: 12px 30px;
  border-radius: 50px;
  border: none;
  font-size: 1.14rem;
  box-shadow: 0 2px 8px 0 #cfbe9833;
  cursor: pointer;
  margin-left: 24px;
  transition: background 0.2s, transform 0.16s, box-shadow 0.18s;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--retro-red);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 20px 0 #BB414155;
  outline: none;
}

.mobile-menu-toggle {
  background: var(--secondary);
  color: var(--primary);
  border: none;
  font-size: 2rem;
  padding: 6px 16px;
  border-radius: 8px;
  cursor: pointer;
  display: none;
  align-items: center;
  z-index: 1001;
  transition: background 0.17s, color 0.17s, box-shadow 0.21s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--retro-blue);
  color: #fff;
  outline: none;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: var(--primary);
  transition: transform 0.35s cubic-bezier(.7,.21,.33,1), opacity 0.28s;
  transform: translateX(-105%);
  opacity: 0;
  z-index: 2002;
  display: flex;
  flex-direction: column;
  padding: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: var(--secondary);
  font-size: 2.1rem;
  margin: 15px 20px 0 0;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.21s;
  z-index: 1003;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff2c2;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  padding: 32px 28px;
}
.mobile-nav a {
  color: var(--accent);
  font-family: var(--heading-font);
  font-size: 1.3rem;
  font-weight: 800;
  padding: 10px 0 10px 12px;
  border-radius: 6px;
  transition: background 0.1s, color 0.16s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
  outline: none;
}

@media (max-width: 1024px) {
  .container {max-width: 96vw;}
  .main-nav ul { gap: 16px; }
  .cta-btn {margin-left: 12px;}
}

@media (max-width: 900px) {
  .main-nav ul, .main-nav .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    position: absolute;
    top: 50%;
    right: 22px;
    transform: translateY(-50%);
  }
}
@media (min-width:900px) {
  .mobile-menu, .mobile-menu-toggle {display: none !important;}
}

/* SECTION SPACING & FLEX PATTERNS */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 225px;
  flex: 1 1 225px;
}
.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;
  background: var(--testimonial-bg);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 18px 0 #bb414111;
  border: 1.5px dashed var(--retro-blue);
  margin-bottom: 20px;
  max-width: 700px;
  font-size: 1.1rem;
}
.testimonial-card strong {display: block; color: var(--retro-purple); margin-top: 8px;}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 22px 24px;
  min-width: 190px;
  flex: 1 1 190px;
  border: 1.5px solid #ead7be;
  transition: box-shadow 0.18s, transform 0.17s, background 0.11s;
}
.feature-item img {
  width: 48px; height: 48px;
  display: block;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 7px 22px 0 #bb414122;
  background: #ffe8bb44;
  transform: translateY(-2px) scale(1.04);
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}

/* LISTS & SERVICE HIGHLIGHTS */
.service-list, .service-highlights ul,
.course-list, .workshop-list, .upcoming-events ul {
  list-style: disc;
  margin: 0 0 24px 18px;
  padding-left: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.price-overview {
  background: var(--soft-beige);
  border-left: 7px solid var(--secondary);
  border-radius: var(--border-radius);
  margin: 20px 0 0 0;
  padding: 16px 22px;
  font-family: var(--body-font);
  font-size: 1.1rem;
  box-shadow: 0 2px 8px 0 #d1d1c933;
}
.service-highlights {
  margin-top: 18px;
  padding-bottom: 4px;
}

/* FOOTER STYLES */
footer {
  background: var(--primary);
  padding: 28px 0 16px 0;
  color: var(--accent);
  margin-top: 80px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  font-family: var(--heading-font);
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.footer-nav a {
  color: var(--secondary);
  transition: text-decoration 0.16s, color 0.12s;
}
.footer-nav a:hover, .footer-nav a:focus {
  text-decoration: underline;
  color: #fff;
}
.footer-info {
  text-align: center;
  font-size: .98rem;
  letter-spacing: .01em;
}

/* FORM AND ADDRESS */
address {
  margin: 18px 0;
  font-style: normal;
  color: var(--primary);
  background: var(--accent);
  padding: 18px 24px;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px 0 #eacc9222;
  border: 1px solid #ffe088;
  font-family: var(--body-font);
}
.opening-hours {
  margin: 12px 0 12px 0;
}

/* TESTIMONIAL SLIDER (fake style) */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}

/* RETRO STYLING: VINTAGE PATTERNS & EFFECTS */
body {
  background: var(--pattern), var(--soft-beige);
}
section {
  background: transparent;
  border: none;
}

.card, .content-wrapper {
  border: 2.5px solid #eacc92;
  background: #fffdfa;
}

/* RETRO BUTTONS */
.cta-btn {
  text-shadow: 0 1px 0 #fff7dd, 0 3px 6px #C4881140;
  border: 2.5px solid #ecc133;
  box-shadow: 0 3px 0 #e3cf92, 0 3px 19px 0 #ecc14522;
  font-variant: small-caps;
  letter-spacing: .04em;
}
.cta-btn:active {
  background: var(--secondary);
  color: #804c12;
  transform: translateY(2px) scale(.99);
  box-shadow: none;
}

button,
input[type='submit'] {
  font-family: var(--heading-font);
  background: var(--secondary);
  color: var(--primary);
  border: 2px solid #ecc133;
  border-radius: 50px;
  box-shadow: 0 2px 8px 0 #e9b15733;
  padding: 9px 24px;
  cursor: pointer;
  transition: background 0.16s, color 0.17s, box-shadow 0.16s, transform 0.15s;
}
button:hover, button:focus,
input[type='submit']:hover, input[type='submit']:focus {
  background: var(--retro-red);
  color: #fff;
  outline: none;
}

/* LINKS */
a {transition: color .15s, background .17s;}
a:focus-visible {outline: 2px dashed var(--secondary);}

/* MICRO-INTERACTIONS & TRANSITIONS */
.card,
.feature-item,
.cta-btn,
.testimonial-card,
button {
  transition: box-shadow 0.18s, transform 0.17s, background 0.16s, color 0.16s;
}

/* RESPONSIVE LAYOUT */
@media (max-width: 900px) {
  .container {padding: 0 8px;}
}
@media (max-width: 768px) {
  html {font-size: 16px;}
  h1 {font-size: 2.1rem;}
  h2 {font-size: 1.5rem;}
  h3 {font-size: 1.13rem;}
  .container {max-width: 99vw;}
  .content-wrapper, .text-section,
  .content-wrapper.text-section {padding: 24px 8px;}
  section {padding: 20px 0 0 0;}
  .features-grid, .testimonial-slider, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .card, .feature-item, .testimonial-card {min-width: 0;}
  .text-image-section {flex-direction: column; align-items: flex-start; gap: 24px;}
}
@media (max-width: 520px) {
  .main-nav img {height: 32px;}
  .footer-nav {font-size: .97rem; gap: 7px;}
  .content-wrapper, .text-section {padding: 13px 3vw;}
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: var(--secondary);
  color: var(--primary);
  border-top: 5px solid var(--retro-red);
  box-shadow: 0 -3px 18px 0 #bb414122;
  padding: 20px 14px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--body-font);
  font-size: 1rem;
  animation: bannerSlideIn 0.7s cubic-bezier(.5,1.5,.2,.9);
}
@keyframes bannerSlideIn {
  0% {transform: translateY(100%); opacity: 0;}
  100% {transform: translateY(0); opacity: 1;}
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
  margin-top: 2px;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 9px 23px;
  border-radius: 30px;
  font-family: var(--heading-font);
  background: var(--primary);
  color: var(--secondary);
  font-weight: 800;
  border: 2px solid #6c4f29;
  box-shadow: 0 2px 6px 0 #d1ad4a11;
  cursor: pointer;
  transition: background 0.14s, color 0.13s, border-color 0.16s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--retro-red);
  color: #fff3c2;
  border-color: var(--retro-red);
  outline: none;
}

/* Cookie Preferences Modal */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 3300;
  top: 0; left:0; width: 100vw; height: 100vh;
  background: rgba(32,56,100, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalFadeIn 0.27s linear;
}
@keyframes cookieModalFadeIn {
  from {opacity:0;}
  to {opacity:1;}
}
.cookie-modal {
  background: #fffdfa;
  color: var(--primary);
  border-radius: 26px;
  max-width: 420px;
  width: 92vw;
  padding: 32px 20px;
  box-shadow: 0 8px 25px 0 #bb414144;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 3px solid var(--secondary);
  font-family: var(--body-font);
}
.cookie-modal h2 {font-size: 1.4rem; color: var(--retro-red); margin-bottom: 10px;}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
  font-size: 1.08rem;
  cursor: pointer;
}
.cookie-modal input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--retro-blue);
  margin-right: 7px;
}
.cookie-modal .essential-checkbox {
  accent-color: var(--retro-green);
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  gap: 17px;
  margin-top: 16px;
}
.cookie-modal .cookie-btn {
  background: var(--secondary);
  color: var(--primary);
  border: 2px solid #d1ad4a;
}
.cookie-modal .cookie-btn:hover {background: var(--retro-blue);color: #fff; border-color: var(--retro-blue);}

/* RETRO MICRO-ANIMATIONS */
.cta-btn, .cookie-btn {
  transition: background 0.16s, color 0.15s, box-shadow 0.16s, border-color 0.14s, transform 0.11s;
}
.cta-btn:focus, .cookie-btn:focus {
  outline: 2.5px dashed var(--retro-blue);
  outline-offset: 3px;
}

/* RETRO ICONS & PATTERNS */
.feature-item img {
  filter: sepia(0.24) contrast(1.08) hue-rotate(-15deg) drop-shadow(0 2px 8px #80591d11);
}

/* UTILITIES */
.mt-0    { margin-top: 0; }
.mt-20   { margin-top: 20px; }
.mb-20   { margin-bottom: 20px; }
.pb-0    { padding-bottom: 0 !important; }

/* ACCESSIBILITY FOCUS STATES */
:focus-visible {
  outline: 2.5px dashed var(--retro-blue);
  outline-offset: 2px;
}

/**********************************************/
/*           END OF STYLE.CSS                */
/**********************************************/
