/*
 CSS RESET & NORMALIZE (MOBILE-FIRST)
*/
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #F5F3ED;
  color: #25304A;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  transition: background 0.3s;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}

/* -----------
   BRAND FONTS 
-------------*/
@font-face {
  font-family: 'Merriweather';
  src: local('Merriweather'), url('https://fonts.googleapis.com/css?family=Merriweather:700,900&display=swap');
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: local('Roboto'), url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');
  font-display: swap;
}

:root {
  --clr-primary: #25304A;
  --clr-secondary: #D1A464;
  --clr-accent: #F5F3ED;
  --clr-bg-vintage: #EFE3CF;
  --clr-vintage-green: #86A59C;
  --clr-vintage-red: #C84630;
  --clr-dark: #25304A;
  --clr-light-bg: #FFF9F0;
  --clr-card-border: #E3DCC2;
  --shadow-card: 0 2px 14px 0 rgba(37,48,74,0.10);
  --radius-card: 16px;
  --radius-btn: 28px;
  --transition-fast: 0.2s cubic-bezier(.64,.09,.08,1);
}

/*
 VINTAGE RETRO COLOR & TYPOGRAPHY
*/
body {
  background: var(--clr-bg-vintage);
  color: var(--clr-primary);
  font-family: 'Roboto', Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  color: var(--clr-primary);
  letter-spacing: 0.5px;
}
h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  line-height: 1.2;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1.22;
}
h3 {
  font-size: 1.28rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, li {
  font-size: 1rem;
  font-family: inherit;
  color: var(--clr-primary);
  margin-bottom: 10px;
}
strong {
  font-weight: 700;
}
.subheadline {
  font-size: 1.22rem;
  color: var(--clr-vintage-red);
  font-family: 'Merriweather', serif;
  margin-bottom: 18px;
  line-height: 1.5;
  letter-spacing: 0.2px;
}

/*
 SPACING & LAYOUT
*/
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--clr-accent);
  border-radius: 32px;
  box-shadow: 0 1px 16px 0 rgba(37,48,74,0.06);
}
@media (max-width: 991px) {
  .section {
    border-radius: 20px;
    padding: 32px 10px;
  }
}

/*
 FLEXBOX PATTERNS
*/
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 18px;
}

.card-container,
.feature-grid,
.event-list,
.workshop-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 0;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--clr-light-bg);
  border: 2px solid var(--clr-card-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 30px 26px 26px 26px;
}
.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-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #FFF9F0;
  border: 2px dashed var(--clr-secondary);
  box-shadow: 0 2px 12px 0 rgba(37,48,74,0.13);
  border-radius: 18px;
  padding: 20px;
  min-width: 220px;
  flex: 1 1 270px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}
