:root {
  --bg: #fafafa;
  --gray-light: #f0f0f0;
  --gray-medium: #dcdcdc;
  --gray-dark: #333333;
  --pink: #f8c8dc;
  --pink-dark: #d290c0;
  --text: #444444;
  --transition: 0.3s ease;
  --max-width: 1200px;
  --font-sans: "Inter", sans-serif;
  --font-serif: "Roboto Slab", serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

#preloader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity var(--transition), visibility var(--transition);
}
.loader-logo {
  width: 60px;
  animation: spin 1s linear infinite;
}
.loader-text {
  margin-top: 1rem;
  font-family: var(--font-serif);
  color: var(--pink-dark);
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  transition: background var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.logo {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--pink-dark);
  letter-spacing: 1px;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--text);
  transition: transform var(--transition), opacity var(--transition);
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.site-nav a {
  position: relative;
  padding: 0.25rem 0;
  color: var(--text);
  transition: color var(--transition);
}
.site-nav a:hover,
.site-nav .active {
  color: var(--pink-dark);
}
.site-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pink-dark);
  transition: width var(--transition);
}
.site-nav a:hover::after {
  width: 100%;
}

#main-content {
  padding-top: 80px;
}

.cookies-banner {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--gray-light);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 2000;
  transition: opacity var(--transition), visibility var(--transition);
}
.cookies-banner p {
  font-size: 0.9rem;
  color: var(--text);
}
.cookies-button {
  background: var(--pink);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.cookies-button:hover {
  background: var(--pink-dark);
  transform: translateY(-2px);
}

.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--pink-dark);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity var(--transition);
}
.scroll-to-top.visible {
  opacity: 1;
}

.site-footer {
  background: var(--gray-medium);
  padding: 3rem 1rem;
  margin-top: 4rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.footer-logo img {
  width: 80px;
}
.footer-logo p {
  font-size: 1rem;
  color: var(--text);
  text-align: center;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.footer-links a {
  font-size: 0.9rem;
  color: var(--text);
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--pink-dark);
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--text);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100%;
    background: var(--bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right var(--transition);
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
  }
  .site-nav.open {
    right: 0;
  }
  .site-nav ul {
    flex-direction: column;
    gap: 1.5rem;
  }
  .header-inner {
    padding: 0.75rem 0;
  }
  .container {
    padding: 0 0.75rem;
  }
  .cookies-banner {
    bottom: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
  }
}

.hero-section {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../assets/images/hero.jpg") center/cover no-repeat;
  filter: brightness(0.75);
  z-index: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: #fff;
  padding: 0 1rem;
}

.hero-logo {
  width: 120px;
  margin-bottom: 1rem;
}

.hero-overlay h1 {
  font-family: "Roboto Slab", serif;
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero-overlay p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  max-width: 600px;
}

.btn-hero {
  background: rgba(255, 192, 203, 0.85);
  color: #333;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.3s, transform 0.3s;
}

.btn-hero:hover {
  background: rgba(255, 192, 203, 1);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .hero-overlay h1 {
    font-size: 2.25rem;
  }
  .hero-overlay p {
    font-size: 1rem;
  }
  .hero-logo {
    width: 100px;
  }
}

.about-section {
  padding: 4rem 0;
  background: #f9f7f5;
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.about-title {
  font-family: "Roboto Slab", serif;
  font-size: 2.5rem;
  color: #d88fa1;
  margin-bottom: 2rem;
  position: relative;
}

.about-title::after {
  content: "";
  width: 60px;
  height: 4px;
  background: #d88fa1;
  display: block;
  margin: 0.5rem auto 0;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
}

.about-text {
  flex: 1;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: #4a4a4a;
  line-height: 1.8;
}

.about-text p + p {
  margin-top: 1.25rem;
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
}

.about-image img:hover {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
  }
  .about-title {
    font-size: 2rem;
  }
  .about-inner {
    padding: 0 1rem;
  }
}

.classes-slider-section {
  padding: 4rem 0;
  background: #f9f7f5;
}

.slider-title {
  font-family: "Roboto Slab", serif;
  text-align: center;
  font-size: 2rem;
  color: #d88fa1;
  margin-bottom: 2rem;
}

