/* ─── SHARED.CSS — used by all pages ─── */

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

:root {
  --bg: #f5f0e8;
  --dark: #1e1b16;
  --accent: #7a5c3a;
  --accent-light: #c49a6c;
  --surface: #fffdf8;
  --border: #d6cfc2;
  --text: #2e2a22;
  --muted: #7a7468;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background-color: var(--bg);
  color: var(--text);
}

/* ─── NAVBAR ─── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  padding: 1rem 2rem;
  transition: padding 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
  padding: 0.6rem 2rem;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo img {
  height: 38px;
  width: auto;
}

.nav-logo span {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-light);
  letter-spacing: 0.3px;
}

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

.nav-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 400;
  padding: 0.5rem 0.9rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: white;
  background: rgba(255,255,255,0.08);
}

.nav-cta {
  background: var(--accent) !important;
  color: white !important;
  border-radius: 4px;
  padding: 0.5rem 1.1rem !important;
}

.nav-cta:hover { background: #5e4429 !important; }

.dropdown { position: relative; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 0.5rem 0;
  list-style: none;
  min-width: 160px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.dropdown:hover .dropdown-menu { display: block; }

.dropdown-menu li a {
  display: block;
  padding: 0.5rem 1.1rem;
  font-size: 14px;
  color: rgba(255,255,255,0.8) !important;
  background: transparent !important;
  border-radius: 0;
}

.dropdown-menu li a:hover {
  color: white !important;
  background: rgba(255,255,255,0.06) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--dark);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  text-decoration: none;
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
}

/* ─── FOOTER ─── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.5);
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 1.5rem 2.5rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-light);
  display: block;
  margin-bottom: 0.8rem;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.4);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.5rem;
}

.footer-col a {
  text-decoration: none;
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}

.footer-col a:hover { color: rgba(255,255,255,0.85); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 12px;
  padding: 1.2rem;
  color: rgba(255,255,255,0.3);
}

/* ─── SHARED UTILITIES ─── */
.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-eyebrow.center { text-align: center; }
.section-eyebrow.light  { color: var(--accent-light); }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--text);
}

.section-title.center { text-align: center; }
.section-title.light  { color: white; }

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: white;
  text-decoration: none;
  padding: 13px 2rem;
  border-radius: 6px;
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: background 0.2s, transform 0.1s;
}

.btn-primary:hover { background: #5e4429; }
.btn-primary:active { transform: scale(0.98); }

.img-placeholder {
  background: var(--border);
  border-radius: 12px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}

.img-placeholder.dark {
  background: #2e2a22;
  color: rgba(255,255,255,0.3);
}

/* ─── FADE IN ─── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 860px) {
  .nav-links  { display: none; }
  .hamburger  { display: flex; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}
