/* =============================================
   NEVA Creative Arts Co. — Main Stylesheet
   Color palette & base styles
   ============================================= */

:root {
  --color-primary:    #7B2D8B;   /* deep purple */
  --color-secondary:  #E85D9A;   /* hot pink */
  --color-accent:     #F4A836;   /* warm gold/amber */
  --color-bg:         #FDFAF8;   /* off-white */
  --color-surface:    #FFFFFF;
  --color-text:       #1A1A2E;
  --color-text-muted: #6B6B8A;
  --color-border:     #E2D9F3;
  --color-success:    #2E7D55;
  --color-error:      #C0392B;

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

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --shadow-sm:  0 1px 4px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.12);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.16);

  --max-width: 1200px;
  --section-pad: 80px 24px;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main { flex: 1; width: 100%; padding-top: 68px; }

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

a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--color-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { max-width: 70ch; }

/* ── Layout helpers ─────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-pad);
}

.section--alt {
  background: #F3EDF8;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* ── Typography utilities ───────────────────── */
.eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-secondary);
}

.lead {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 60ch;
}

/* ── Page hero ──────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, #9B3DAE 100%);
  color: #fff;
  padding: 72px 24px 56px;
  text-align: center;
}

.page-hero h1 { color: #fff; }
.page-hero .lead { color: rgba(255,255,255,.85); margin: 16px auto 0; }

/* ── Footer ─────────────────────────────────── */
.site-footer {
  background: var(--color-primary);
  color: rgba(255,255,255,.85);
  padding: 48px 24px 28px;
}

.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: #fff; text-decoration: none; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 36px;
  max-width: var(--max-width);
  margin: 0 auto 36px;
}

.footer-col h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; }
.footer-col ul li + li { margin-top: 8px; }
.footer-col p { font-size: .9rem; max-width: none; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.2);
  padding-top: 20px;
  text-align: center;
  font-size: .8rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.social-links {
  display: flex;
  gap: 14px;
  margin-top: 14px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  font-size: 1rem;
  transition: background .2s;
}

.social-links a:hover { background: var(--color-secondary); }

/* ── Alert / notice ─────────────────────────── */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  margin-bottom: 16px;
}

.alert--success { background: #D4EDDA; color: #155724; border: 1px solid #C3E6CB; }
.alert--error   { background: #F8D7DA; color: #721C24; border: 1px solid #F5C6CB; }
.alert--info    { background: #E8DEF8; color: #4A1070; border: 1px solid #C8B6E8; }

.hidden { display: none !important; }
