/* ===========================
   SPRING PUBLISHING — style.css
   Aesthetic: Literary Editorial · Warm Ivory · Ink & Gold
   =========================== */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap");

/* ── RESET & BASE ─────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --ivory: #f7f3ec;
  --cream: #ede7db;
  --ink: #1a1714;
  --ink-soft: #3d3630;
  --gold: #c09a4b;
  --gold-lt: #e8c97a;
  --rust: #8b3a2a;
  --sage: #5c6b5a;
  --warm-mid: #b5a898;
  --warm: #473522;
  --ff-head: "Cormorant Garamond", Georgia, serif;
  --ff-body: "DM Sans", sans-serif;
  --nav-h: 72px;
  --max-w: 1200px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-cubic: cubic-bezier(0.65, 0, 0.35, 1);
  --nav-h: 80px;
  --radius-sm: 2px;
  --radius-md: 4px;
  --transition-smooth: all 0.5s var(--ease-out-expo);
  --transition-fast: all 0.25s var(--ease-out-expo);
}

html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--ff-body);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
a, button {
  transition: var(--transition-fast);
}
ul {
  list-style: none;
}

/* ── TYPOGRAPHY ───────────────────────────── */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--ff-head);
  line-height: 1.15;
  font-weight: 600;
}

.display-xl {
  font-size: clamp(3.2rem, 8vw, 7.5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
}
.display-lg {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 300;
}
.display-md {
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 400;
}
.display-sm {
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 600;
}
.label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--ff-body);
  font-weight: 500;
  color: var(--gold);
}
.lead {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--ink-soft);
}

/* ── LAYOUT ───────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}
.section {
  padding-block: clamp(4rem, 10vw, 8rem);
}
.section-sm {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

/* ── DECORATIVE LINE ──────────────────────── */
.gold-rule {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  border: none;
  margin-block: 1.5rem;
}
.gold-rule.center {
  margin-inline: auto;
}

/* ── NAVIGATION ───────────────────────────── */
#navbar {
  position: absolute; top:0; left:0; right:0; z-index:1000;
  display: flex; align-items:center; justify-content:space-between;
  padding: 0 40px;
  height: var(--nav-h);
  transition: background .4s var(--ease), box-shadow .4s, height .3s var(--ease);
}
#navbar.transparent { 
  background: transparent; 
}
#navbar.solid {
  background: rgba(247,243,236,.96);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(0,0,0,.06), var(--shadow-sm);
  height: 62px;
}
.nav-logo {
  display: flex; align-items:center; gap:10px;
  font-family: var(--ff-head); font-size:1.4rem; font-weight:600;
  color: var(--ivory); transition: color .4s var(--ease);
  white-space: nowrap; flex-shrink:0;
}
#navbar.solid .nav-logo { color: var(--ink); }
.nav-logo-leaf { 
  display:flex; align-items:center; justify-content:center;
  width:36px; height:36px; flex-shrink:0;
}
.nav-logo-leaf img { width:100%; height:100%; object-fit:contain; }

.nav-links {
  display: flex; align-items:center; gap:4px;
  margin-left: auto;
}
.nav-links a, .nav-links2 a, .nav-dropdown, .nav-dropdown2 {
  padding: 7px 14px;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247,243,238,0.8);
  border-radius: 2px;
  transition: color 0.3s, background 0.3s;
  position: relative;
}
#navbar.solid .nav-links a { color: #555; }
.nav-links a::after {
  content: '';
  position: absolute; bottom: 2px; left: 14px; right: 14px; height: 1.5px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after { transform: scaleX(1); }
#navbar.solid .nav-links a:hover,
#navbar.solid .nav-links a.active { color: var(--forest); }
#navbar.solid .nav-links a::after { background: var(--forest); }
.nav-links .btn { margin-left: 8px; }

.nav-dropdown, .nav-dropdown2 {
  position: relative;
}

.nav-dropdown:hover { color: var(--gold); }
.nav-dropdown.active { color: var(--gold); }
.nav-dropdown.active::after { transform: scaleX(1); }

.dropdown-content {
  display: none;
  position: absolute;
  min-width: 130px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  padding: 12px 16px;
}

.nav-dropdown:hover .dropdown-content {
  display: block;
}

.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--ivory); padding: 4px; }
#navbar.solid .nav-toggle { color: var(--ink); }