.testimonial-card p {
  font-family: 'Merriweather', serif;
  font-size: 1.09rem;
  color: var(--clr-dark);
  margin-bottom: 4px;
}
.testimonial-card span {
  color: var(--clr-secondary);
  font-size: 0.95rem;
  font-style: italic;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  border-color: var(--clr-vintage-red);
  box-shadow: 0 4px 18px 0 rgba(200,70,48,0.16);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.feature-grid > div {
  background: #FFF8EE;
  border: 2px solid var(--clr-secondary);
  border-radius: 16px;
  box-shadow: 0 1px 8px 0 rgba(140,110,44,0.09);
  padding: 24px 20px 20px 20px;
  flex: 1 1 250px;
  min-width: 190px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}
.feature-grid > div:hover,
.feature-grid > div:focus-within {
  border-color: var(--clr-vintage-green);
  box-shadow: 0 8px 24px 0 rgba(134,165,156,0.11);
}
.feature-grid img {
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
}

.pricing {
  font-size: 1.13rem;
  color: var(--clr-vintage-red);
  background: #FFF3E5;
  border-radius: 8px;
  padding: 7px 12px;
  margin: 17px 0 8px 0;
  display: inline-block;
  font-family: 'Merriweather', serif;
  letter-spacing: 0.2px;
}
.brand-values {
  margin-top: 16px;
}

.instructor-bio {
  margin: 10px 0 6px 0;
  font-family: 'Merriweather', serif;
  color: var(--clr-primary);
  background: #F6EBD5;
  border-left: 5px solid var(--clr-secondary);
  padding: 7px 14px;
  border-radius: 6px;
}

/*
 HEADER & NAVIGATION
*/
header {
  background: var(--clr-accent);
  border-bottom: 5px solid var(--clr-secondary);
  box-shadow: 0 2px 16px 0 rgba(37,48,74,0.08);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
  min-height: 74px;
  padding: 0 18px;
}
header img {
  height: 54px;
  width: auto;
}
header nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-left: 30px;
}
header nav a {
  font-family: 'Merriweather', serif;
  font-size: 1.05rem;
  color: var(--clr-primary);
  padding: 6px 17px;
  border-radius: 17px;
  transition: background var(--transition-fast), color var(--transition-fast);
  position: relative;
}
header nav a:hover, 
header nav a:focus {
  background: var(--clr-secondary);
  color: #FFF;
}
.mobile-menu-toggle {
  display: none;
}

/* MOBILE NAV MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(37,48,74,0.94);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding-top: 16px;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.77,0,.175,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2.2rem;
  margin: 12px 22px 0 0;
  background: none;
  color: #FFF;
  border: none;
  z-index: 10001;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover {
  color: var(--clr-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 60px 0 0 38px;
  gap: 16px;
}
.mobile-nav a {
  font-family: 'Merriweather', serif;
  font-size: 1.2rem;
  color: #FFF9F0;
  padding: 10px 24px;
  border-radius: 24px;
  margin-bottom: 3px;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.mobile-nav a:hover, 
.mobile-nav a:focus {
  background: var(--clr-secondary);
  color: var(--clr-dark);
}

@media (max-width: 991px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    font-size: 2rem;
    border-radius: 50%;
    color: var(--clr-secondary);
    border: 2px solid var(--clr-secondary);
    width: 44px;
    height: 44px;
    justify-content: center;
    background: #FFF9F0;
    margin-left: auto;
    transition: background 0.18s, color 0.18s;
  }
  .mobile-menu-toggle:hover {
    background: var(--clr-secondary);
    color: var(--clr-accent);
  }
}
@media (min-width: 992px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/*
 MAIN CTAS & BUTTONS 
*/
.cta-button, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Merriweather', serif;
  font-size: 1.20rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--clr-secondary);
  color: var(--clr-dark);
  border-radius: var(--radius-btn);
  border: 2px solid var(--clr-secondary);
  padding: 13px 36px;
  margin-top: 8px;
  margin-bottom: 8px;
  box-shadow: 0 2px 10px 0 rgba(209,164,100,0.06);
  transition: background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  cursor: pointer;
  text-shadow: none;
  position: relative;
}
.cta-button:hover, .cta-button:focus {
  background: var(--clr-dark);
  color: #fff7df;
  border-color: var(--clr-dark);
  box-shadow: 0 4px 20px 0 rgba(37,48,74,0.11);
}

.btn {
  padding: 10px 22px;
  font-size: 1rem;
}
.btn-secondary {
  background: #FFF9F0;
  color: var(--clr-secondary);
  border: 2px solid var(--clr-secondary);
}
.btn-secondary:hover {
  background: var(--clr-secondary);
  color: var(--clr-light-bg);
}
.btn-danger {
  background: var(--clr-vintage-red);
  color: #fff;
  border: 2px solid var(--clr-vintage-red);
}
.btn-danger:hover {
  background: #fff;
  color: var(--clr-vintage-red);
}

