@import url('https://fonts.googleapis.com/css2?family=Frank+Ruhl+Libre:wght@400;700&family=Heebo:wght@300;400;500;700&display=swap');

:root {
  --purple: #7B2D8E;
  --pink: #D81B7A;
  --light-pink: #F2C4D4;
  --turquoise: #4DB8B8;
  --gold: #C8A45C;
  --bg: #FFF8F6;
  --text: #2D2D2D;
  --text-light: #6B6B6B;
  --radius: 12px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  direction: rtl;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Frank Ruhl Libre', serif;
  font-weight: 700;
  line-height: 1.3;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ─── NAV ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 246, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--light-pink);
  padding: 0 2rem;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo img { height: 50px; }

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

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover { color: var(--purple); }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--purple);
  transition: width 0.3s;
}

.nav-links a:hover::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: 0.3s;
}

/* ─── HERO ─── */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--bg) 0%, #f3e8f9 40%, #fce4ec 70%, var(--bg) 100%);
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(123,45,142,0.06) 0%, transparent 70%);
  top: -100px;
  left: -100px;
  border-radius: 50%;
}

.hero-content { position: relative; z-index: 1; }

.hero-logo { width: 220px; margin: 0 auto 2rem; }

.hero h1 {
  font-size: 3.5rem;
  color: var(--purple);
  margin-bottom: 0.5rem;
}

.hero .tagline {
  font-size: 1.4rem;
  color: var(--pink);
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.hero .intro {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  font-family: 'Heebo', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: #fff;
  box-shadow: 0 4px 15px rgba(123,45,142,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(123,45,142,0.4);
}

.btn-secondary {
  background: #fff;
  color: var(--purple);
  border: 2px solid var(--purple);
}

.btn-secondary:hover {
  background: var(--purple);
  color: #fff;
}

/* ─── SECTIONS ─── */
.section {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.2rem;
  color: var(--purple);
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--pink));
  margin: 0.8rem auto 0;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.9;
}

/* ─── ABOUT ─── */
.about-text {
  font-size: 1.1rem;
  line-height: 2;
  color: var(--text);
  max-width: 750px;
  margin: 2rem auto 0;
  text-align: center;
}

/* ─── HEALING ─── */
.healing-bg {
  background: linear-gradient(180deg, var(--bg) 0%, #f7f0fa 100%);
  padding: 5rem 2rem;
}

.healing-inner {
  max-width: 1100px;
  margin: 0 auto;
}

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

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
  border-top: 4px solid var(--purple);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(123,45,142,0.12);
}

.card:nth-child(2) { border-top-color: var(--pink); }
.card:nth-child(3) { border-top-color: var(--turquoise); }

.card h3 {
  font-size: 1.3rem;
  color: var(--purple);
  margin-bottom: 1rem;
}

.card:nth-child(2) h3 { color: var(--pink); }
.card:nth-child(3) h3 { color: var(--turquoise); }

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

.healing-cta {
  text-align: center;
  margin-top: 3rem;
}

.healing-note {
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* ─── TESTIMONIALS ─── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 2px 15px rgba(0,0,0,0.04);
  text-align: center;
  color: var(--text-light);
  border: 1px dashed var(--light-pink);
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

/* ─── CONTACT ─── */
.contact-bg {
  background: linear-gradient(135deg, #f7f0fa 0%, #fce4ec 100%);
  padding: 5rem 2rem;
}

.contact-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-info {
  margin: 2rem 0;
  font-size: 1.05rem;
  color: var(--text-light);
}

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

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #25D366;
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 500;
  font-family: 'Heebo', sans-serif;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(37,211,102,0.3);
  border: none;
  cursor: pointer;
}

.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}

.whatsapp-btn svg { width: 24px; height: 24px; fill: #fff; }

.contact-note {
  margin-top: 1.5rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--text);
  color: #fff;
  text-align: center;
  padding: 2.5rem 2rem;
}

.footer-logo { height: 40px; margin: 0 auto 1rem; filter: brightness(10); }
.footer-tagline { font-size: 0.95rem; opacity: 0.8; margin-bottom: 1rem; }
.footer-credit { font-size: 0.8rem; opacity: 0.5; }

/* ─── GALLERY PAGE ─── */
.gallery-header {
  text-align: center;
  padding: 3rem 2rem 2rem;
}

.gallery-header h1 {
  font-size: 2.5rem;
  color: var(--purple);
}

.gallery-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem 4rem;
  column-count: 3;
  column-gap: 16px;
}

.gallery-item {
  display: inline-block;
  width: 100%;
  margin: 0 0 16px;
  break-inside: avoid;
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  background: #fff;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-item .painting-title {
  padding: 0.8rem 1rem;
  text-align: center;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
}

/* ─── LIGHTBOX ─── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem;
}

.lightbox.active { display: flex; }

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  width: 44px;
  height: 44px;
}

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

.lightbox-title {
  color: #fff;
  font-size: 1.2rem;
  margin-top: 1rem;
  font-family: 'Frank Ruhl Libre', serif;
}

/* ─── ACCESSIBILITY WIDGET ─── */
.a11y-widget {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

.a11y-toggle {
  background: var(--purple);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.a11y-panel {
  display: none;
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  gap: 0.5rem;
  flex-direction: column;
}

.a11y-panel.open { display: flex; }

.a11y-panel button {
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-family: 'Heebo', sans-serif;
  font-size: 0.85rem;
  transition: background 0.2s;
}

.a11y-panel button:hover { background: #eee; }

body.high-contrast { background: #fff; color: #000; }
body.high-contrast .card, body.high-contrast .testimonial-card { border: 2px solid #000; }
body.large-text { font-size: 120%; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .cards, .testimonials-grid { grid-template-columns: 1fr; }
  .gallery-grid { column-count: 2; }
  .hero h1 { font-size: 2.5rem; }
}

@media (max-width: 650px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    background: rgba(255,248,246,0.98);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--light-pink);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .gallery-grid { column-count: 1; }
  .hero h1 { font-size: 2rem; }
  .hero .tagline { font-size: 1.1rem; }
  .hero-logo { width: 160px; }
  .section { padding: 3rem 1.5rem; }
}