/* shared.css — Camila Rivera Website */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #B8965A;
  --gold-light: #D4B07A;
  --gold-pale: #F0E4CC;
  --teal: #5AABB8;
  --teal-dark: #3A8A96;
  --teal-pale: #D6EEF1;
  --teal-deep: #1E5A63;
  --cream: #FAF7F2;
  --warm-white: #FDF9F4;
  --charcoal: #2C2825;
  --charcoal-soft: #4A4440;
  --warm-grey: #EDE9E3;
  --dark-bg: #111D1F;
  --dark-mid: #162325;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(17,29,31,0.97);
  backdrop-filter: blur(8px);
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--cream);
  text-decoration: none;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250,247,242,0.7);
  text-decoration: none;
  transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--teal); }

/* DROPDOWN */
.hamburger { display: none; }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 0.75rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.nav-dropdown-menu-inner {
  background: rgba(17,29,31,0.98);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(90,171,184,0.15);
  min-width: 240px;
  padding: 0.75rem 0;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.65rem 1.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  white-space: nowrap;
  text-align: center;
  border-bottom: 1px solid rgba(250,247,242,0.05);
}
.nav-dropdown-menu a:last-child { border-bottom: none; }
.nav-dropdown-menu a.active { color: var(--teal); }

@media (max-width: 900px) {
  .nav-dropdown-menu { display: none; }
}

/* PAGE HERO */
.page-hero {
  position: relative;
  height: 55vh;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  animation: heroZoom 6s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.03); }
  to { transform: scale(1); }
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,29,31,0.9) 0%, rgba(17,29,31,0.3) 60%, rgba(17,29,31,0.2) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(1.5rem, 8vw, 8rem) 4rem;
  animation: fadeUp 0.8s ease-out 0.2s both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.page-hero-label {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.1;
}
.page-hero h1 em { font-style: italic; color: var(--gold-pale); }

/* SECTION BASICS */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2.5rem;
}
.section-label {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.25rem;
}
.gold-divider {
  width: 60px; height: 1px;
  background: var(--gold);
  margin: 0 auto 2rem;
}
.gold-divider.left { margin: 0 0 2rem; }

/* BUTTONS */
.btn-primary {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: var(--teal-dark);
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--teal); }
.btn-secondary {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  border: 1px solid var(--charcoal);
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  transition: all 0.3s;
}
.btn-secondary:hover { border-color: var(--teal); color: var(--teal); }

/* FADE UP */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* FOOTER */
footer {
  background: var(--dark-bg);
  padding: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-top: 1px solid rgba(90,171,184,0.15);
}
.footer-logo {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
}
.footer-tagline {
  font-size: 0.7rem;
  color: rgba(250,247,242,0.3);
  letter-spacing: 0.1em;
  margin-top: 0.3rem;
}
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250,247,242,0.4);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--teal); }
.footer-copy { font-size: 0.65rem; color: rgba(250,247,242,0.2); }
.footer-social {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.footer-social a {
  color: rgba(250,247,242,0.4);
  transition: color 0.3s;
  display: flex;
  align-items: center;
}
.footer-social a:hover { color: var(--teal); }
.footer-social svg { width: 18px; height: 18px; }

@media (max-width: 768px) {
  nav { padding: 1.25rem 1.5rem; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(17,29,31,0.98); z-index: 999; justify-content: center; align-items: center; gap: 2rem; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 0.85rem; }
  .nav-dropdown-menu { display: none !important; }
  .hamburger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1000; padding: 4px; }
  .hamburger span { display: block; width: 24px; height: 1.5px; background: var(--cream); transition: all 0.3s; }
  .hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .section-inner { padding: 0 1.5rem; }
  footer { flex-direction: column; align-items: flex-start; padding: 2.5rem 1.5rem; }
  .page-hero-content { padding: 0 1.5rem 3rem; }
}