/* Typography lists, blockquotes, misc */
ul { margin-bottom: 12px; letter-spacing: 0.01em; }
li { margin-bottom: 9px; }
ol { margin-bottom: 12px; }
blockquote {
  border-left: 7px solid var(--clr-secondary);
  background: #fff2d1;
  padding: 18px 24px 10px 24px;
  border-radius: 10px;
  margin: 16px 0 10px 0;
  color: var(--clr-primary);
  font-family: 'Merriweather', serif;
}

/*
 MAIN CONTENT 
*/
main {
  padding-top: 20px;
}
.text-section {
  margin-bottom: 16px;
}

/*
 FOOTER
*/
footer {
  background: #25304A;
  color: #FFF9F0;
  padding: 58px 0 36px 0;
  margin-top: 60px;
  border-top: 6px solid var(--clr-secondary);
  box-shadow: 0 -2px 20px 0 rgba(35,46,75,0.07);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1100px;
}
.footer-logo img {
  width: 60px;
  height: 60px;
  margin-bottom: 6px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 6px;
}
footer nav a {
  color: #FFF9E0;
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  letter-spacing: 0.1px;
  padding: 2px 0;
  transition: color 0.17s;
}
footer nav a:hover {
  color: var(--clr-secondary);
}
.footer-contact {
  font-size: 0.99rem;
  line-height: 1.5;
  margin-bottom: 6px;
}
.footer-contact strong {
  font-family: 'Merriweather', serif;
}
.footer-legal {
  margin: 6px 0 8px 0;
  font-size: 0.93rem;
}
.footer-legal a {
  color: #EDD4BB;
  margin-right: 5px;
  margin-left: 5px;
  text-decoration: underline;
  transition: color 0.15s;
}
.footer-legal a:hover {
  color: var(--clr-vintage-red);
}
.footer-social {
  font-size: 1.15rem;
  margin-top: 9px;
}
.footer-social a {
  color: var(--clr-secondary);
  margin-right: 9px;
  transition: color 0.14s;
}
.footer-social a:hover {
  color: #FFF;
}

