:root {
  --color-bg: #fff;
  --color-text: #333;
  --color-primary: #e63946;
  --color-secondary: #f98484;
  --transition: 0.3s ease;
  --max-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Inter", sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
}
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  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: "Roboto Slab", serif;
  font-size: 1.75rem;
  color: var(--color-primary);
  position: relative;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  width: 28px;
  height: 3px;
  background: var(--color-text);
  transition: transform var(--transition), opacity var(--transition);
}
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.site-nav a {
  position: relative;
  text-decoration: none;
  color: var(--color-text);
  padding-bottom: 3px;
  transition: color var(--transition);
}
.site-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition);
}
.site-nav a:hover,
.site-nav .active {
  color: var(--color-primary);
}
.site-nav a:hover::after,
.site-nav .active::after {
  width: 100%;
}

.hero-section {
  position: relative;
  height: 60vh;
  margin-top: 80px;
}
.hero-section__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}
.hero-section__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 2rem;
  margin: 0 auto;
  max-width: 800px;
  border: 3px dashed var(--color-secondary);
  background: rgba(0, 0, 0, 0.2);
}
.hero-section__content::before,
.hero-section__content::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 3px dashed var(--color-secondary);
}
.hero-section__content::before {
  top: -10px;
  left: -10px;
}
.hero-section__content::after {
  bottom: -10px;
  right: -10px;
}
.hero-section__logo {
  width: 80px;
  margin-bottom: 1rem;
}
.hero-section__content h1 {
  font-family: "Roboto Slab", serif;
  font-size: 3rem;
  margin-bottom: 1rem;
}
.hero-section__content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  line-height: 1.4;
}
.btn-hero {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}
.btn-hero:hover {
  background: var(--color-secondary);
  transform: translateY(-2px);
}

.cookies-banner {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  background: #fff;
  color: var(--color-text);
  padding: 1rem 1.5rem;
  border: 2px dotted var(--color-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 2000;
}
.cookies-button {
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.cookies-button:hover {
  background: var(--color-secondary);
  transform: translateY(-2px);
}

/* Footer */
.site-footer {
  background: #f8f8f8;
  padding: 2rem 1rem;
  margin-top: 4rem;
  text-align: center;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-logo p {
  color: var(--color-text);
  font-size: 1rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.footer-links a {
  position: relative;
  color: var(--color-text);
  font-size: 0.9rem;
  text-decoration: none;
}
.footer-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-primary);
  transition: width var(--transition);
}
.footer-links a:hover::after {
  width: 100%;
}
.footer-copy {
  font-size: 0.8rem;
  color: #666;
}
.footer-logo img {
  height: 50px;
}

.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--color-primary);
  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;
}

@media (max-width: 1024px) {
  .hero-section__content h1 {
    font-size: 2.5rem;
  }
}
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  .site-nav {
    display: none;
  }
  .hero-section__content {
    border-width: 2px;
    padding: 1.5rem;
  }
  .hero-section__content h1 {
    font-size: 2rem;
  }
  .hero-section__content p {
    font-size: 1rem;
  }
}

