/* =============================================
   PRAFULLA.IN — GLOBAL STYLESHEET
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=DM+Sans:wght@300;400;500&display=swap');

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

:root {
  --ink: #1a1410;
  --paper: #f8f4ef;
  --warm: #f0e8d8;
  --accent: #c4622d;
  --accent2: #2d5c4a;
  --muted: #7a6e63;
  --border: rgba(26,20,16,0.12);
  --white: #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---- NAV ---- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(248,244,239,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 0.5px solid var(--border);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
}

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

.nav-links a.active { color: var(--ink); }

.nav-cta {
  background: var(--ink) !important;
  color: var(--paper) !important;
  padding: 10px 20px;
  border-radius: 4px;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--accent) !important; }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--paper);
  padding: 15px 30px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover { background: var(--accent); transform: translateY(-2px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(26,20,16,0.2);
  color: var(--ink);
  padding: 15px 30px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.15s;
}

.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

/* ---- SECTION LABELS ---- */
.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1.2px;
  color: var(--ink);
  margin-bottom: 18px;
}

.section-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 580px;
  font-weight: 300;
  margin-bottom: 60px;
  line-height: 1.75;
}

/* ---- PAGE WRAPPER ---- */
.page-wrap {
  padding-top: 64px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

/* ---- FOOTER ---- */
footer {
  border-top: 0.5px solid var(--border);
  padding: 48px 60px;
}

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

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

.footer-right p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
  text-align: right;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  justify-content: flex-end;
}

.footer-links a {
  font-size: 11px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--accent); }

/* ---- POST CARDS ---- */
.post-card {
  border: 0.5px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  background: white;
  transition: box-shadow 0.25s, transform 0.25s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.post-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(26,20,16,0.07); }

.post-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  padding: 5px 12px;
  background: rgba(196,98,45,0.08);
  border-radius: 100px;
}

.post-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.28;
  margin-bottom: 12px;
}

.post-excerpt {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 20px;
}

.post-meta {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.post-meta::before {
  content: '';
  display: block;
  width: 20px; height: 1px;
  background: rgba(26,20,16,0.15);
}

/* ---- REVEAL ANIMATION ---- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible { opacity: 1; transform: none; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 11px; letter-spacing: 0.5px; }
  .container { padding: 0 24px; }
  footer { padding: 40px 24px; }
  .footer-inner { flex-direction: column; gap: 24px; text-align: center; }
  .footer-links { justify-content: center; }
  .footer-right p { text-align: center; }
}

@media (max-width: 600px) {
  .nav-links .nav-cta { display: none; }
}
