/* ================================================== */
/*         ART PRIMER — style.css (Warm Friendly)     */
/* ================================================== */

/* CSS RESET & NORMALIZE */
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  background: #FEFAF6;
  color: #293245;
  line-height: 1.6;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #d78521;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #293245;
  text-decoration: underline;
}
ul, ol {
  margin: 0 0 16px 20px;
  padding: 0;
}
li {
  margin-bottom: 8px;
}
strong {
  font-weight: 700;
}

/* Typography System */
h1, .h1 {
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
  font-size: 2.5rem;
  color: #293245;
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
h2, .h2 {
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
  font-size: 2rem;
  color: #293245;
  margin-bottom: 18px;
  font-weight: 600;
}
h3, .h3 {
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
  font-size: 1.25rem;
  color: #293245;
  margin-bottom: 14px;
  font-weight: 600;
}
h4, .h4 {
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
  font-size: 1.1rem;
  color: #293245;
  margin-bottom: 10px;
  font-weight: 500;
}
p {
  font-size: 1rem;
  color: #293245;
  margin-bottom: 16px;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 6px 32px 0 rgba(40, 50, 60, 0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
}

.text-section {
  margin-bottom: 24px;
}

/* ==== HEADER & NAVIGATION ==== */
header {
  background: #fff;
  box-shadow: 0 2px 18px 0 rgba(41,50,69,0.03);
  position: sticky;
  top: 0;
  z-index: 90;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  min-height: 72px;
  padding: 0 20px;
}
.main-nav a {
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 14px;
  border-radius: 16px;
  transition: background 0.2s, color 0.2s;
  color: #293245;
  font-weight: 500;
}
.main-nav a:hover, .main-nav a:focus {
  background: #FFD16622;
  color: #d78521;
}
.main-nav img {
  height: 41px;
  width: auto;
  margin-right: 12px;
  margin-left: 2px;
}
.main-nav .cta-btn {
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
  background-color: #FFD166;
  color: #293245;
  border: none;
  font-weight: 700;
  padding: 9px 26px;
  border-radius: 24px;
  margin-left: auto;
  box-shadow: 0 2px 10px 0 rgba(234,181,98,0.12);
  transition: background 0.18s, box-shadow 0.24s, color 0.18s;
}
.main-nav .cta-btn:hover, .main-nav .cta-btn:focus {
  background: #f9ae44;
  color: #fff;
  box-shadow: 0 6px 28px 0 rgba(237,168,22,0.17);
}

@media (max-width: 990px) {
  .main-nav {
    gap: 7px;
    padding: 0 10px;
  }
  .main-nav .cta-btn {
    padding: 8px 18px;
    margin-left: 10px;
  }
}

@media (max-width: 870px) {
  .main-nav {
    gap: 1px;
    padding: 0 6px;
  }
  .main-nav .cta-btn {
    padding: 6px 11px;
    margin-left: 6px;
  }
}

/* ======== MOBILE NAVIGATION ======== */
.mobile-menu-toggle {
  display: none;
  background: #FFD166;
  color: #293245;
  font-size: 2.1rem;
  border: none;
  border-radius: 14px;
  padding: 4px 12px 4px 10px;
  margin: 10px 16px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 rgba(234,181,98,0.19);
  z-index: 110;
  transition: background 0.2s, box-shadow 0.22s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #f9ae44;
  box-shadow: 0 4px 24px 0 rgba(217,134,33,0.23);
  color: #fff;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: 94vw;
  max-width: 370px;
  height: 100vh;
  background: #fffbea;
  box-shadow: -4px 0 40px 0 rgba(41,50,69,0.14);
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.76,.08,.47,1.09), box-shadow 0.28s;
  z-index: 120;
  opacity: 1;
}
.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-close {
  background: #FFD166;
  color: #293245;
  font-size: 2.1rem;
  border: none;
  border-radius: 14px;
  padding: 3px 14px 2px 12px;
  align-self: flex-end;
  margin: 10px 12px 4px 0;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(234,181,98,0.16);
  transition: background 0.2s, color 0.2s, box-shadow 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #f9ae44;
  color: #fff;
  box-shadow: 0 8px 24px 0 rgba(237,168,22,0.21);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin: 32px 0 0 32px;
}
.mobile-nav a {
  color: #293245;
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 8px 0;
  border-radius: 14px;
  transition: background 0.18s, color 0.18s;
  display: block;
  min-width: 120px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFD16633;
  color: #d78521;
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 0;
    top: 10px;
  }
  header {
    min-height: 62px;
  }
}
@media (min-width: 901px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ===== Hero Section ===== */
.hero {
  background: linear-gradient(90deg,#FFD16618 0%, #98D0C638 100%);
  min-height: 320px;
  border-radius: 0 0 40px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 64px;
  box-shadow: 0 8px 36px 0 rgba(41,50,69,0.11);
  padding: 70px 0 60px 0;
}
.hero .container, .hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
}
.hero h1 {
  font-size: 2.7rem;
  color: #293245;
}
.hero p {
  font-size: 1.3rem;
  color: #293245;
  max-width: 550px;
  margin-bottom: 12px;
}
.hero .cta-btn {
  font-size: 1.15rem;
  margin-top: 6px;
}
@media (max-width: 768px) {
  .hero {
    min-height: 180px;
    padding: 34px 0 26px 0;
    border-radius: 0 0 24px 24px;
    margin-bottom: 34px;
  }
  .hero h1 {
    font-size: 1.75rem;
  }
  .hero p {
    font-size: 1rem;
    margin-bottom: 8px;
  }
}

/* Primary Button/CTA Styles */
.cta-btn {
  background: #FFD166;
  color: #293245;
  font-size: 1rem;
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 26px;
  padding: 13px 36px;
  min-width: 136px;
  cursor: pointer;
  box-shadow: 0 4px 17px 0 rgba(234,181,98,0.18);
  transition: background 0.19s, color 0.18s, box-shadow 0.23s, transform 0.22s;
  outline: none;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #f9ae44;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 38px 0 rgba(237,168,22,0.21);
}

/* Feature Grid (Why Art Primer) */
.feature-grid, .service-cards, .team-grid, .coaching-options {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 10px;
}
.feature-item, .service-card, .team-bio, .coaching-package {
  background: #fffde8;
  border-radius: 22px;
  box-shadow: 0 2px 11px 0 rgba(255,209,102,0.08);
  padding: 24px 22px 22px 22px;
  min-width: 220px;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.19s, transform 0.19s;
}
.feature-item img {
  height: 36px;
  width: 36px;
  margin-bottom: 5px;
}
.feature-item:hover, .service-card:hover, .team-bio:hover,
.coaching-package:hover {
  box-shadow: 0 7px 22px 0 rgba(152,208,198,0.20);
  transform: translateY(-2px) scale(1.03);
}
@media (max-width: 900px) {
  .feature-grid, .service-cards, .team-grid, .coaching-options {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item, .service-card, .team-bio, .coaching-package {
    min-width: 0;
    width: 100%;
    align-items: flex-start;
  }
}

/* Card containers */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}

.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;
    align-items: flex-start;
    gap: 20px;
  }
}