.about-section {
  padding: 4rem 0;
  display: flex;
  align-items: center;
  background: #fff5f8;
}
.about-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.about-section__text h2 {
  font-family: "Roboto Slab", serif;
  font-size: 2.5rem;
  color: #b71c1c;
  margin-bottom: 1rem;
  position: relative;
}
.about-section__text h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #f48fb1;
  margin-top: 0.5rem;
  border-radius: 2px;
}
.about-section__text p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.about-features {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.about-features li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: #555;
}
.about-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  background: #e57373;
  border-radius: 50%;
}
.about-section__image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.courses-section {
  padding: 4rem 0;
  background: #fff;
}
.courses-section__inner h2 {
  text-align: center;
  font-family: "Roboto Slab", serif;
  font-size: 2.25rem;
  color: #b71c1c;
  margin-bottom: 2rem;
  position: relative;
}
.courses-section__inner h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #f48fb1;
  margin: 0.5rem auto;
  border-radius: 2px;
}
.courses-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.course-card {
  flex: 1 1 calc(33% - 2rem);
  background: #fde0dd;
  padding: 2rem;
  border-radius: 8px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.course-card h3 {
  font-family: "Roboto Slab", serif;
  font-size: 1.5rem;
  color: #c62828;
  margin-bottom: 0.75rem;
}
.course-card p {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.course-price {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  background: #f48fb1;
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-weight: 500;
}

@media (max-width: 992px) {
  .about-section__inner {
    grid-template-columns: 1fr;
  }
  .courses-grid {
    flex-direction: column;
    align-items: stretch;
  }
  .course-card {
    flex: 1 1 100%;
  }
}

.gallery-section {
  padding: 4rem 0;
  background: #fff5f8;
}
.gallery-section__inner h2 {
  text-align: center;
  font-family: "Roboto Slab", serif;
  font-size: 2.25rem;
  color: #b71c1c;
  margin-bottom: 2rem;
  position: relative;
}
.gallery-section__inner h2::after {
  content: "";
  width: 60px;
  height: 4px;
  background: #f48fb1;
  display: block;
  margin: 0.5rem auto 0;
  border-radius: 2px;
}
.splide {
  max-width: var(--max-width);
  margin: 0 auto;
}
.splide__slide img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.splide__slide img:hover {
  transform: scale(1.05);
}
.splide__arrow {
  background: rgba(216, 27, 96, 0.8);
  color: #fff;
  border: none;
  padding: 0.5rem;
  border-radius: 50%;
  transition: background 0.3s;
}
.splide__arrow:hover {
  background: #d81b60;
}
.splide__pagination {
  margin-top: 1rem;
}
.splide__pagination li button {
  background: #eee;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 4px;
  transition: background 0.3s;
}
.splide__pagination li.is-active button {
  background: #d81b60;
}

@media (max-width: 768px) {
  .gallery-section__inner h2 {
    font-size: 1.75rem;
  }
}

.upcoming-classes {
  padding: 4rem 0;
  background: #fff0f4;
}
.upcoming-classes h2 {
  text-align: center;
  font-family: 'Roboto Slab', serif;
  font-size: 2.25rem;
  color: #d81b60;
  margin-bottom: 2rem;
  position: relative;
}
.upcoming-classes h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: #f48fb1;
  margin: 0.5rem auto 0;
  border-radius: 2px;
}
.classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.class-card {
  background: #fff;
  border: 2px dashed #f48fb1;
  padding: 1.5rem;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.class-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(216,27,96,0.2);
}
.class-card h3 {
  font-family: 'Roboto Slab', serif;
  margin-bottom: 0.75rem;
  color: #b71c1c;
}
.class-card p {
  margin-bottom: 1rem;
  color: #333;
}
.class-card ul {
  list-style: none;
  margin-bottom: 1.5rem;
  padding-left: 0;
}
.class-card ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}
.class-card ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #d81b60;
}
.class-price {
  position: absolute;
  top: 0.5rem;
  right: 1.5rem;
  font-size: 1.25rem;
  font-weight: 500;
  color: #d81b60;
}
.btn-enroll {
  display: inline-block;
  background: #d81b60;
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: background 0.3s, transform 0.3s;
}
.btn-enroll:hover {
  background: #b71c1c;
  transform: translateY(-2px);
}