/*
 RESPONSIVE DESIGN
*/
@media (max-width: 991px) {
  .container {
    max-width: 100vw;
    padding: 0 12px;
  }
  .footer-logo img {
    width: 46px; height: 46px;
  }
  footer .container {
    gap: 18px;
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .content-wrapper {
    gap: 13px;
  }
  .section {
    margin-bottom: 40px;
    padding: 21px 5px;
    border-radius: 12px;
  }
  .feature-grid,
  .testimonial-list,
  .card-container,
  .content-grid
  {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .feature-grid > div, .testimonial-card {
    min-width: 1px;
    width: 100%;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.18rem; }
}

/*
 ANIMATIONS & MICRO-INTERACTIONS
*/
.cta-button, .btn, .mobile-menu-toggle {
  transition: all 0.18s cubic-bezier(.62,.08,.16,1);
}
.card, .feature-grid > div, .testimonial-card {
  transition: box-shadow .22s cubic-bezier(.62,.08,.16,1), border-color .22s;
}
.card:hover, .feature-grid > div:hover {
  box-shadow: 0 8px 30px 0 rgba(209,164,100,0.11);
}

/*
 COOKIE CONSENT BANNER
*/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 999;
  background: #FFF8EE;
  color: var(--clr-primary);
  border-top: 4px solid var(--clr-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px 18px 18px 18px;
  box-shadow: 0 -3px 24px 0 rgba(37,48,74,0.11);
  animation: cookieSlideIn .44s cubic-bezier(.68,-0.40,.32,1.23);
}
@keyframes cookieSlideIn {
  from { transform: translateY(150%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-message {
  font-size: 1.07rem;
  margin-bottom: 6px;
}
.cookie-banner-btns {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner .btn,
.cookie-banner .btn-secondary,
.cookie-banner .btn-danger {
  min-width: 118px;
  padding: 10px 20px;
  font-size: 0.98rem;
}

/* COOKIE PREFERENCE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(37,48,74,0.77);
  z-index: 10099;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn .22s;
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #FFF9F0;
  border-radius: 29px;
  box-shadow: 0 8px 58px 0 rgba(37,48,74,0.16);
  border: 3px solid var(--clr-secondary);
  padding: 36px 33px;
  min-width: 325px;
  max-width: 95vw;
  color: var(--clr-primary);
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: modalSlideIn .42s cubic-bezier(.68,-0.50,.32,1.33);
}
@keyframes modalSlideIn {
  from { transform: translateY(160px) scale(.98); opacity: 0.5; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-close {
  align-self: flex-end;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: var(--clr-vintage-red);
  transition: color 0.18s;
  margin-bottom: 7px;
}
.cookie-modal-close:hover { color: var(--clr-secondary); }
.cookie-modal-title {
  color: var(--clr-dark);
  font-family: 'Merriweather', serif;
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin: 11px 0 11px 0;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--clr-secondary);
  width: 20px; height: 20px;
}
.cookie-category label {
  font-weight: 600;
}
.cookie-category.disabled {
  color: #9C8F7B;
  opacity: 0.84;
}
@media (max-width: 580px) {
  .cookie-modal {
    padding: 14px 6px;
    min-width: 95vw;
    border-radius: 13px;
  }
}

/* Hide cookie banner when closed (JS should toggle this) */
.cookie-banner.hide {
  display: none !important;
}
.cookie-modal-overlay.hide {
  display: none !important;
}

/*
 SCROLLBAR (vintage-retro style)
*/
::-webkit-scrollbar {
  width: 10px;
  background: #F6EBD5;
}
::-webkit-scrollbar-thumb {
  background: var(--clr-secondary);
  border-radius: 5px;
}
body {
  scrollbar-width: thin;
  scrollbar-color: var(--clr-secondary) #F6EBD5;
}

/*
 DECORATIVE VINTAGE PATTERNS/ELEMENTS
*/
.section {
  background: repeating-linear-gradient(135deg,#FAEEE0 0 60px,#F5F3ED 60px 120px,#FAEEE0 120px 180px);
}
@media (max-width: 580px) {
  .section {
    background: #FFF9F0;
  }
}

hr {
  border: none;
  border-top: 3px dotted var(--clr-secondary);
  margin: 38px 0;
}

/*
 Z-INDEX LAYERING: Ensure mobile nav and cookies above all else
*/
header,
.mobile-menu,
.cookie-banner,
.cookie-modal-overlay {
  z-index: 9999;
}

/*
 MICRO-INTERACTIONS: Buttons, testimonial hover
*/
.testimonial-card {
  cursor: pointer;
}
.testimonial-card:active {
  box-shadow: 0 4px 12px 0 rgba(209,164,100,0.19);
  transform: translateY(2px) scale(0.98);
}
.cta-button:active {
  box-shadow: 0 3px 7px 0 rgba(37,48,74,0.10);
  transform: scale(0.97);
}

/*
 FORMS (not in base, but for future-proof)
*/
input, textarea, select {
  font-family: 'Merriweather', serif;
  border: 2px solid var(--clr-card-border);
  border-radius: 11px;
  padding: 11px 14px;
  margin-bottom: 14px;
  background: #FDF6EA;
  font-size: 1rem;
  color: var(--clr-primary);
  outline: none;
  transition: border-color 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--clr-secondary);
}

/*
 ACCESSIBILITY & SELECTION COLOR
*/
::selection {
  background: var(--clr-secondary);
  color: #FFF9F0;
}

/*
 MISC / UTILITY
*/
.d-none { display: none!important; }
.text-center { text-align: center; }
.flex { display: flex; gap: 20px; }
.flex-col { flex-direction: column; }
.align-center { align-items: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 40px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 40px; }

/*
 END OF VINTAGE RETRO THEME CSS
*/
