/* Dolce Music Academy - Elegant Minimalist Design */
:root {
  --cream: #f9f5e9;
  --cream-dark: #f0ebe0;
  --cream-deep: #e8e2d4;
  --ink: #1a1714;
  --ink-soft: #3d3832;
  --ink-muted: #6b635a;
  --gold: #c9a96e;
  --gold-soft: #d4bc8a;
  --gold-deep: #b8954f;
  --gold-light: #e8d9b5;
  --line: rgba(80, 70, 55, 0.18);
  --line-soft: rgba(80, 70, 55, 0.10);
  --shadow: 0 4px 24px rgba(40, 30, 15, 0.08);
  --radius: 999px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-display: "Cinzel", "Cormorant Garamond", Georgia, serif;
  --font-sans: "Times New Roman", Times, Georgia, serif;
  --navy: #010a18;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(249, 245, 233, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(180, 160, 120, 0.15);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(40, 30, 15, 0.06);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.9rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.logo-img {
  height: 64px;
  width: auto;
  max-width: 340px;
  object-fit: contain;
  display: block;
}

.logo-img-footer {
  height: 52px;
  max-width: 280px;
  filter: none;
}

.logo-mark {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-transform: uppercase;
}

.logo-slogan {
  font-family: var(--font-serif);
  font-size: 0.72rem;
  font-style: italic;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
  margin-top: 0.1rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav a {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  transition: color var(--transition);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav a:hover,
.nav a.active {
  color: var(--ink);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--ink);
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7rem 2rem 5rem;
  overflow: hidden;
  background: var(--cream);
}

.hero-waves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-waves svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6.5vw, 4.4rem);
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 2.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-gold {
  background: linear-gradient(145deg, var(--gold-soft), var(--gold));
  color: var(--ink);
  box-shadow: 0 4px 16px rgba(180, 140, 60, 0.25);
}

.btn-gold:hover {
  background: linear-gradient(145deg, var(--gold), var(--gold-deep));
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(180, 140, 60, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold-light);
  border-color: var(--gold-deep);
}

/* ========== SECTIONS COMMON ========== */
.section {
  padding: 6rem 2rem;
  position: relative;
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.85rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.section-lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 640px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header .section-lead {
  margin: 0 auto;
}

/* ========== ABOUT ========== */
.about {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 12px;
  overflow: hidden;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

.about-visual-inner,
.about-visual-crest {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: var(--navy);
}

.about-crest-img {
  width: auto;
  height: auto;
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto;
}

.about-visual-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  opacity: 0.85;
}

.about-visual-quote {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 280px;
}

.about-content .section-title {
  margin-bottom: 1.5rem;
}

.about-text {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.about-text strong {
  color: var(--ink);
  font-weight: 550;
}

.values-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.value-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.value-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-deep);
}

.value-item h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.value-item p {
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* ========== PROGRAMS ========== */
.programs {
  background: linear-gradient(180deg, var(--cream-dark) 0%, var(--cream) 100%);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.program-card {
  background: #fffef9;
  border: 1px solid rgba(180, 160, 120, 0.18);
  border-radius: 16px;
  padding: 2.25rem 1.85rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold));
  opacity: 0;
  transition: opacity var(--transition);
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(201, 169, 110, 0.35);
}

.program-card:hover::before {
  opacity: 1;
}

.program-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1.4rem;
  color: var(--gold-deep);
  object-fit: contain;
  display: block;
}

.program-icon-img {
  width: 72px;
  height: 72px;
  margin-bottom: 1.4rem;
  object-fit: contain;
  display: block;
}

.program-card h3 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.program-card p {
  font-size: 0.98rem;
  color: var(--ink-muted);
  line-height: 1.65;
  margin-bottom: 1.4rem;
}

.program-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: auto;
}

.meta-tag {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  background: var(--cream-deep);
  color: var(--ink-soft);
  border-radius: 999px;
}

/* ========== INSTRUCTOR ========== */
.teachers {
  background: var(--cream);
}

.instructor-block {
  margin-top: 1rem;
}

.instructor-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2.75rem;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.instructor-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--navy) 0%, #0a1a30 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--gold);
  flex-shrink: 0;
  overflow: hidden;
}

.instructor-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.instructor-initials {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gold-soft);
}

