/* ============================================
   PARICHAYA — GLOBAL STYLES
   style.css
   ============================================ */

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

/* ── CSS Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Nunito', sans-serif; background: var(--color-bg); color: var(--color-text); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { list-style: none; }
button { font-family: 'Nunito', sans-serif; }

/* ── CSS Variables ── */

/* ══ ORIGINAL WARM PALETTE (backup — swap back by replacing :root below) ══
  --color-primary:    #C17F3A;
  --color-secondary:  #6B4F3A;
  --color-accent:     #E8B87D;
  --color-bg:         #FAF6EF;
  --color-bg-alt:     #F2EBE0;
  --color-text:       #3B2F2F;
  --color-text-light: #7A6A5A;
  --color-white:      #FFFDF9;
  --color-success:    #4A7C59;
  --color-border:     #DDD0BC;
══ END BACKUP ══ */

:root {
  /* ── Navy Blue + Gold palette ── */
  --color-primary:    #1B3A6B;   /* deep navy — trust, authority */
  --color-secondary:  #162D54;   /* darker navy — headings, logo */
  --color-accent:     #C9913A;   /* warm gold — warmth, humanity */
  --color-bg:         #F5F7FA;   /* soft white-blue — clean, open */
  --color-bg-alt:     #EBF0F8;   /* light navy tint — alternate sections */
  --color-text:       #1A2540;   /* near-black navy — readable */
  --color-text-light: #5A6A84;   /* muted navy-grey — secondary text */
  --color-white:      #FFFFFF;
  --color-success:    #2E7D52;
  --color-border:     #C8D5E8;   /* soft blue-grey border */
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;
  --radius-full: 999px;
  --fs-hero: clamp(2.5rem, 6vw, 5rem);
  --fs-h1: clamp(2rem, 4vw, 3.5rem);
  --fs-h2: clamp(1.5rem, 3vw, 2.5rem);
  --fs-h3: clamp(1.2rem, 2vw, 1.75rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-tiny: 0.75rem;
  --shadow: 0 4px 24px rgba(193,127,58,0.15);
  --shadow-lg: 0 12px 48px rgba(193,127,58,0.22);
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; color: var(--color-text); line-height: 1.25; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Section Wrapper ── */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}
section:nth-of-type(even) { background: var(--color-bg-alt); }

/* ── Section Headings ── */
.section-label {
  font-size: var(--fs-tiny);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  display: block;
}
.section-title {
  font-size: var(--fs-h2);
  color: var(--color-text);
  margin-bottom: 0.5rem;
}
.section-title.centered { text-align: center; }
.section-sub {
  font-size: var(--fs-body);
  color: var(--color-text-light);
  max-width: 640px;
}
.section-sub.centered { text-align: center; margin: 0 auto; }

/* ── Amber Title Underline ── */
.title-underline {
  width: 64px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 2px;
  margin: 12px auto 0;
}
.title-underline.left { margin-left: 0; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary);
  color: white;
  border-radius: var(--radius-full);
  padding: 14px 32px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  text-decoration: none;
}
.btn-primary:hover { transform: scale(1.04); box-shadow: var(--shadow-lg); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
  border-radius: var(--radius-full);
  padding: 14px 32px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  text-decoration: none;
}
.btn-secondary:hover { background: var(--color-primary); color: white; transform: scale(1.04); }

.btn-large { padding: 16px 40px; font-size: 1.1rem; }

/* ── Placeholder Image Divs ── */
.img-placeholder {
  background: linear-gradient(135deg, var(--color-bg-alt), var(--color-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: var(--fs-small);
  text-align: center;
  padding: 1rem;
  border-radius: var(--radius-md);
}

/* ── Avatar Placeholder ── */
.avatar-placeholder {
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

/* ── Focus Ring ── */
*:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }

/* ── Responsive Images ── */
img { max-width: 100%; height: auto; }

/* ── Pull Quote ── */
.pull-quote {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--color-primary);
  line-height: 1.5;
  border-left: 4px solid var(--color-primary);
  padding: 1.5rem 2rem;
  background: rgba(193,127,58,0.06);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 2rem 0;
  font-style: italic;
}

/* ── Grid Utilities ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .section-inner { padding: 60px 18px; }
}

/* ── Text Utilities ── */
.text-center { text-align: center; }
.text-amber { color: var(--color-primary); }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