/* Testimonials */
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff8ea;
  border-radius: 22px;
  box-shadow: 0 2px 11px 0 rgba(41,50,69,0.08);
  margin-bottom: 20px;
  width: 300px;
  min-width: 220px;
}
.testimonial-card p {
  color: #293245;
  font-size: 1.06rem;
}
.testimonial-card strong {
  color: #d78521;
  font-family: 'Montserrat',sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
}
@media (max-width: 900px) {
  .testimonial-slider, .testimonial-list {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    width: 100%;
    min-width: 0;
  }
}

/* Other Common Section Patterns */
.value-list, .module-list, .curriculum-list, .highlight-list {
  margin-top: 0;
  margin-bottom: 16px;
  padding-left: 18px;
}

.approach-points, .session-highlights, .gallery-examples,
.learning-objectives, .event-format, .artist-profiles,
.credentials-highlight, .enrolment-steps, .event-schedule {
  margin-bottom: 20px;
  margin-top: 8px;
  background: #f7fbfa;
  border-radius: 18px;
  padding: 16px 18px 12px 18px;
  box-shadow: 0 1px 7px 0 rgba(152,208,198,0.04);
}

.price-info, .access-details, .group-size-info, .schedule-info {
  margin-top: 16px;
  margin-bottom: 20px;
  background: #fff8ea;
  border-radius: 14px;
  padding: 10px 15px;
  color: #293245;
  font-size: 1rem;
  box-shadow: 0 1px 7px 0 rgba(255,209,102,0.06);
}

