/* 
* Yuelia - Style Sheet
* Colors:
* #EBE8DB - Light beige (background)
* #D76C82 - Pink (accents)
* #B03052 - Dark pink (buttons, highlights)
* #3D0301 - Dark brown (text)
*/

/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Alegreya:ital,wght@0,400;0,500;0,700;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

/* --- Reset and base styles --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #3d0301;
  background-color: #ebe8db;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Alegreya', serif;
  font-weight: 500;
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.8rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #b03052;
  border-radius: 2px;
}

h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

a {
  color: #b03052;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #d76c82;
}

ul,
ol {
  list-style-position: inside;
  margin-bottom: 1.5rem;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 5rem 0;
  position: relative;
}

/* --- Header and Navigation --- */
.yuelia-header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.4s ease;
  background-color: rgba(235, 232, 219, 0.95);
  box-shadow: 0 2px 10px rgba(61, 3, 1, 0.1);
}

.yuelia-header.scrolled {
  padding: 0.6rem 0;
  background-color: rgba(235, 232, 219, 0.98);
  box-shadow: 0 5px 20px rgba(61, 3, 1, 0.15);
}

.yuelia-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.yuelia-logo {
  height: 50px;
  width: auto;
  transition: all 0.3s ease;
}

.yuelia-header.scrolled .yuelia-logo {
  height: 40px;
}

.yuelia-nav-items {
  display: flex;
  list-style: none;
  margin: 0;
}

.yuelia-nav-items li {
  display: flex;
  align-items: center;
}

.yuelia-nav-link {
  margin: 0 1rem;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  padding: 0.5rem 0;
  white-space: pre;
}

.yuelia-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #b03052;
  transition: width 0.3s ease;
}

.yuelia-nav-link:hover::after {
  width: 100%;
}

.yuelia-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: #3d0301;
}

/* --- Hero Section --- */
.yuelia-hero {
  height: 100vh;
  min-height: 600px;
  background-image: linear-gradient(rgba(61, 3, 1, 0.4), rgba(61, 3, 1, 0.4)),
    url('../img/hero-bg.webp');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ebe8db;
  text-align: center;
  position: relative;
  padding-top: 80px; /* Account for fixed header */
}

.yuelia-hero-content {
  max-width: 800px;
  padding: 2rem;
  animation: fadeIn 1.5s ease-in-out;
}

.yuelia-hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.yuelia-hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.yuelia-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background-color: #b03052;
  color: #ebe8db;
  border: 2px solid #b03052;
  border-radius: 50px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(176, 48, 82, 0.4);
}

.yuelia-btn:hover {
  background-color: transparent;
  color: #ebe8db;
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(176, 48, 82, 0.5);
  text-decoration: none;
}

.yuelia-scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: #ebe8db;
  cursor: pointer;
  animation: float 2s infinite ease-in-out;
}

/* --- Philosophy Section --- */
.yuelia-philosophy {
  text-align: center;
  background-color: #ebe8db;
}

.yuelia-philosophy-content {
  max-width: 800px;
  margin: 0 auto;
}

.yuelia-philosophy-block {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
}

.yuelia-philosophy-item {
  flex: 1 1 300px;
  max-width: 350px;
  padding: 2rem;
  text-align: center;
  border-radius: 15px;
  background-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 30px rgba(61, 3, 1, 0.07);
  transition: all 0.3s ease;
}

.yuelia-philosophy-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(61, 3, 1, 0.1);
}

.yuelia-philosophy-icon {
  font-size: 3rem;
  color: #b03052;
  margin-bottom: 1.5rem;
}

/* --- Offerings Section --- */
.yuelia-offerings {
  background-color: rgba(215, 108, 130, 0.1);
  text-align: center;
}

.yuelia-offerings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.yuelia-offering-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(61, 3, 1, 0.07);
  transition: all 0.3s ease;
}

.yuelia-offering-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(61, 3, 1, 0.12);
}

.yuelia-offering-image {
  height: 300px;
  background-size: cover;
  background-position: top;
}

.yuelia-offering-content {
  padding: 1.5rem;
}

