/* ════════════════════════════════════════════════
   AYBL – Ashtanga Yoga Belluno
   Shared stylesheet
   ════════════════════════════════════════════════ */

/* ── ROOT ─────────────────────────────────────── */
:root {
  --green:   #2B3D35;
  --green-l: #3d5549;
  --sand:    #FAF8F3;
  --sand-d:  #F0EBE3;
  --terra:   #C4895A;
  --terra-l: #d9a278;
  --brown:   #6B5C4E;
  --cream:   #E8DED0;
  --white:   #FFFFFF;
  --gold:    #B8976A;
  --font-h:  'Cormorant Garamond', Georgia, serif;
  --font-b:  'Jost', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--sand);
  color: var(--green);
  font-family: var(--font-b);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }

/* ── UTILITY ──────────────────────────────────── */
.container   { max-width: 1140px; margin: 0 auto; padding: 0 2rem; }
.text-center { text-align: center; }

.section-label {
  font-family: var(--font-b);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--terra);
  display: block;
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-h);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.section-title-light { color: var(--white); }
.section-label-light { color: var(--terra-l); }

.divider {
  width: 48px; height: 1px;
  background: var(--terra);
  margin: 1.25rem 0 2rem;
}
.divider-light { background: var(--terra-l); }

/* ── BUTTONS ──────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  font-family: var(--font-b);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1.5px solid var(--green);
  color: var(--green);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  cursor: pointer;
  background: transparent;
  text-align: center;
}
.btn:hover          { background: var(--green); color: var(--sand); }
.btn-fill           { background: var(--terra); border-color: var(--terra); color: var(--white); }
.btn-fill:hover     { background: var(--green); border-color: var(--green); color: var(--white); }
.btn-light          { border-color: var(--white); color: var(--white); background: transparent; }
.btn-light:hover    { background: var(--white); color: var(--green); }
.btn-outline-terra  { border-color: var(--terra); color: var(--terra); }
.btn-outline-terra:hover { background: var(--terra); color: var(--white); }

/* ── FADE IN ──────────────────────────────────── */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible  { opacity: 1; transform: none; }

/* ── TOP BAR ─────────────────────────────────── */
.topbar {
  background: var(--green);
  color: rgba(255,255,255,0.7);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 0.5rem 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.topbar a { color: inherit; transition: color 0.2s; }
.topbar a:hover { color: var(--terra-l); }
.topbar-social { display: flex; gap: 1rem; align-items: center; }
.topbar-social svg { width: 15px; height: 15px; fill: currentColor; vertical-align: middle; }

/* ── NAV ─────────────────────────────────────── */
nav.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,248,243,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cream);
  transition: box-shadow 0.3s;
}
nav.site-nav.scrolled { box-shadow: 0 2px 20px rgba(43,61,53,0.1); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1140px; margin: 0 auto;
}
.nav-logo { display: flex; align-items: center; gap: 0.9rem; }
.nav-logo img {
  width: 46px; height: 46px;
  border-radius: 50%; object-fit: cover;
  border: 2px solid var(--cream);
}
.nav-logo-text {
  font-family: var(--font-h); font-weight: 500; font-size: 1.05rem;
  line-height: 1.2; color: var(--green);
}
.nav-logo-text span {
  display: block; font-size: 0.62rem; font-family: var(--font-b); font-weight: 400;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--brown);
}
.nav-links { display: flex; list-style: none; gap: 1.8rem; align-items: center; }
.nav-links a {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--brown); transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px; background: var(--terra); transition: width 0.3s;
}
.nav-links a:hover { color: var(--green); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--terra); }
.nav-links a.active::after { width: 100%; background: var(--terra); }
.nav-links .nav-cta a {
  color: var(--terra); border-bottom: 1px solid currentColor; padding-bottom: 1px;
}
.nav-links .nav-cta a::after { display: none; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 1.5px; background: var(--green); transition: all 0.3s; }