#classes-slider {
  --splide-arrow-size: 2rem;
  --splide-pagination-width: 6px;
  --splide-pagination-height: 6px;
  --splide-pagination-gap: 8px;
}

#classes-slider .splide__slide img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

#classes-slider .splide__slide img:hover {
  transform: scale(1.04);
}

#classes-slider .splide__arrow {
  background: rgba(216, 143, 161, 0.8);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

#classes-slider .splide__arrow:hover {
  background: rgba(216, 143, 161, 1);
}

#classes-slider .splide__pagination__page {
  background: #ccc;
  transition: background 0.3s;
}

#classes-slider .splide__pagination__page.is-active {
  background: #d88fa1;
}

@media (max-width: 768px) {
  .slider-title {
    font-size: 1.75rem;
  }
}

.age-classes-section {
  padding: 4rem 0;
  background: #f7f5f3;
}
.age-classes__title {
  font-family: "Roboto Slab", serif;
  font-size: 2.25rem;
  text-align: center;
  color: #d88fa1;
  margin-bottom: 2rem;
}
.age-classes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.age-classes__item {
  background: #ffffff;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.age-classes__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}
.age-classes__item h3 {
  font-family: "Roboto Slab", serif;
  font-size: 1.5rem;
  color: #a65673;
  margin-bottom: 1rem;
}
.age-classes__item ul {
  list-style: none;
  padding: 0;
}
.age-classes__item li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color: #555;
}
.age-classes__item li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #d88fa1;
  font-size: 1.25rem;
  line-height: 1;
}

@media (max-width: 1024px) {
  .age-classes__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .age-classes__grid {
    grid-template-columns: 1fr;
  }
  .age-classes__title {
    font-size: 1.75rem;
  }
}