@media (max-width: 768px) {
  .approach-points, .session-highlights, .gallery-examples,
  .learning-objectives, .event-format, .artist-profiles,
  .credentials-highlight, .enrolment-steps, .event-schedule {
    padding: 11px 7px;
    margin-bottom: 12px;
  }
  .price-info, .access-details, .group-size-info, .schedule-info {
    padding: 7px 6px;
    font-size: 0.97rem;
  }
}

/* ===== FOOTER ===== */
footer {
  margin-top: 48px;
  background: #293245;
  color: #fff;
  border-radius: 34px 34px 0 0;
  box-shadow: 0 -3px 38px 0 rgba(41,50,69,0.13);
  padding: 28px 0 10px 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  flex-direction: row;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 0.98rem;
}
.footer-nav a {
  color: #FFD166;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 10px;
  transition: background 0.18s, color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #FFD166;
  color: #293245;
}
.footer-contact, .footer-hours {
  color: #fffbd5;
  font-size: 0.9rem;
  padding: 0 6px;
  margin-right: 8px;
}
.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  gap: 10px;
  padding-bottom: 4px;
}
.footer-brand img {
  height: 38px;
  width: auto;
  margin-right: 6px;
}
.footer-tagline {
  color: #FFD166;
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
  font-size: 0.99rem;
  font-weight: 500;
}
@media (max-width: 760px) {
  .footer-nav {
    flex-direction: column;
    gap: 7px;
    align-items: flex-start;
    padding-left: 18px;
  }
  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-left: 18px;
  }
}

/* CONTACT & THANK YOU SPECIAL */
.map-location {
  background: #f7fbfa;
  color: #293245;
  border-radius: 14px;
  padding: 8px 13px;
  margin: 12px 0 8px 0;
  font-style: italic;
  font-size: 0.97rem;
  box-shadow: 0 1px 7px 0 rgba(152,208,198,0.04);
}