.yuelia-offering-title {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

/* --- Benefits Section --- */
.yuelia-benefits {
  text-align: center;
  background-color: #ebe8db;
}

.yuelia-benefits-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.yuelia-benefit-card {
  flex: 1 1 250px;
  max-width: 280px;
  padding: 2rem 1.5rem;
  border-radius: 10px;
  background-color: #fff;
  text-align: center;
  box-shadow: 0 10px 30px rgba(61, 3, 1, 0.07);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.yuelia-benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background-color: #b03052;
  transition: all 0.3s ease;
}

.yuelia-benefit-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 15px 40px rgba(61, 3, 1, 0.12);
}

.yuelia-benefit-card:hover::before {
  width: 100%;
  opacity: 0.1;
}

.yuelia-benefit-icon {
  font-size: 2.5rem;
  color: #b03052;
  margin-bottom: 1.2rem;
}

/* --- Testimonials Section --- */
.yuelia-testimonials {
  background-color: rgba(215, 108, 130, 0.1);
  text-align: center;
}

.yuelia-testimonials-slider {
  max-width: 900px;
  margin: 3rem auto 0;
  position: relative;
}

.yuelia-testimonial-item {
  padding: 3rem 2rem;
  margin: 0 1rem;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(61, 3, 1, 0.07);
}

.yuelia-testimonial-text {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.yuelia-testimonial-text::before,
.yuelia-testimonial-text::after {
  content: '"';
  font-size: 3rem;
  color: rgba(176, 48, 82, 0.2);
  position: absolute;
  line-height: 1;
}

.yuelia-testimonial-text::before {
  top: -1.5rem;
  left: -0.5rem;
}

.yuelia-testimonial-text::after {
  bottom: -2.5rem;
  right: -0.5rem;
}

.yuelia-testimonial-author {
  font-weight: 500;
  color: #b03052;
}

/* --- Schedule Section --- */
.yuelia-schedule {
  text-align: center;
  background-color: #ebe8db;
}

.yuelia-schedule-tabs {
  display: flex;
  justify-content: center;
  margin: 3rem 0 2rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.yuelia-schedule-tab {
  padding: 0.8rem 1.5rem;
  background-color: transparent;
  color: #3d0301;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.yuelia-schedule-tab.active {
  background-color: #b03052;
  color: #ebe8db;
}

.yuelia-schedule-content {
  display: none;
  max-width: 900px;
  margin: 0 auto;
}

.yuelia-schedule-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.yuelia-schedule-class {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem;
  margin-bottom: 1rem;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(61, 3, 1, 0.05);
  transition: all 0.3s ease;
}

.yuelia-schedule-class:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(61, 3, 1, 0.08);
}

.yuelia-class-time {
  font-weight: 600;
  color: #b03052;
  flex: 1;
  text-align: left;
}

.yuelia-class-name {
  flex: 2;
  text-align: left;
  font-weight: 500;
}

.yuelia-class-trainer {
  flex: 1;
  text-align: right;
  font-style: italic;
}

/* --- Contact Section --- */
.yuelia-contact {
  background-color: rgba(215, 108, 130, 0.1);
  text-align: center;
}

.yuelia-contact-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
}

.yuelia-contact-info {
  flex: 1 1 300px;
  text-align: left;
}

.yuelia-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.yuelia-contact-icon {
  font-size: 1.5rem;
  color: #b03052;
  margin-right: 1rem;
}

.yuelia-contact-form {
  flex: 1 1 400px;
  background-color: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(61, 3, 1, 0.07);
}

.yuelia-form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.yuelia-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.yuelia-input,
.yuelia-textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid rgba(61, 3, 1, 0.1);
  border-radius: 5px;
  background-color: #f9f9f9;
  transition: all 0.3s ease;
}

.yuelia-input:focus,
.yuelia-textarea:focus {
  outline: none;
  border-color: #b03052;
  box-shadow: 0 0 0 3px rgba(176, 48, 82, 0.1);
}

.yuelia-textarea {
  min-height: 150px;
  resize: vertical;
}

/* --- Footer --- */
.yuelia-footer {
  background-color: #3d0301;
  color: #ebe8db;
  padding: 4rem 0 2rem;
}

