/* The soulyoga — modern single-page site with scroll-snap */
:root {
  --bg: #0f172a;
  --card: #111827;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --brand: #22d3ee;
  --brand-2: #a78bfa;
  --accent: linear-gradient(135deg, var(--brand), var(--brand-2));
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html, body { height: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 20% -20%, rgba(34,211,238,.12), transparent 60%),
              radial-gradient(1200px 600px at 120% 20%, rgba(167,139,250,.12), transparent 60%),
              var(--bg);
}

/* Utility */
.container { width: min(1100px, 92%); margin-inline: auto; }
.narrow { width: min(800px, 92%); margin-inline: auto; }
.center { text-align:center; }
.muted { color: var(--muted); }
.accent { background: var(--accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.btn {
  display:inline-flex; gap:.6rem; align-items:center; justify-content:center;
  padding:.85rem 1.2rem; border-radius: 999px; text-decoration:none; font-weight:600;
  border:1px solid rgba(255,255,255,.1); transition:.2s transform, .2s opacity, .2s background;
}
.btn.primary { background: var(--accent); color:#0b1020; border:none; }
.btn.ghost { background: transparent; color: var(--text); }
.btn.link { background: transparent; padding: 0; border: none; color: var(--brand); }
.btn.pill { background: rgba(255,255,255,.06); }
.btn:hover { transform: translateY(-1px); opacity:.95; }

/* Notice bar */
.notice { position: relative; z-index: 1; background: #0b1225; color: var(--muted); padding:.5rem .9rem; text-align:center; border:1px solid rgba(255,255,255,.08); border-radius: 12px; }

/* Header */
.site-header { position: sticky; top: 28px; z-index: 40; background: rgba(15,23,42,.6); backdrop-filter: blur(10px); border-bottom:1px solid rgba(255,255,255,.06); }
.header-inner { display:flex; align-items:center; justify-content:space-between; padding:.75rem 0; }
.brand { display:flex; gap:.6rem; align-items:center; color:var(--text); text-decoration:none; font-weight:700; letter-spacing:.2px; }
.brand i { color: var(--brand); }
.nav { display:flex; align-items:center; gap: 1rem; }
.nav a { color: var(--muted); text-decoration:none; font-weight:500; padding:.35rem .6rem; border-radius:10px; }
.nav a.active, .nav a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.theme-toggle, .hamburger { background: transparent; border: none; color: var(--text); font-size: 1.1rem; padding:.4rem .6rem; }
.hamburger { display:none; }

@media (max-width: 860px) {
  .nav { display:none; position: absolute; right: 1rem; top: 56px; flex-direction: column; background: #0b1225; padding: .6rem; border:1px solid rgba(255,255,255,.08); border-radius: 14px; box-shadow: var(--shadow); }
  .nav.open { display:flex; }
  .hamburger { display:block; }
}

/* Snap layout */
.snap-wrap { scroll-snap-type: y mandatory; height: calc(100vh - 84px); overflow-y: scroll; }
.section { scroll-snap-align: start; padding: 5rem 0; min-height: calc(100vh - 84px); display:flex; align-items:center; }
.section h2 { font-size: clamp(1.6rem, 2.5vw + 1rem, 2.2rem); margin: 0 0 .5rem; }
.section h3 { margin-top: 1rem; }
.grid-2 { display:grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items:center; }
@media (max-width: 980px) { .grid-2 { grid-template-columns: 1fr; }}

/* Hero */
.hero { position:relative; background: url('https://images.unsplash.com/photo-1518617840859-acd542e13f62?q=80&w=2400&auto=format&fit=crop') center/cover no-repeat; }
.hero .overlay { position:absolute; inset:0; background: linear-gradient(180deg, rgba(15,23,42,.55), rgba(15,23,42,.85)); }
.hero-inner { position:relative; z-index:1; text-align: center; }
.hero h1 { font-size: clamp(2rem, 3.8vw + 1rem, 3.5rem); margin:0 0 .8rem; }
.hero p { color: var(--text); opacity:.9; max-width: 800px; margin: 0 auto 1.2rem; }
.bg-credit { position:absolute; bottom: 8px; right: 12px; z-index:1; font-size:.75rem; opacity:.7; }
.bg-credit a { color: var(--muted); text-decoration:none; }

/* About */
.about .media.card, .contact .media.card { background: var(--card); border:1px solid rgba(255,255,255,.06); border-radius: 18px; overflow:hidden; box-shadow: var(--shadow); }
.about img, .contact img, .services .card img { width: 100%; height: clamp(260px, 38vw, 420px); object-fit: cover; display:block; }

.benefits { list-style: none; padding: 0; margin: .5rem 0 0; display:grid; gap:.6rem; }
.benefits li { display:flex; gap:.6rem; align-items:center; color: var(--text); }
.benefits i { color: var(--brand); }

/* Services */
.cards { display:grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1.2rem; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--card); border:1px solid rgba(255,255,255,.06); border-radius: 18px; overflow:hidden; box-shadow: var(--shadow); }
.card-body { padding: 1rem 1rem 1.2rem; }
.card h3 { margin: .4rem 0; }
.chip-row { display:flex; gap:.5rem; margin:.5rem 0 .8rem; flex-wrap:wrap; }
.chip { font-size:.75rem; padding:.25rem .6rem; border-radius:999px; background: rgba(255,255,255,.06); color: var(--muted); border:1px solid rgba(255,255,255,.08); }

/* Contact form */
.contact-form { background: rgba(255,255,255,.02); border:1px solid rgba(255,255,255,.06); border-radius: 16px; padding: 1rem; backdrop-filter: blur(6px); }
.contact-form .row { display:flex; flex-direction:column; gap:.35rem; margin-bottom:.8rem; }
.contact-form .row.two { display:grid; grid-template-columns: 1fr 1fr; gap:.8rem; }
@media (max-width: 700px) { .contact-form .row.two { grid-template-columns: 1fr; } }
.contact-form label { font-size:.9rem; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; border-radius: 12px; border:1px solid rgba(255,255,255,.12); background:#0b1225; color: var(--text);
  padding:.75rem .9rem; outline:none; transition: .2s border, .2s box-shadow;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-color: rgba(34,211,238,.7); box-shadow: 0 0 0 3px rgba(34,211,238,.18);
}
.form-status { margin-top:.6rem; min-height:1.2rem; color: var(--brand); }
.form-note { font-size:.85rem; color: var(--muted); }

/* Legal sections */
.legal p, .legal li { color: #d1d5db; line-height: 1.7; }
.legal h3 { margin-top: 1rem; }

/* Footer */
.site-footer { border-top:1px solid rgba(255,255,255,.08); padding:1rem 0; background:#0b1225; }
.footer-inner { display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.footer-inner a { color: var(--muted); }
.socials { display:flex; gap:.6rem; }
.socials a { display:inline-flex; width:36px; height:36px; align-items:center; justify-content:center; border-radius:10px; background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.06); }
.socials a:hover { background: rgba(255,255,255,.1); }

/* Light theme (toggled) */
:root.light {
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #0b1225;
  --muted: #475569;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
}
:root.light .notice, :root.light .site-header, :root.light .site-footer { background: #ffffff; }
:root.light .hero .overlay { background: linear-gradient(180deg, rgba(255,255,255,.3), rgba(255,255,255,.8)); }


/* Contact-only notice */
.notice.in-contact { margin:.6rem 0 1rem; }
:root.light .notice { background: #ffffff; }
