* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #fffafc;
  color: #27212a;
  font-family: 'Comic Sans MS', cursive, sans-serif;
  line-height: 1.6;
}

.navbar {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  display: flex;
  justify-content: space-between;
  padding: 20px 8%;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  font-size: 20px;
  font-weight: 700;
}

nav {
  display: flex;
  gap: 23px;
}
nav a {
  color: #27212a;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

nav a:hover {
  color: #b63f70;
}

.hero {
  align-items: center;
  background: linear-gradient(rgba(35, 20, 30, 0.58), rgba(35, 20, 30, 0.58)),
    url('./IMG_3128.jpeg') center/cover;
  color: white;
  display: flex;
  min-height: 82vh;
  padding: 80px 8%;
}

.hero-content {
  max-width: 680px;
}

.small-title,
.section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.hero h1 {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(45px, 7vw, 78px);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 20px;
}

.hero .small-title {
  font-size: 12px;
}

.hero .button {
  font-size: 16px;
}
.hero p {
  font-size: 17px;
  max-width: 600px;
  margin-bottom: 20px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  border-radius: 999px;
  display: inline-block;
  font-weight: 700;
  padding: 13px 24px;
  text-decoration: none;
}

.primary-button {
  background: #b63f70;
  color: white;
}

.primary-button:hover {
  background: #922d58;
}

.secondary-button {
  border: 2px solid white;
  color: white;
}

.section {
  padding: 90px 8%;
  text-align: center;
}

.section-label {
  color: #b63f70;
}

.section h2,
.contact-section h2 {
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.1;
  margin-bottom: 20px;
}

.section-description {
  margin: 0 auto;
  max-width: 760px;
}

.classes-section {
  background: #f6e9ee;
}

.class-grid,
.gallery-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 45px;
}

.class-card {
  background: white;
  border-radius: 20px;
  padding: 34px 26px;
  text-align: left;
}

.class-card h3 {
  font-size: 25px;
  margin-bottom: 12px;
}

.class-card span {
  color: #b63f70;
  display: block;
  font-weight: 700;
  margin-top: 18px;
}

.photo-placeholder {
  align-items: center;
  background: #ead5dd;
  border-radius: 20px;
  display: flex;
  font-weight: 700;
  justify-content: center;
  min-height: 280px;
}

.contact-section {
  align-items: center;
  background: #27212a;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 35px;
  justify-content: space-between;
  padding: 70px 8%;
  text-align: center;
}

footer {
  background: #171218;
  color: white;
  padding: 25px;
  text-align: center;
}