/* -------------- COOKIE CONSENT BANNER -------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fffbe8;
  color: #293245;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -4px 32px 0 rgba(255,209,102,0.13);
  padding: 20px 16px 18px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  z-index: 200;
  gap: 16px;
  font-size: 1rem;
  animation: cookie-slideup 0.6s cubic-bezier(.72,.14,.41,1.09);
}
@keyframes cookie-slideup {
  0% { transform: translateY(100%); opacity: 0; }
  75% { opacity:1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 13px;
}
.cookie-btn {
  font-family: 'Montserrat',sans-serif;
  font-weight: 600;
  background: #FFD166;
  color: #293245;
  border: none;
  border-radius: 16px;
  padding: 9px 22px;
  margin-top: 0;
  cursor: pointer;
  margin-right: 0px;
  transition: background 0.15s, color 0.18s, box-shadow 0.17s;
  box-shadow: 0 2px 8px 0 rgba(234,181,98,0.12);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #f9ae44;
  color: #fff;
}
.cookie-btn.secondary {
  background: #98D0C6;
  color: #293245;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #52b6a8;
  color: #fff;
}
.cookie-btn.settings {
  background: #fff;
  border: 2px solid #FFD166;
  color: #293245;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #FFD16614;
}

@media (max-width: 590px) {
  .cookie-banner {
    flex-direction: column;
    padding: 12px 6px 11px 6px;
    gap: 12px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-buttons {
    gap: 8px;
    flex-wrap: wrap;
  }
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 220;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(41,50,69,0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in-modal 0.27s cubic-bezier(.32,.84,.51,1);
}
@keyframes fade-in-modal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fffbe8;
  color: #293245;
  border-radius: 18px;
  box-shadow: 0 7px 24px 0 rgba(152,208,198,0.17);
  max-width: 410px;
  width: 95vw;
  padding: 26px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modal-scalein 0.24s cubic-bezier(.32,.84,.51,1);
}
@keyframes modal-scalein {
  from { transform: scale(0.92); opacity: 0.5; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-family: 'Montserrat',sans-serif;
  font-weight: 600;
  margin-bottom: 9px;
  font-size: 1.2rem;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 10px;
}
.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
  font-family: 'Lato', Arial, sans-serif;
}
.cookie-toggle input[type="checkbox"] {
  appearance: none;
  width: 30px;
  height: 18px;
  border-radius: 14px;
  background: #FFD16666;
  transition: background 0.2s;
  outline: none;
  position: relative;
  cursor: pointer;
}
.cookie-toggle input[type="checkbox"]:checked {
  background: #98D0C6;
}
.cookie-toggle input[type="checkbox"]::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3.5px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px 0 rgba(41,50,69,0.13);
  transition: transform 0.19s;
}
.cookie-toggle input[type="checkbox"]:checked::before {
  transform: translateX(12px);
}
.cookie-toggle .desc {
  font-size: 0.99rem;
  color: #5e6b7a;
  margin-left: 11px;
}
.cookie-modal-actions {
  display: flex;
  gap: 11px;
  justify-content: flex-end;
}
.cookie-modal label[disabled], .cookie-toggle input[type="checkbox"][disabled] {
  opacity: 0.7;
  pointer-events: none;
}

/* ==== Animations/Microinteractions ==== */
.card, .feature-item, .service-card, .team-bio, .coaching-package { transition: box-shadow 0.22s, transform 0.13s; }
.cta-btn, .cookie-btn { transition: background 0.18s, box-shadow 0.2s, color 0.17s, transform 0.21s; }

/* ==== FORM, LISTS, MISC ==== */
input, textarea, select {
  font-family: 'Lato', Arial, sans-serif;
  border-radius: 12px;
  border: 1.5px solid #98D0C6;
  padding: 9px 14px;
  font-size: 1rem;
  transition: border 0.18s, box-shadow 0.24s;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid #FFD166;
  border-color: #FFD166;
  box-shadow: 0 0 0 2px #ffd16644;
}
label {
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
  font-size: 1rem;
  color: #293245;
  font-weight: 500;
}

::-webkit-input-placeholder { color: #abbac1; }
::-moz-placeholder { color: #abbac1; }
:-ms-input-placeholder { color: #abbac1; }
::placeholder { color: #abbac1; }

/* ========== Accessibility ========== */
:focus-visible {
  outline: 2.5px solid #FFD166;
  outline-offset: 1px;
}

/* =========== MEDIA QUERIES ========== */
@media (max-width: 768px) {
  h1, .h1 {
    font-size: 2rem;
  }
  h2, .h2 {
    font-size: 1.25rem;
    margin-bottom: 12px;
  }
  h3, .h3 {
    font-size: 1.08rem;
  }
}

/* --------- MANDATORY FLEXBOX SPACING --------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container,
.service-cards,
.team-grid,
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Extra: Hide scrollbars from mobile menu under some browsers */
.mobile-menu {
  scrollbar-width: thin;
  scrollbar-color: #FFD166 #fffbea;
}
.mobile-menu::-webkit-scrollbar {
  width: 6px;
  background: #fffbea;
}
.mobile-menu::-webkit-scrollbar-thumb {
  background: #FFD166;
  border-radius: 8px;
}

/* ==============================================
   Google Fonts Inclusion — handled in HTML <head>, example:
   <link href="https://fonts.googleapis.com/css?family=Montserrat:400,600,700&display=swap" rel="stylesheet">
   <link href="https://fonts.googleapis.com/css?family=Lato:300,400,700&display=swap" rel="stylesheet">
   ============================================== */