.testimonials-section {
  padding: 4rem 0;
  background: #ffe5ec;
}
.testimonials-section h2 {
  text-align: center;
  font-family: 'Roboto Slab', serif;
  font-size: 2.25rem;
  color: #d81b60;
  margin-bottom: 2rem;
}
.splide__slide blockquote {
  font-style: italic;
  position: relative;
  padding: 1.5rem;
  background: #fff;
  border-left: 4px dashed #f48fb1;
  border-radius: 8px;
  margin: 0 auto;
  max-width: 600px;
}
.splide__slide cite {
  display: block;
  text-align: right;
  margin-top: 1rem;
  font-style: normal;
  color: #555;
  font-weight: 500;
}
.splide__arrow {
  background: rgba(216,27,96,0.8);
  color: #fff;
  border: none;
  padding: 0.5rem;
  border-radius: 50%;
  transition: background 0.3s;
}
.splide__arrow:hover {
  background: #b71c1c;
}
.splide__pagination li button {
  background: #eee;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin: 0 3px;
  transition: background 0.3s;
}
.splide__pagination li.is-active button {
  background: #d81b60;
}

@media (max-width: 768px) {
  .classes-grid {
    gap: 1.5rem;
  }
  .class-price {
    position: static;
    margin-bottom: 0.5rem;
  }
}

.instructors-section {
  padding: 4rem 1rem;
  background: #fff5f5;
}
.instructors-section .container {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}
.instructors-section h2 {
  font-family: "Roboto Slab", serif;
  font-size: 2.5rem;
  color: #c62828;
  margin-bottom: 0.5rem;
}
.instructors-section p {
  font-size: 1.125rem;
  color: #555;
  margin-bottom: 2rem;
}
.instructors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.instructor-card {
  background: #ffffff;
  border: 2px dotted #f8bbd0;
  border-radius: 12px;
  overflow: hidden;
  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-card img {
  width: 100%;
  display: block;
  object-fit: cover;
  height: 250px;
}
.instructor-card h3 {
  font-family: "Roboto Slab", serif;
  font-size: 1.25rem;
  color: #b71c1c;
  margin: 1rem 0 0.25rem;
}
.instructor-card p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 1rem;
}

.contact-section {
  padding: 4rem 1rem;
  background: #fff;
}
.contact-section .container {
  max-width: var(--max-width);
  margin: 0 auto;
}
.contact-section h2 {
  font-family: "Roboto Slab", serif;
  font-size: 2rem;
  color: #c62828;
  text-align: center;
  margin-bottom: 1rem;
}
.contact-section p {
  font-size: 1rem;
  color: #555;
  text-align: center;
  margin-bottom: 2rem;
}
.contact-details {
  list-style: none;
  padding: 0;
  margin: 0 auto 2rem;
  max-width: 600px;
}
.contact-details li {
  font-size: 1rem;
  color: #333;
  padding: 0.75rem 0;
  border-bottom: 1px dotted #f48fb1;
  display: flex;
  justify-content: space-between;
}
.contact-details li:last-child {
  border-bottom: none;
}
.contact-details a {
  color: #c62828;
  text-decoration: none;
  transition: color 0.3s ease;
}
.contact-details a:hover {
  color: #b71c1c;
}

.contact-socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.contact-socials a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: #f8bbd0;
  border-radius: 50%;
  overflow: hidden;
  transition: background 0.3s ease, transform 0.3s ease;
}
.contact-socials a:hover {
  background: #f06292;
  transform: scale(1.1);
}
.contact-socials img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

@media (max-width: 768px) {
  .instructors-section h2 {
    font-size: 2rem;
  }
  .instructors-section p {
    font-size: 1rem;
  }
  .contact-section h2 {
    font-size: 1.75rem;
  }
  .contact-details li {
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-details li strong {
    display: block;
    margin-bottom: 0.25rem;
  }
}

.title_background {
  background-color: #f8f0f4;
  padding: 6.5rem 1rem;
}
.title_background .title {
  font-family: "Roboto Slab", serif;
  font-size: 2.5rem;
  color: #b85c7b;
  text-align: center;
  margin: 0;
  position: relative;
  display: inline-block;
}
.title_background .title::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: #b85c7b;
  border-radius: 2px;
}

.text_background {
  background-color: #ffffff;
  padding: 3rem 1rem;
}
.text_background .text {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: #4a4a4a;
  line-height: 1.75;
  max-width: 800px;
  margin: 0 auto;
}

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