@media (max-width: 800px) {
  .navbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  nav {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .hero {
    min-height: 70vh;
  }

  .class-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .contact-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

.about-section {
  background-color: #fff8f0;
}

.bottom-photo-section {
  background-color: #fffafc;
  background-image: url('./dance-logo.png');
  background-position: center 50%;
  background-repeat: no-repeat;
  background-size: contain;
  width: 100%;
  height: 250px;
}

.gallery-image {
  width: 100%;
  height: 300px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 20px;
}

.gallery-one {
  background-image: url('./gallery1new.png');
}

.gallery-two {
  background-image: url('./gallery2.png');
}

.gallery-three {
  background-image: url('./gallery3.png');
}
.gallery-four {
  background-image: url('./gallery4new.png');
}
.gallery-five {
  background-image: url('./gallery5new.png');
}
.spanish-about {
  margin-top: 55px;
}

.spanish-about h2 {
  color: #8a6548;
}

.spanish-text {
  color: #8a6548;
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  font-weight: 500;
}
/* ENGLISH ABOUT SECTION */
.about-section > h2 {
  color: #27212a;
  font-family: 'Comic Sans MS', cursive;
}

.about-section > .section-description {
  color: #27212a;
}

/* SPANISH ABOUT SECTION */
.spanish-about {
  margin-top: 70px;
}

.spanish-about h2 {
  color: #8a6548;
  font-family: 'Cormorant Garamond', serif;
  font-size: 45px;
  font-weight: 600;
}

.spanish-about .spanish-text {
  color: #8a6548;
  font-family: 'Cormorant Garamond', serif;
  font-size: 23px;
  font-weight: 500;
  margin-top: 20px;
}
.spanish-about {
  margin-top: 70px;
}
/* ENGLISH ABOUT TITLE */
.about-section > h2 {
  color: #27212a;
  font-family: 'Cormorant Garamond', serif;
  font-size: 45px;
  font-weight: 600;
}

/* ENGLISH ABOUT PARAGRAPH */
.about-section > .section-description {
  color: #27212a;
  font-family: 'Cormorant Garamond', serif;
  font-size: 23px;
  font-weight: 500;
}
.gallery-image {
  width: 100%;
  height: 300px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 20px;
}

.gallery-six {
  background-image: url('./gallery6new.png');
}

.gallery-seven {
  background-image: url('./gallery7new.png');
}

.gallery-eight {
  background-image: url('./gallery8new.png');
}

.gallery-nine {
  background-image: url('./gallery9new-compressed.jpg');
}

.gallery-video {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 20px;
  background: #000;
}
.hero * {
  font-family: 'Dancing Script', cursive;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 20px;
}

.hero p {
  font-size: 16px;
  max-width: 600px;
  margin-bottom: 20px;
}

.hero .small-title {
  font-size: 11px;
}

.hero .button {
  font-size: 15px;
}
/* Classes / Schedule layout */
.classes-section .class-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 1100px;
  margin: 45px auto 0;
}

.classes-section .class-card {
  width: 100%;
  min-height: 230px;
  padding: 45px 60px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;

  border-radius: 24px;
}

.classes-section .class-card p {
  font-size: 24px;
  line-height: 1.6;
}

.classes-section .class-card span {
  font-size: 22px;
  margin-top: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.logo span {
  font-weight: 700;
}
.header-logo-image {
  width: 45px;
  height: 45px;
  background-image: url('./ICD-logo.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}
.experience-badge {
  display: inline-block;
  align-self: center;
  margin-top: 14px;
  padding: 7px 16px;

  background-color: #d9f3ee;
  color: #287f73;

  font-size: 14px;
  font-weight: 600;

  border-radius: 20px;
}
.phone-link {
  color: white;
  font-weight: 700;
  text-decoration: underline;
}
/* Contact - English & Spanish */

.contact-section {
  text-align: center;
}

/* English section */
.contact-english {
  width: 100%;
}

.contact-english h2 {
  color: white;
}

.contact-english p {
  color: white;
}

/* Spanish section */
.contact-spanish {
  width: 100%;
  margin-top: 35px;
}

.contact-spanish .spanish-label {
  color: #c99b76;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.contact-spanish h2 {
  color: #d8b08c;
  font-family: 'Dancing Script', cursive;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 600;
  margin-bottom: 20px;
}

.contact-spanish p {
  color: #ead3bd;
  font-family: 'Dancing Script', cursive;
  font-size: 22px;
}

.contact-spanish .spanish-phone {
  color: #ead3bd;
}
/* Fullscreen Gallery */

.gallery-image,
.gallery-video {
  cursor: pointer;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: none;
  align-items: center;
  justify-content: center;

  background: rgba(0, 0, 0, 0.96);
}

.lightbox.active {
  display: flex;
}

.lightbox-media-container {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 90vw;
  height: 88vh;
}

.lightbox-image,
.lightbox-video {
  display: none;

  max-width: 90vw;
  max-height: 85vh;

  width: auto;
  height: auto;

  object-fit: contain;
}

.lightbox-image.active-media,
.lightbox-video.active-media {
  display: block;
}

.lightbox-video {
  background: black;
}

/* Close button */

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  z-index: 3;

  border: none;
  background: transparent;

  color: rgba(255, 255, 255, 0.7);
  font-size: 42px;
  font-weight: 300;

  cursor: pointer;
}

.lightbox-close:hover {
  color: white;
}

/* Left + right arrows */

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;

  border: none;
  background: rgba(0, 0, 0, 0.15);

  color: rgba(255, 255, 255, 0.6);
  font-size: 38px;

  padding: 18px;

  cursor: pointer;
  transition: 0.2s ease;
}

.lightbox-arrow:hover {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* 1 / 12 counter */

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);

  color: rgba(255, 255, 255, 0.75);

  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
}

/* Phones */

@media (max-width: 800px) {
  .lightbox-media-container {
    width: 94vw;
    height: 82vh;
  }

  .lightbox-image,
  .lightbox-video {
    max-width: 94vw;
    max-height: 80vh;
  }

  .lightbox-prev {
    left: 4px;
  }

  .lightbox-next {
    right: 4px;
  }

  .lightbox-arrow {
    font-size: 28px;
    padding: 12px 8px;
  }

  .lightbox-close {
    top: 10px;
    right: 16px;
  }
}
/* Gallery English Styling */

.gallery-english .section-label {
  color: #c83f76;
}

.gallery-english h2 {
  color: #27212a;
}

.gallery-english .section-description {
  color: #27212a;
}

/* Gallery Spanish Styling */

.gallery-spanish {
  margin-top: 55px;
  text-align: center;
}

.gallery-spanish .spanish-label {
  color: #b88663;
  font-family: 'Dancing Script', cursive;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.gallery-spanish h2 {
  color: #8a6548 !important;
  font-family: 'Dancing Script', cursive !important;
  font-size: clamp(44px, 6vw, 60px);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 20px;
}

.gallery-spanish .section-description {
  color: #8a6548 !important;
  font-family: 'Dancing Script', cursive !important;
  font-size: 23px;
  font-weight: 500;
}
.hero h1 .spanish-name {
  display: block;
  font-size: 0.55em;
  margin-top: 10px;
  line-height: 1.1;
  white-space: nowrap;
}
/* Spanish About Section - Cursive */

.spanish-about h2 {
  font-family: 'Dancing Script', cursive !important;
}

.spanish-about .spanish-text {
  font-family: 'Dancing Script', cursive !important;
}
/* Spanish Schedule - Cursive */
/* Spanish About spacing */

.spanish-about {
  margin-top: 70px;
  text-align: center;
}

.spanish-about-label {
  color: #c83f76;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;

  margin-bottom: 28px;
}

.spanish-about h2 {
  margin-top: 0;
}
.spanish-about h2 {
  font-weight: 800 !important;
}
/* Spanish schedule ONLY */
.class-card.spanish-schedule,
.class-card.spanish-schedule p,
.class-card.spanish-schedule span,
.class-card.spanish-schedule .experience-badge {
  font-family: 'Dancing Script', cursive !important;
}
.class-card.spanish-schedule p {
  font-size: 28px;
}

.class-card.spanish-schedule span {
  font-size: 26px;
}

.class-card.spanish-schedule .experience-badge {
  font-size: 18px;
}
.spanish-heading {
  font-family: 'Dancing Script', cursive !important;
}
.spanish-heading {
  font-family: 'Dancing Script', cursive !important;
  font-weight: 700 !important;
}
.spanish-heading {
  font-family: 'Dancing Script', cursive !important;
  font-weight: 700 !important;
  -webkit-text-stroke: 0.4px currentColor;
}
.spanish-schedule p {
  font-weight: 700 !important;
  -webkit-text-stroke: 0.4px currentColor;
}
/* Prevent sticky navbar from covering sections when using navigation links */
#home {
  scroll-margin-top: 100px;
}
#about,
#classes,
#gallery,
#contact {
  scroll-margin-top: 120px;
}
/* Navigation scroll positioning */
#about,
#classes,
#gallery,
#contact {
  scroll-margin-top: 120px;
}