.instructor-content h3 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.teacher-role {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.instructor-role-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.instructor-role-stack .role-line {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
}

.instructor-role-stack .role-subjects {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

.teachers .section-header {
  text-align: center;
}

.instructor-bio {
  margin-top: 0.25rem;
}

.instructor-bio p {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.instructor-bio p:last-child {
  margin-bottom: 0;
}

.instructor-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.instructor-highlights span {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.4rem 0.9rem;
  background: var(--cream-deep);
  color: var(--ink-soft);
  border-radius: 999px;
  border: 1px solid rgba(201, 169, 110, 0.25);
}

/* ========== WHY / VALUES BANNER ========== */
.why {
  background: linear-gradient(135deg, #2a241c 0%, #3d342a 100%);
  color: #f5f0e6;
  padding: 5.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.why-waves {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  pointer-events: none;
}

.why .section-inner {
  position: relative;
  z-index: 2;
}

.why .section-label,
.why-label {
  font-family: var(--font-display);
  color: var(--gold-soft);
  letter-spacing: 0.2em;
}

.why .section-title,
.why-title {
  font-family: var(--font-serif);
  color: #f9f5e9;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.why-item {
  text-align: center;
}

.why-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.why-item h4 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: #f9f5e9;
}

.why-item p {
  font-size: 0.95rem;
  color: rgba(245, 240, 230, 0.75);
  line-height: 1.6;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  background: var(--cream-dark);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.testimonial-card {
  background: #fffef9;
  border: 1px solid rgba(180, 160, 120, 0.15);
  border-radius: 14px;
  padding: 2rem;
  position: relative;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 1.4rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--gold-deep);
  font-size: 1.1rem;
}

.author-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
}

.author-info span {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

/* ========== CONTACT ========== */
.contact {
  background: var(--cream);
}

.contact-dark {
  background: var(--navy);
  color: #f5f0e6;
}

.contact-dark .section-label {
  color: var(--gold-soft);
}

.contact-dark .section-title {
  color: #f9f5e9;
}

.contact-dark .section-lead {
  color: rgba(245, 240, 230, 0.75);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.contact-grid-single {
  grid-template-columns: 1fr;
  max-width: 640px;
  margin: 0 auto;
}

.contact-info h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--ink);
}

.contact-info p {
  color: var(--ink-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-item svg {
  width: 22px;
  height: 22px;
  color: var(--gold-deep);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.contact-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 0.15rem;
}

.contact-item span,
.contact-item a {
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.contact-item a:hover {
  color: var(--gold-deep);
}

.contact-form {
  background: #fffef9;
  border: 1px solid rgba(180, 160, 120, 0.18);
  border-radius: 16px;
  padding: 2.25rem;
  box-shadow: var(--shadow);
}

.contact-form-light {
  background: #f9f5e9;
  border: 1px solid rgba(201, 169, 110, 0.28);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.contact-form-light .form-group label {
  color: var(--ink-soft);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  margin-bottom: 1.1rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.45rem;
}

.contact .section-label {
  font-family: var(--font-display);
  letter-spacing: 0.18em;
}

.contact .section-title {
  font-family: var(--font-serif);
  font-weight: 600;
}

.contact .section-lead {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ink-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: "Times New Roman", Times, serif;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(180, 160, 120, 0.3);
  border-radius: 8px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.contact-form-light .form-group input,
.contact-form-light .form-group select,
.contact-form-light .form-group textarea {
  background: #fff;
  border-color: rgba(26, 36, 56, 0.15);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--cream-dark);
  color: var(--ink-soft);
  padding: 4rem 2rem 2rem;
  border-top: 1px solid var(--line-soft);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-soft);
}

.footer-brand .logo-name {
  color: var(--ink);
  font-size: 1.2rem;
}

.footer-brand .logo-slogan {
  color: var(--ink-muted);
}

.footer-brand p {
  margin-top: 1.2rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink-muted);
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1.2rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a,
.footer-col li {
  font-size: 0.92rem;
  color: var(--ink-muted);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--gold-deep);
}

.footer-top {
  border-bottom-color: var(--line-soft);
}

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--ink);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 980px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-visual {
    aspect-ratio: 4/5;
    max-height: 420px;
    max-width: 360px;
    margin: 0 auto;
  }

  .programs-grid,
  .why-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .instructor-card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .instructor-bio p {
    text-align: left;
  }

  .instructor-highlights {
    justify-content: center;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0.85rem 1.25rem;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(249, 245, 233, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    border-bottom: 1px solid rgba(180, 160, 120, 0.2);
    box-shadow: 0 12px 30px rgba(40, 30, 15, 0.1);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.9rem 0.5rem;
    width: 100%;
    border-bottom: 1px solid rgba(180, 160, 120, 0.12);
  }

  .nav a::after {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding: 6.5rem 1.5rem 4rem;
  }

  .section {
    padding: 4.5rem 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .logo-text {
    display: none;
  }

  .hero-title {
    font-size: 2.3rem;
  }
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