.yuelia-footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3rem;
}

.yuelia-footer-column {
  flex: 1 1 250px;
}

.yuelia-footer-logo {
  height: 45px;
  margin-bottom: 1.2rem;
}

.yuelia-footer h4 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid #b03052;
  display: inline-block;
}

.yuelia-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.yuelia-footer-link {
  margin-bottom: 0.8rem;
}

.yuelia-footer-link a {
  color: rgba(235, 232, 219, 0.8);
  transition: all 0.3s ease;
}

.yuelia-footer-link a:hover {
  color: #d76c82;
  padding-left: 5px;
}

.yuelia-copyright {
  text-align: center;
  padding-top: 2rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(235, 232, 219, 0.1);
  font-size: 0.9rem;
  color: rgba(235, 232, 219, 0.7);
}

/* --- Policy Pages --- */
.yuelia-policy {
  padding: 8rem 0 5rem;
}

.yuelia-policy-container {
  max-width: 900px;
  margin: 0 auto;
  background-color: #fff;
  padding: 3rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(61, 3, 1, 0.07);
}

.yuelia-policy h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.yuelia-policy h2 {
  font-size: 1.8rem;
  margin-top: 2rem;
}

.yuelia-policy p,
.yuelia-policy ul {
  margin-bottom: 1.5rem;
}

.yuelia-policy ul {
  padding-left: 1.5rem;
  list-style-position: outside;
}

/* --- Success Page --- */
.yuelia-success {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #ebe8db;
}

.yuelia-success-content {
  max-width: 600px;
  padding: 3rem;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(61, 3, 1, 0.07);
}

.yuelia-success-icon {
  font-size: 4rem;
  color: #b03052;
  margin-bottom: 1.5rem;
}

.yuelia-success h1 {
  font-size: 2.5rem;
}

/* --- Animations --- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  50% {
    transform: translateY(-10px) translateX(-50%);
  }
}

/* --- Media Queries --- */
@media (max-width: 1100px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .yuelia-hero h1 {
    font-size: 3.2rem;
  }

  .yuelia-nav-items {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: rgba(235, 232, 219, 0.98);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    box-shadow: 0 5px 15px rgba(61, 3, 1, 0.1);
    transform: translateY(-150%);
    transition: transform 0.4s ease;
    z-index: 999;
    height: 100%;
    justify-content: center;
    gap: 20px 0;
  }

  .yuelia-nav-items.active {
    transform: translateY(0);
  }

  .yuelia-nav-link {
    margin: 1rem 0;
  }

  .yuelia-hamburger {
    display: block;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  section {
    padding: 4rem 0;
  }

  .yuelia-hero {
    min-height: 500px;
  }

  .yuelia-hero h1 {
    font-size: 2.8rem;
  }

  .yuelia-philosophy-item,
  .yuelia-benefits-card {
    max-width: 100%;
  }

  .yuelia-schedule-class {
    flex-direction: column;
    text-align: center;
  }

  .yuelia-class-time,
  .yuelia-class-name,
  .yuelia-class-trainer {
    width: 100%;
    text-align: center;
    margin-bottom: 0.5rem;
  }

  .yuelia-policy-container {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .yuelia-hero h1 {
    font-size: 2.4rem;
  }

  .yuelia-hero p {
    font-size: 1rem;
  }

  .yuelia-btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }

  .yuelia-schedule-tab {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }

  .yuelia-policy h1 {
    font-size: 2rem;
  }
}

/* Media query for very small screens */
@media (max-width: 360px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  h3 {
    font-size: 1.4rem;
  }

  .yuelia-hero h1 {
    font-size: 2.2rem;
  }

  .yuelia-philosophy-item,
  .yuelia-benefit-card {
    padding: 1.5rem 1rem;
  }

  .yuelia-contact-form {
    padding: 1.5rem;
  }

  .yuelia-input,
  .yuelia-textarea {
    padding: 0.7rem;
  }
}

.yuelia-testimonial-next,
.yuelia-testimonial-prev {
  padding: 20px;
  background-color: white;
  border-radius: 100px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
}

.yuelia-testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 0 20px;
  margin-top: 20px;
}