#home {
  scroll-margin-top: 100px;
}
.gallery-english h2,
.gallery-spanish h2 {
  font-size: 36px !important;
  line-height: 1.15 !important;
}

/* English stays clean and bold */
.classes-section h2,
.gallery-english h2 {
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 700 !important;
}

/* Spanish stays cursive */
.classes-section h2 .spanish-heading,
.gallery-spanish h2 {
  font-family: 'Dancing Script', cursive !important;
  font-weight: 700 !important;
}
@media (max-width: 800px) {
  /* Put Spanish Classes heading on its own line */
  .classes-section h2 .spanish-heading {
    display: block !important;
    margin-top: 5px;
  }

  /* Hide the slash between Schedules / Horarios */
  .classes-section h2 {
    line-height: 1.05 !important;
  }
}
/* ===== CONSISTENT BILINGUAL SECTION TITLES ===== */

.bilingual-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.english-heading {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 48px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
}

.bilingual-title .spanish-heading {
  font-family: 'Dancing Script', cursive !important;
  font-size: 48px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  color: #8a6548;
}

/* CLASSES / Clases small label */
.classes-section .section-label {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 8px;
}

.classes-section .section-label > span:first-child {
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 700 !important;
}

.classes-section .section-label .spanish-heading {
  font-family: 'Dancing Script', cursive !important;
  font-weight: 700 !important;
}

/* PHONE */
@media (max-width: 800px) {
  .english-heading,
  .bilingual-title .spanish-heading {
    font-size: 36px !important;
  }

  .bilingual-title {
    gap: 2px;
  }
}
/* ===== CENTER HEADER ===== */

.navbar {
  display: flex;
  flex-direction: column;
  align-items: center !important;
  justify-content: center !important;
  text-align: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

nav {
  display: flex;
  justify-content: center !important;
  align-items: center;
  width: 100%;
  gap: 24px;
  margin-top: 15px;
}

nav a {
  text-align: center;
}

/* ===== PHONE HEADER ===== */

@media (max-width: 800px) {
  .navbar {
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
    padding: 20px 15px !important;
  }

  .logo {
    justify-content: center !important;
    width: 100%;
  }

  nav {
    justify-content: center !important;
    align-items: center !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    width: 100%;
    gap: 12px 22px;
    margin-top: 16px;
  }
}
/* ===== GALLERY BILINGUAL STYLE ===== */

.gallery-label {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 8px;
}

.gallery-label > span:first-child {
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 700 !important;
}

.gallery-label .spanish-heading {
  font-family: 'Dancing Script', cursive !important;
  font-weight: 700 !important;
  color: #8a6548;
}

.gallery-descriptions {
  margin-top: 20px;
  text-align: center;
}

.gallery-descriptions .english-description {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 18px;
  font-weight: 400;
  color: #27212a;
}

.gallery-descriptions .spanish-description {
  font-family: 'Dancing Script', cursive !important;
  font-size: 18px;
  font-weight: 600;
  color: #8a6548;
  margin-top: 12px;
}
