/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cream:       #faf7f2;
  --ivory:       #f3ede3;
  --gold:        #c9a84c;
  --gold-light:  #e8c97a;
  --brown:       #3b2a1a;
  --brown-mid:   #6b4c30;
  --brown-light: #a07850;
  --white:       #ffffff;
  --shadow:      rgba(59, 42, 26, 0.12);

  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Lato', 'Helvetica Neue', sans-serif;

  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--cream);
  color: var(--brown);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold-light);
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--brown);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.3rem; }

p { max-width: 65ch; }

/* ===== UTILITY ===== */
.section-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border: none;
  margin: 1.5rem 0;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border-radius: 3px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border: 2px solid var(--gold);
}

.btn-primary:hover {
  background: transparent;
  color: var(--gold);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--brown);
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 5%;
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  transition: box-shadow var(--transition);
}

nav.scrolled {
  box-shadow: 0 4px 20px var(--shadow);
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brown);
  letter-spacing: 0.02em;
}

.nav-logo span {
  color: var(--gold);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown-mid);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}

.nav-links a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ===== HERO ===== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(59, 42, 26, 0.82) 0%, rgba(107, 76, 48, 0.65) 100%),
    url('https://images.unsplash.com/photo-1520523839897-bd0b52f945a0?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  padding: 8rem 5% 5rem;
  position: relative;
  overflow: hidden;
}

#hero::after {
  content: '𝄞';
  position: absolute;
  right: 6%;
  bottom: 8%;
  font-size: 18rem;
  color: rgba(201, 168, 76, 0.08);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.hero-content {
  max-width: 700px;
  color: var(--white);
}

.hero-content .section-label {
  color: var(--gold-light);
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero-content h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2.5rem;
  max-width: 50ch;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== SECTIONS SHARED ===== */
section {
  padding: 6rem 5%;
}

/* ===== ABOUT ===== */
#about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap::before {
  content: '';
  position: absolute;
  inset: -16px 16px 16px -16px;
  border: 3px solid var(--gold);
  border-radius: 4px;
  z-index: 0;
}

.about-image-wrap img {
  position: relative;
  z-index: 1;
  border-radius: 4px;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}

.about-text h2 {
  margin-bottom: 0.5rem;
}

.about-text p {
  color: var(--brown-mid);
  margin-bottom: 1rem;
}

.credentials {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.credential-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.credential-icon {
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.credential-item span {
  font-size: 0.9rem;
  color: var(--brown-mid);
}

.credential-item strong {
  color: var(--brown);
}

/* ===== LESSONS ===== */
#lessons {
  background: var(--ivory);
}

.lessons-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.lessons-header .divider {
  margin: 1.5rem auto;
}

.lessons-header p {
  color: var(--brown-mid);
  margin: 0 auto;
}

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

.lesson-card {
  background: var(--white);
  border-radius: 6px;
  padding: 2.25rem 2rem;
  border-top: 4px solid var(--gold);
  box-shadow: 0 4px 24px var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.lesson-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px var(--shadow);
}

.lesson-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.lesson-card h3 {
  margin-bottom: 0.5rem;
  color: var(--brown);
}

.lesson-card p {
  font-size: 0.9rem;
  color: var(--brown-mid);
}

.lesson-meta {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ivory);
  font-size: 0.8rem;
  color: var(--brown-light);
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ===== TESTIMONIALS ===== */
#testimonials {
  background:
    linear-gradient(160deg, rgba(59, 42, 26, 0.9) 0%, rgba(107, 76, 48, 0.85) 100%),
    url('https://images.unsplash.com/photo-1507838153414-b4b713384a76?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat fixed;
  color: var(--white);
}

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

.testimonials-header h2 {
  color: var(--white);
}

.testimonials-header .divider {
  margin: 1.5rem auto;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

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

.testimonial-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 6px;
  padding: 2rem;
  transition: background var(--transition);
}

.testimonial-card:hover {
  background: rgba(255,255,255,0.13);
}

.stars {
  color: var(--gold-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.25rem;
}

.testimonial-author {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* ===== CONTACT ===== */
#contact {
  background: var(--white);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info h2 {
  margin-bottom: 0.5rem;
}

.contact-info p {
  color: var(--brown-mid);
  margin-bottom: 2rem;
}

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

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.9rem;
  color: var(--brown-mid);
}

.contact-detail .icon {
  font-size: 1.1rem;
  width: 36px;
  height: 36px;
  background: var(--ivory);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

input, textarea, select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid rgba(59,42,26,0.15);
  border-radius: 4px;
  background: var(--cream);
  color: var(--brown);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: border-color var(--transition);
  outline: none;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--gold);
}

textarea {
  resize: vertical;
  min-height: 130px;
}

/* ===== FOOTER ===== */
footer {
  background: var(--brown);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 2.5rem 5%;
  font-size: 0.85rem;
}

footer .footer-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

footer .footer-logo span {
  color: var(--gold);
}

footer p {
  max-width: 100%;
  margin: 0 auto;
}

footer a {
  color: var(--gold-light);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }

  .about-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image-wrap::before { display: none; }

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

  #hero::after { display: none; }
}