/* ── Nav-Sidebar ── */
.nav-links2{
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247,243,238,0.8);
  border-radius: 2px;
  transition: color 0.3s, background 0.3s;
  gap:4px;
}
.nav-sidebar{
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 200px;
  z-index: 999;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 10px;
  padding-top: 100px;
}
.nav-sidebar li {
  width: 100%;
}
.nav-sidebar a{
  width: 100%;
}
.nav-links2 a:hover { color: var(--gold); }
.nav-links2 a.active { color: var(--gold); }
.nav-links2 a.active::after { transform: scaleX(1); }
#navbar.solid .nav-links2 a:hover,
#navbar.solid .nav-links2 a.active { color: var(--forest); }
#navbar.solid .nav-links2 a::after { background: var(--forest); }
.nav-links2 .btn { margin-left: 8px; }
.nav-dropdown2:hover { color: var(--gold); }
.nav-dropdown2.active { color: var(--gold); }
.nav-dropdown2.active::after { transform: scaleX(1); }
.nav-dropdown2:hover .dropdown-content {
  display: block;
}
.menu-button{
  display: none;
}
.menu-button:hover{
  color: var(--gold);
}
@media(max-width: 800px){
  .hideOnMobile, .nav-dropdown{
    display: none;
  }
  .menu-button{
    display: block;
  }
}
@media (max-width:400px){
  .nav-sidebar{
    width: 100%;
  }
}

/* ── BUTTONS ──────────────────────────────── */
.btn {
  /* display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--ff-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease); */
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  font-family: var(--ff-body);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
  z-index: 1;
}
.btn-primary {
  background: var(--ink);
  color: var(--ivory);
}
.btn-primary:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--ivory);
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--gold);
  color: var(--ink);
  border: 1px solid var(--gold);
}
.btn-gold:hover {
  background: var(--gold-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(192, 154, 75, 0.3);
}
.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--ivory);
}

/* ── CARDS ────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid var(--cream);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
}

/* ── SECTION HEADER ───────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.section-header .label {
  display: block;
  margin-bottom: 0.75rem;
}
.section-header h2 {
  margin-bottom: 1rem;
}
.section-header p {
  max-width: 560px;
  margin-inline: auto;
  color: var(--ink-soft);
}


/* ---------- FOOTER ---------- */
#footer { background: var(--ink); color: rgba(247,243,238,0.55); }
.footer-main { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.4fr; gap: 64px; padding: 88px 32px 64px; max-width: var(--max-w); margin: 0 auto; }
.footer-brand .nav-logo { color: var(--ivory); margin-bottom: 16px; font-size: 1.6rem; }
.footer-brand p { font-size: 0.88rem; line-height: 1.8; max-width: 260px; }
.footer-col h5 { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; font-weight: 600; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a { font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--ivory); }
.footer-contact-col a { display: block; font-size: 0.9rem; margin-bottom: 8px; transition: color 0.2s; }
.footer-contact-col a:hover { color: var(--ivory); }
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(247,243,238,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(247,243,238,0.4); font-size: 0; /* icon inside */
  transition: color 0.2s, border-color 0.2s;
}
.footer-socials a svg { width: 16px; height: 16px; }
.footer-socials a:hover { color: var(--ivory); border-color: rgba(247,243,238,0.35); }
.footer-bottom { border-top: 1px solid rgba(247,243,238,0.06); padding: 22px 32px; max-width: var(--max-w); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; }
.footer-bottom a { transition: color 0.2s; }
.footer-bottom a:hover { color: var(--ivory); }

/* ── FADE-IN ANIMATION ────────────────────── */
.fade-up {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── PAGE HERO (inner pages) ──────────────── */
.page-hero {
  min-height: 55vh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--ink) 0%, #2d231c 50%, #1a1714 100%);
}
.page-hero__pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(192, 154, 75, 0.04) 40px,
    rgba(192, 154, 75, 0.04) 41px
  );
}
.page-hero__content {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(3rem, 8vw, 6rem);
  color: var(--ivory);
}
.page-hero__content .label {
  color: var(--gold-lt);
}
.page-hero__content h1 {
  font-weight: 300;
}

/* ── RESPONSIVE ───────────────────────────── */
/* @media (max-width: 900px) {
  .nav__links,
  .nav__cta {
    display: none;
  }
  .nav__burger {
    display: flex;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
@media (max-width: 480px) {
  
} */