/* =========================================================
   Painting Diary 2K — Stylesheet
   Palette: warm cream, terracotta, sage, deep charcoal
   ========================================================= */

:root {
  --cream:      #FAF6F0;
  --cream-dark: #F2EBE0;
  --terra:      #C8694A;
  --terra-dark: #A8512E;
  --sage:       #7B9E82;
  --charcoal:   #2C2C2A;
  --charcoal-2: #4A4A46;
  --gold:       #C8943A;
  --white:      #FFFFFF;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --radius-sm:  6px;
  --radius-md:  14px;
  --radius-lg:  28px;

  --shadow-card: 0 2px 20px rgba(44,44,42,0.07);
  --shadow-lift: 0 8px 32px rgba(44,44,42,0.13);

  --transition: 0.25s ease;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* CONTAINER */
.container {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

/* ===================== NAV ===================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 5vw, 3rem);
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(250, 246, 240, 0.97);
  box-shadow: 0 1px 12px rgba(44,44,42,0.08);
  backdrop-filter: blur(8px);
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.01em;
}
.nav.hero-mode .nav-logo { color: var(--white); }
.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--charcoal);
  transition: color var(--transition);
}
.nav.hero-mode .nav-links a { color: rgba(255,255,255,0.85); }
.nav-links a:hover { color: var(--terra); }
.nav.hero-mode .nav-links a:hover { color: var(--white); }

/* hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--charcoal);
  transition: var(--transition);
}
.nav.hero-mode .nav-toggle span { background: var(--white); }

/* ===================== HERO ===================== */
.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg,
      rgba(44,44,42,0.72) 0%,
      rgba(200,105,74,0.40) 60%,
      rgba(123,158,130,0.35) 100%
    ),
    url('https://images.unsplash.com/photo-1579783902614-a3fb3927b6a5?w=1600&q=80&auto=format')
    center/cover no-repeat;
}
.hero-content {
  position: relative;
  text-align: center;
  color: var(--white);
  padding: 2rem clamp(1rem, 5vw, 4rem);
  max-width: 780px;
}
.hero-tagline {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.2rem;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero-title em {
  font-style: italic;
  color: #f0c4a8;
}
.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2.5rem;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 2rem;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: all var(--transition);
  cursor: pointer;
}
.btn-primary {
  background: var(--terra);
  color: var(--white);
  border: 2px solid var(--terra);
}
.btn-primary:hover {
  background: var(--terra-dark);
  border-color: var(--terra-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,105,74,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

/* hero scroll hint */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.55);
}
.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.55), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

/* ===================== SECTIONS ===================== */
.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 0.9rem;
}
.section-label--light { color: rgba(255,255,255,0.7); }
.section-header {
  text-align: center;
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}
.section-header--light { color: var(--white); }
.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0.9rem;
}
.section-header em { font-style: italic; color: var(--terra); }
.section-header p {
  font-size: 0.97rem;
  color: var(--charcoal-2);
  font-weight: 300;
}
.section-header--light p { color: rgba(255,255,255,0.75); }

/* ===================== ABOUT ===================== */
.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}
.about-text h2 em { font-style: italic; color: var(--terra); }
.about-text p {
  color: var(--charcoal-2);
  margin-bottom: 1rem;
  font-size: 0.97rem;
}
.about-text strong { color: var(--charcoal); font-weight: 600; }
.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--terra);
  color: var(--terra);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition);
}
.social-pill svg { width: 16px; height: 16px; }
.social-pill:hover {
  background: var(--terra);
  color: var(--white);
}
.about-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.stat {
  padding: 2rem;
  background: var(--cream);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--terra);
}
.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--terra);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-label {
  font-size: 0.875rem;
  color: var(--charcoal-2);
}

/* ===================== WORKSHOPS ===================== */
.workshops { background: var(--cream); }
.workshops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.workshop-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 3px solid transparent;
}
.workshop-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-top-color: var(--terra);
}
.workshop-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  line-height: 1;
}
.workshop-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--charcoal);
}
.workshop-card p {
  font-size: 0.9rem;
  color: var(--charcoal-2);
  line-height: 1.6;
}

/* ===================== WHY ===================== */
.why {
  background: var(--charcoal);
  color: var(--white);
}
.why .section-header h2 { color: var(--white); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.why-item {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background var(--transition);
}
.why-item:hover { background: rgba(255,255,255,0.09); }
.why-icon { font-size: 2rem; margin-bottom: 1rem; }
.why-item h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--white);
}
.why-item p { font-size: 0.875rem; color: rgba(255,255,255,0.65); line-height: 1.6; }

/* ===================== VENUES ===================== */
.venues { background: var(--cream-dark); }
.venues-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.venue-pill {
  padding: 0.75rem 1.6rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  border: 1.5px solid transparent;
}
.venue-pill:hover {
  border-color: var(--terra);
  color: var(--terra);
  transform: translateY(-2px);
}

/* ===================== CONTACT ===================== */
.contact { background: var(--white); }
.contact .section-header h2 em { color: var(--terra); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin-inline: auto;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.75rem;
  background: var(--cream);
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  transition: all var(--transition);
  box-shadow: var(--shadow-card);
}
.contact-card:hover {
  border-color: var(--terra);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}
.contact-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--terra);
  border-radius: 50%;
  color: var(--white);
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal-2);
  margin-bottom: 0.2rem;
}
.contact-value {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--charcoal);
}

/* ===================== FOOTER ===================== */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.6);
  padding-block: 2.5rem;
  text-align: center;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.footer-tagline { font-size: 0.82rem; }
.footer-copy { font-size: 0.78rem; margin-top: 0.2rem; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(250,246,240,0.98);
    backdrop-filter: blur(12px);
    padding: 2rem clamp(1.25rem, 5vw, 3rem);
    border-top: 1px solid var(--cream-dark);
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--charcoal) !important; font-size: 1rem; }
  .nav-toggle { display: flex; }

  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-stats { flex-direction: row; flex-wrap: wrap; }
  .stat { flex: 1; min-width: 140px; }

  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .workshops-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
