/* ─────────────────────────────────────────────
   madhurangesa.com  ·  shared stylesheet
   ───────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Cormorant+SC:wght@400;500&family=Jost:wght@300;400;500&display=swap');

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

:root {
  --bg:          #f5f1eb;
  --paper:       #ede8df;
  --ink:         #1c1917;
  --ink-mid:     #4a443e;
  --ink-light:   #8c837a;
  --teal:        #3d6e6e;
  --teal-light:  #5a9090;
  --teal-faint:  #e8f0f0;
  --gold:        #b8924a;
  --border:      #d8cfc4;
  --nav-h:       64px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Jost', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  min-height: 100vh;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.022'/%3E%3C/svg%3E");
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  background: rgba(245,241,235,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Cormorant SC', serif;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-logo:hover { color: var(--teal); }

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-mid);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--ink-light);
  letter-spacing: 0.05em;
}
footer a { color: inherit; text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--teal); }

/* ── UTILITY ── */
.page-wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.6s ease forwards;
}
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ── MOBILE ── */
@media (max-width: 600px) {
  nav { padding: 0 1.2rem; }
  .nav-links { gap: 1.2rem; }
  footer { flex-direction: column; gap: 0.5rem; text-align: center; }
}