.schedule-section {
  padding: 4rem 0;
  background: #f7f5f3;
}
.schedule__title {
  font-family: "Roboto Slab", serif;
  font-size: 2rem;
  text-align: center;
  color: #d88fa1;
  margin-bottom: 2rem;
}
.schedule__tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.schedule__tabs .tab {
  background: #fff;
  border: 2px solid transparent;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
}
.schedule__tabs .tab.active,
.schedule__tabs .tab:hover {
  background: #d88fa1;
  color: #fff;
  border-color: #d88fa1;
}
.schedule__content {
  max-width: 600px;
  margin: 0 auto;
}
.schedule__content .day {
  display: none;
  animation: fadeIn 0.4s ease both;
}
.schedule__content .day.active {
  display: block;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.schedule__content p {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  margin: 0.75rem 0;
  color: #555;
}
.schedule__content strong {
  color: #a65673;
}
@media (max-width: 640px) {
  .schedule__tabs .tab {
    flex: 1 1 auto;
    text-align: center;
  }
}

.benefits-section {
  background: #f7f5f6;
  padding: 4rem 1rem;
}
.benefits__title {
  text-align: center;
  font-family: "Roboto Slab", serif;
  font-size: 2.5rem;
  color: #dca6b8;
  margin-bottom: 2rem;
}
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.benefits__col {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.benefits__list,
.experience__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.benefits__list li,
.experience__list li {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1rem;
  font-family: "Inter", sans-serif;
  color: #4a4a4a;
  line-height: 1.5;
}
.benefits__icon {
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-size: 1.5rem;
}
.benefits__subtitle {
  font-family: "Roboto Slab", serif;
  font-size: 1.75rem;
  color: #b67a8a;
  margin-bottom: 1rem;
}
.experience__list li strong {
  color: #a0526f;
}
@media (max-width: 768px) {
  .benefits__grid {
    grid-template-columns: 1fr;
  }
  .benefits__col {
    padding: 1.5rem;
  }
  .benefits__title {
    font-size: 2rem;
  }
  .benefits__subtitle {
    font-size: 1.5rem;
  }
}

.contact-section {
  background: #faf8f9;
  padding: 4rem 1rem;
}
.contact__title {
  text-align: center;
  font-family: "Roboto Slab", serif;
  font-size: 2.5rem;
  color: #dca6b8;
  margin-bottom: 2rem;
}
.contact__content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact__icon {
  font-size: 2rem;
  color: #a8d5ba;
  flex-shrink: 0;
}
.contact__heading {
  font-family: "Roboto Slab", serif;
  font-size: 1.25rem;
  color: #b67a8a;
  margin-bottom: 0.25rem;
}
.contact__details p,
.contact__details a {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: #4a4a4a;
  text-decoration: none;
  transition: color var(--transition);
}
.contact__details a:hover {
  color: #dca6b8;
}
.contact__socials {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.social-links a {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: #4a4a4a;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: background var(--transition), color var(--transition),
    transform var(--transition);
}
.social-links a:hover {
  background: #dca6b8;
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .contact__content {
    grid-template-columns: 1fr;
  }
  .contact__socials {
    margin-top: 2rem;
  }
}

:root {
  --accent-pink: #f8c8dc;
  --accent-green: #a7d3a6;
  --grey-bg: #fafafa;
  --text-primary: #333;
  --card-bg: #fff;
}

.about-team-section {
  background: var(--grey-bg);
  padding: 4rem 0;
}

.about-team__title {
  font-family: "Roboto Slab", serif;
  font-size: 2.5rem;
  text-align: center;
  color: var(--text-primary);
  margin-bottom: 2rem;
  position: relative;
}

.about-team__title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent-pink);
  margin: 0.5rem auto 0;
}

.about-team__intro {
  max-width: 1000px;
  margin: 0 auto 3rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.about-team__intro p {
  flex: 1 1 300px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
}

.about-team__subheading {
  font-size: 1.75rem;
  text-align: center;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.about-team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.instructor-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instructor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.instructor-photo {
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.instructor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.instructor-name {
  font-family: "Roboto Slab", serif;
  font-size: 1.25rem;
  color: var(--text-primary);
  margin: 0.5rem 0;
}

.instructor-role {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1rem;
}

.instructor-bio {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.instructor-bio li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.instructor-bio li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-green);
}

@media (max-width: 768px) {
  .about-team__intro {
    flex-direction: column;
  }
  .about-team__title {
    font-size: 2rem;
  }
  .about-team__subheading {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .instructor-photo {
    width: 100px;
    height: 100px;
  }
}

.classes-section {
  background: #faf7f9;
  padding: 4rem 0;
}

.classes-section__title {
  font-family: "Roboto Slab", serif;
  font-size: 2.5rem;
  text-align: center;
  color: #333;
  margin-bottom: 1rem;
}

.classes-section__intro {
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 1rem;
  color: #555;
  text-align: center;
  line-height: 1.6;
}

.classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.class-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.class-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.class-card__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.class-card__name {
  font-family: "Roboto Slab", serif;
  font-size: 1.5rem;
  color: #333;
  margin: 1rem;
}

.class-card__features {
  list-style: none;
  padding: 0 1rem 1.5rem;
  margin: 0;
  color: #555;
}

.class-card__features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.class-card__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #f8c8dc;
  font-weight: bold;
}

@media (max-width: 768px) {
  .classes-section__title {
    font-size: 2rem;
  }
  .classes-section__intro {
    font-size: 0.95rem;
  }
  .class-card__name {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .classes-section {
    padding: 2rem 0;
  }
  .classes-section__title {
    font-size: 1.75rem;
  }
  .class-card__img {
    height: 150px;
  }
}


.title_background {
  background: #fde8f3;
  padding: 6rem 0;
}

.title_background .title {
  font-family: 'Roboto Slab', serif;
  font-size: 2rem;
  color: #4a4a4a;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.text_background {
  background: #ffffff;
  padding: 2.5rem 0;
}

.text_background .text {
  max-width: 800px;
  margin: 0 auto;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: #555555;
  text-align: justify;
  position: relative;
}

.text_background .text::before {
  content: '';
  position: absolute;
  top: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #f8c8dc;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .title_background .title {
    font-size: 1.75rem;
  }
  .text_background {
    padding: 2rem 0;
  }
  .text_background .text {
    padding: 0 1rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .title_background {
    padding: 2rem 0;
  }
  .title_background .title {
    font-size: 1.5rem;
  }
  .text_background {
    padding: 1.5rem 0;
  }
  .text_background .text {
    font-size: 0.9rem;
  }
}