/* ===== CSS Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg: #fdf9f3;
  --color-text: #3a3a3a;
  --color-text-light: #6b6b6b;
  --color-accent: #d4a574;
  --color-accent-dark: #b8895e;
  --color-white: #ffffff;
  --color-border: #e8e0d6;
  --color-footer-bg: #f5efe7;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Raleway', 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --nav-height: 80px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-accent-dark);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-accent);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--color-text);
}

/* ===== Header & Navigation ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  height: var(--nav-height);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo img {
  height: 50px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  color: var(--color-text);
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.3px;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--color-accent);
  color: var(--color-white);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
  color: var(--color-text);
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: 4px;
  background: none;
  border: none;
  font-family: var(--font-body);
  letter-spacing: 0.3px;
  transition: background 0.2s, color 0.2s;
}

.dropdown-toggle:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.dropdown-toggle::after {
  content: ' ▾';
  font-size: 0.7rem;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  min-width: 220px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 8px 0;
  z-index: 200;
}

.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.85rem;
  color: var(--color-text);
  border-radius: 0;
}

.dropdown-menu a:hover {
  background: var(--color-footer-bg);
  color: var(--color-accent-dark);
}

/* Social & Contact in nav */
.nav-extras {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 8px;
}

.nav-extras a {
  color: var(--color-text-light);
  font-size: 0.85rem;
}

.nav-extras a:hover {
  color: var(--color-accent);
}

/* Mobile hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  margin: 6px 0;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== Hero Section ===== */
.hero {
  text-align: center;
  padding: 80px 24px;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 24px;
  line-height: 1.3;
}

.hero p {
  font-size: 1.05rem;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

/* ===== Image Row (homepage) ===== */
.image-row {
  display: flex;
  gap: 0;
  overflow: hidden;
  max-width: var(--max-width);
  margin: 0 auto 60px;
  padding: 0 24px;
}

.image-row img {
  flex: 1;
  min-width: 0;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 8px;
  cursor: pointer;
  transition: transform 0.3s;
}

.image-row img:hover {
  transform: scale(1.03);
}

/* ===== CTA / Doodle Section ===== */
.cta-section {
  background: var(--color-footer-bg);
  text-align: center;
  padding: 60px 24px;
  margin: 0;
}

.cta-section h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.cta-section p {
  max-width: 600px;
  margin: 0 auto 20px;
  color: var(--color-text-light);
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 30px;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: background 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.btn:hover {
  background: var(--color-accent-dark);
  color: var(--color-white);
  transform: translateY(-1px);
}

/* ===== Page Header (inner pages) ===== */
.page-header {
  text-align: center;
  padding: 60px 24px 30px;
}

.page-header h1 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.page-header p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--color-text-light);
  font-size: 1rem;
}

.page-header p + p {
  margin-top: 12px;
}

.page-header a {
  color: var(--color-accent-dark);
  text-decoration: underline;
}

/* ===== Services Page ===== */
.services-grid {
  max-width: var(--max-width);
  margin: 40px auto 60px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.service-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--color-white);
  border-radius: 12px;
  border: 1px solid var(--color-border);
}

.service-card h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: var(--color-accent-dark);
}

.service-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.testimonials {
  max-width: 800px;
  margin: 0 auto 60px;
  padding: 0 24px;
}

.testimonials h2 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 30px;
}

.testimonial {
  background: var(--color-white);
  border-left: 4px solid var(--color-accent);
  padding: 24px 28px;
  margin-bottom: 24px;
  border-radius: 0 8px 8px 0;
}

.testimonial p {
  font-style: italic;
  color: var(--color-text-light);
  margin-bottom: 8px;
}

.testimonial .author {
  font-style: normal;
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.9rem;
}

/* ===== Gallery ===== */
.gallery {
  max-width: var(--max-width);
  margin: 30px auto 60px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.4s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ===== Lightbox ===== */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  z-index: 1001;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 20px;
  z-index: 1001;
}

.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }

.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:hover {
  color: var(--color-accent);
}

/* ===== About Page ===== */
.about-content {
  max-width: 800px;
  margin: 0 auto 60px;
  padding: 0 24px;
  display: flex;
  gap: 40px;
  align-items: center;
}

.about-content img {
  width: 280px;
  border-radius: 12px;
  flex-shrink: 0;
}

.about-text p {
  color: var(--color-text-light);
  font-size: 1.05rem;
  margin-bottom: 12px;
}

/* ===== Contact Page ===== */
.contact-content {
  max-width: 700px;
  margin: 0 auto 60px;
  padding: 0 24px;
}

.contact-info {
  text-align: center;
  margin-bottom: 40px;
}

.contact-info p {
  color: var(--color-text-light);
  margin-bottom: 8px;
}

.contact-info a {
  font-weight: 600;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-light);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form .btn {
  align-self: flex-start;
}

/* ===== Doodle / Video Lessons Page ===== */
.doodle-intro {
  max-width: 800px;
  margin: 0 auto 40px;
  padding: 0 24px;
  text-align: center;
}

.doodle-intro p {
  color: var(--color-text-light);
}

.lesson-section {
  max-width: 900px;
  margin: 0 auto 50px;
  padding: 0 24px;
}

.lesson-section h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-border);
}

.lesson-section > p {
  color: var(--color-text-light);
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.lesson-section .materials {
  font-size: 0.85rem;
  color: var(--color-accent-dark);
  font-style: italic;
  margin-bottom: 20px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.video-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
}

.video-card .video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-card .video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-card .video-label {
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
}

/* ===== Pricing Highlight ===== */
.pricing-box {
  background: var(--color-white);
  border: 1px solid var(--color-accent);
  border-radius: 10px;
  padding: 24px;
  max-width: 500px;
  margin: 20px auto 30px;
  text-align: center;
}

.pricing-box p {
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.pricing-box .price {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-accent-dark);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--color-footer-bg);
  border-top: 1px solid var(--color-border);
  padding: 50px 24px 30px;
  margin-top: 40px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h3 {
  font-size: 1rem;
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
}

.footer-col a {
  display: block;
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

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

.footer-bottom {
  max-width: var(--max-width);
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.instagram-link {
  font-size: 0.95rem;
}

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .hamburger {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    gap: 4px;
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a {
    padding: 12px 16px;
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 16px;
  }

  .dropdown:hover .dropdown-menu {
    display: none;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }

  .nav-extras {
    margin-left: 0;
    justify-content: flex-start;
    padding: 8px 0;
  }

  .hero {
    padding: 50px 20px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .image-row {
    flex-wrap: wrap;
    padding: 0 16px;
  }

  .image-row img {
    flex: 0 0 calc(50% - 8px);
    margin: 4px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    padding: 0 16px;
  }

  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-content img {
    width: 200px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .lightbox-prev,
  .lightbox-next {
    font-size: 1.8rem;
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .image-row img {
    flex: 0 0 100%;
  }

  .page-header h1 {
    font-size: 1.6rem;
  }
}
