/* ================================================
   SHARED CSS — plasticsurgeryireland.com
   ================================================ */

:root {
  --charcoal: #2a2a2a;
  --muted-gold: #b89a5e;
  --deep-forest: #1e3d2f;
  --alabaster: #f5f2ed;
  --light-grey: #ebe9e4;
  --slate-grey: #5a5f63;
  --tape: #8f9397;
  --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  background: var(--alabaster);
  color: var(--charcoal);
  overflow-x: hidden;
}

a { text-decoration: none; }

/* ============ NAV ============ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 4rem;
  background: rgba(42,42,42,0.97);
  backdrop-filter: blur(12px);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--muted-gold);
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links { display: flex; gap: 2.5rem; list-style: none; }

.nav-links a {
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--light-grey); text-decoration: none; transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active { color: var(--muted-gold); }

.nav-cta {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--charcoal) !important;
  background: var(--muted-gold);
  padding: 0.65rem 1.5rem;
  text-decoration: none; transition: background 0.3s;
}

.nav-cta:hover { background: #a8894d !important; color: var(--white) !important; }

/* HAMBURGER */
.nav-hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 36px; height: 36px; cursor: pointer;
  background: none; border: none; padding: 4px; z-index: 200;
}

.nav-hamburger span {
  display: block; width: 100%; height: 2px;
  background: var(--light-grey); border-radius: 2px;
  transition: all 0.3s ease; transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--muted-gold); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--muted-gold); }

/* DROPDOWN */
.nav-links li { position: relative; }

.dropdown-content {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 220px; background: var(--white);
  padding: 12px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  opacity: 0; visibility: hidden;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.dropdown-content a {
  display: block; padding: 10px 24px;
  color: var(--charcoal) !important;
  text-transform: uppercase;
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.1em;
  transition: background 0.2s, color 0.2s;
}

.dropdown-content a:hover {
  background: var(--light-grey);
  color: var(--muted-gold) !important;
}

.dropdown:hover .dropdown-content {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}

/* MOBILE MENU */
.mobile-menu {
  display: none; position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(42,42,42,0.99);
  z-index: 150;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 2rem; opacity: 0; transition: opacity 0.3s ease;
}

.mobile-menu.open { opacity: 1; }

.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem; font-weight: 300;
  color: var(--white); text-decoration: none;
  letter-spacing: 0.05em; transition: color 0.3s;
}

.mobile-menu a:hover { color: var(--muted-gold); }

.mobile-menu .mobile-cta {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--charcoal) !important;
  background: var(--muted-gold);
  padding: 1rem 2.5rem; margin-top: 1rem;
}

.mobile-menu-divider { width: 40px; height: 1px; background: rgba(255,255,255,0.15); }

/* ============ TYPOGRAPHY HELPERS ============ */
.section-label {
  font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted-gold); margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 1rem;
}

.section-label::before {
  content: ''; display: block;
  width: 30px; height: 1px; background: var(--muted-gold);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 300; line-height: 1.2;
  color: var(--charcoal); margin-bottom: 1.5rem;
}

.section-title em {font-style: italic;color: #d4a23d;}

.section-body {
  font-size: 0.9rem; font-weight: 300;
  line-height: 1.9; color: var(--slate-grey);
  margin-bottom: 1rem;
}

/* ============ PAGE HERO ============ */
.page-hero {
  padding: 12rem 6rem 6rem;
  background: var(--charcoal);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: end;
  position: relative; overflow: hidden;
}

.page-hero-label {
  font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted-gold); margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 1rem;
}

.page-hero-label::before { content: ''; display: block; width: 30px; height: 1px; background: var(--muted-gold); }

.page-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 300; line-height: 1.1; color: var(--white);
}

.page-hero-title em { font-style: italic; color: var(--muted-gold); }

.page-hero-intro {
  font-size: 1rem; font-weight: 300;
  line-height: 2; color: var(--tape);
}

/* ============ BUTTONS ============ */
.btn-primary {
  display: inline-block;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 1rem 2.5rem;
  background: var(--muted-gold);
  color: var(--charcoal); text-decoration: none; transition: all 0.3s;
}

.btn-primary:hover { background: #a8894d; color: var(--white); }

.btn-dark {
  display: inline-block;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 1rem 2.5rem;
  background: var(--charcoal);
  color: var(--white); text-decoration: none; transition: all 0.3s;
  white-space: nowrap;
}

.btn-dark:hover { background: var(--deep-forest); }

.btn-gold {
  display: inline-block;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 1rem 2.5rem;
  background: var(--muted-gold);
  color: var(--charcoal); text-decoration: none; transition: all 0.3s;
  white-space: nowrap;
}

.btn-gold:hover { background: #a8894d; color: var(--white); }

.btn-outline {
  display: inline-block;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 1rem 2.5rem;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white); text-decoration: none; transition: all 0.3s;
}

.btn-outline:hover { border-color: var(--muted-gold); color: var(--muted-gold); }

/* ============ CTA BAND ============ */
.cta-band {
  padding: 6rem;
  display: grid; grid-template-columns: 1fr auto;
  gap: 4rem; align-items: center;
}

.cta-band-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 300; line-height: 1.3;
}

.cta-band-title em { font-style: italic; }

.cta-band-body {
  font-size: 0.85rem; font-weight: 300;
  line-height: 1.8; margin-top: 1rem;
}

.cta-band-actions {
  display: flex; flex-direction: column;
  gap: 1rem; align-items: center; flex-shrink: 0;
}

.cta-note { font-size: 0.65rem; letter-spacing: 0.1em; color: var(--tape); text-align: center; }

/* ============ FOOTER ============ */
footer { background: var(--charcoal); padding: 4rem 6rem 2rem; }

.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
}

.footer-brand p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 300;
  color: var(--white); margin-bottom: 1rem;
}

.footer-brand span { font-size: 0.75rem; font-weight: 300; line-height: 1.8; color: var(--tape); }

.footer-col h4 {
  font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted-gold); margin-bottom: 1.5rem;
}

.footer-col a {
  display: block; font-size: 0.78rem; font-weight: 300;
  color: var(--tape); text-decoration: none;
  margin-bottom: 0.75rem; transition: color 0.3s;
}

.footer-col a:hover { color: var(--muted-gold); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
}

.footer-bottom p { font-size: 0.65rem; color: var(--tape); letter-spacing: 0.05em; }

.footer-bottom a { font-size: 0.65rem; color: var(--tape); text-decoration: none; transition: color 0.3s; }
.footer-bottom a:hover { color: var(--muted-gold); }

/* ============ GOLD RULE ============ */
.gold-rule { width: 60px; height: 2px; background: var(--muted-gold); margin: 2rem 0; }

/* ============ ANIMATIONS ============ */
.fade-in {
  opacity: 0; transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}
.fade-in:nth-child(2) { animation-delay: 0.15s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }
.fade-in:nth-child(4) { animation-delay: 0.45s; }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  nav { padding: 1.2rem 2rem; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .page-hero {
    grid-template-columns: 1fr;
    gap: 2rem; padding: 8rem 1.5rem 4rem;
  }

  .cta-band { grid-template-columns: 1fr; padding: 4rem 1.5rem; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; padding: 2rem 0; }
  footer { padding: 3rem 1.5rem 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-bottom div { flex-wrap: wrap; justify-content: center; gap: 1rem; }
}

@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom div { gap: 0.75rem; }
}