.mobile-menu {
  display: none; flex-direction: column;
  background: var(--sand); border-top: 1px solid var(--cream);
  padding: 1rem 2rem 1.5rem; gap: 0;
}
.mobile-menu a {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--green);
  padding: 0.7rem 0; border-bottom: 1px solid var(--cream); display: block;
}
.mobile-menu.open { display: flex; }

/* ── PAGE HERO (inner pages) ─────────────────── */
.page-hero {
  background: var(--green);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('../img/Ashtanga.jpg') center/cover;
  opacity: 0.08;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .section-label { color: var(--terra-l); }
.page-hero h1 {
  font-family: var(--font-h); font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--white); line-height: 1.1; margin-bottom: 0.75rem;
}
.page-hero p {
  color: rgba(255,255,255,0.65); font-size: 0.95rem;
  max-width: 520px; margin-top: 1rem;
}
.breadcrumb {
  display: flex; gap: 0.5rem; align-items: center;
  font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 2rem;
}
.breadcrumb a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--terra-l); }
.breadcrumb span { color: var(--terra-l); }

/* ── FOOTER ──────────────────────────────────── */
footer.site-footer {
  background: #1c2922;
  color: rgba(255,255,255,0.5);
  padding: 3.5rem 0 0;
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand h3 {
  font-family: var(--font-h); color: var(--white);
  font-size: 1.15rem; font-weight: 500; margin-bottom: 0.5rem;
}
.footer-brand p { font-size: 0.8rem; line-height: 1.9; }
.footer-brand a { color: var(--terra-l); }
.footer-col h4 {
  font-size: 0.63rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--terra-l); margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  font-size: 0.8rem; color: rgba(255,255,255,0.5); transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.5); transition: all 0.2s;
}
.footer-social a:hover { border-color: var(--terra-l); color: var(--terra-l); }
.footer-social svg { width: 14px; height: 14px; fill: currentColor; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.25rem 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.7rem; flex-wrap: wrap; gap: 0.5rem;
}
.footer-bottom a { color: var(--terra-l); }

/* ── FORM ─────────────────────────────────────── */
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block; font-size: 0.67rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--brown); margin-bottom: 0.4rem;
}
.form-group input:not([type="checkbox"]):not([type="radio"]),
.form-group textarea,
.form-group select {
  width: 100%; padding: 0.75rem 1rem;
  border: 1px solid var(--cream);
  background: var(--sand); font-family: var(--font-b);
  font-size: 0.88rem; color: var(--green); outline: none;
  transition: border-color 0.2s; -webkit-appearance: none; border-radius: 0;
}
.form-group input:not([type="checkbox"]):not([type="radio"]):focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--terra); }
.form-group input[type="checkbox"],
.form-group input[type="radio"] {
  -webkit-appearance: auto; appearance: auto;
  width: 1.1rem; height: 1.1rem;
  min-width: 1.1rem; padding: 0;
  border: none; background: none;
  accent-color: var(--terra);
  cursor: pointer;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: 0.7rem; color: var(--brown); margin-top: 0.75rem; opacity: 0.7; }
.form-success {
  display: none; padding: 1rem 1.5rem;
  background: rgba(43,61,53,0.08); border-left: 3px solid var(--green);
  font-size: 0.88rem; color: var(--green); margin-top: 1rem;
}

/* ── SOCIAL LINKS ─────────────────────────────── */
.social-links { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.social-link {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border: 1px solid var(--cream);
  color: var(--green); transition: all 0.2s;
}
.social-link:hover { background: var(--green); border-color: var(--green); color: var(--white); }
.social-link svg { width: 15px; height: 15px; fill: currentColor; }

/* ── INFO ROWS ────────────────────────────────── */
.info-row { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.info-row svg {
  width: 18px; height: 18px; fill: none;
  stroke: var(--terra); stroke-width: 1.5; flex-shrink: 0; margin-top: 3px;
}
.info-row span { font-size: 0.9rem; color: var(--brown); }
.info-row a { color: var(--green); font-weight: 500; }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 900px) {
  .nav-links   { display: none; }
  .hamburger   { display: flex; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .form-row    { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .container { padding: 0 1.25rem; }
  .page-hero { padding: 4rem 0 3rem; }
}
