/* ============================================================
   css/page.css — Shared styles for all Purple Heart Limo subpages
   Matches index.html home page design system exactly
   ============================================================ */

:root {
  --purple: #0a0a0a;
  --gold: #C9A84C;
  --gold-light: #E2C36A;
  --white: #FFFFFF;
  --gray: #8a8a8a;
  --gray-light: #F2EFE8;
  --text: #0a0a0a;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.18);
  --radius: 12px;
  --radius-lg: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

/* ── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes shimmer { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }
@keyframes pulse-ring { 0% { transform: scale(1); opacity: 0.7; } 70% { transform: scale(1.4); opacity: 0; } 100% { transform: scale(1.4); opacity: 0; } }
@keyframes ring-shake {
  0%,40%,100% { transform: rotate(0deg); }
  42% { transform: rotate(-8deg); }
  46% { transform: rotate(8deg); }
  50% { transform: rotate(-7deg); }
  54% { transform: rotate(7deg); }
  58% { transform: rotate(-4deg); }
  62% { transform: rotate(4deg); }
  66% { transform: rotate(0deg); }
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  background-size: 200% auto;
  color: var(--purple); padding: 14px 28px; border-radius: 50px;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  border: none; cursor: pointer;
  animation: shimmer 3s linear infinite;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(201,168,76,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,168,76,0.5); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--purple); padding: 13px 28px; border-radius: 50px;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  border: 2px solid var(--purple); cursor: pointer; transition: all 0.2s;
}
.btn-secondary:hover { background: var(--purple); color: var(--white); }

.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--purple); padding: 13px 28px; border-radius: 50px;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  border: none; cursor: pointer; transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

.btn-gold {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--purple); padding: 14px 32px; border-radius: 50px;
  font-size: 0.88rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(201,168,76,0.4);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,168,76,0.5); }

.btn-call {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: var(--white); padding: 13px 28px; border-radius: 50px;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  border: 2px solid rgba(255,255,255,0.4); transition: all 0.2s;
}
.btn-call:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

.btn-group { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ── NAVBAR ──────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(45,0,69,0.08);
  box-shadow: 0 2px 20px rgba(45,0,69,0.06);
  padding: 0 5%; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { width: 44px; height: 44px; object-fit: contain; }
.nav-logo-text { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 600; color: var(--purple); line-height: 1.1; }
.nav-logo-sub { font-size: 0.6rem; font-family: 'Inter', sans-serif; font-weight: 500; color: var(--gold); letter-spacing: 0.12em; text-transform: uppercase; display: block; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links > li > a { padding: 8px 12px; border-radius: 8px; font-size: 0.82rem; font-weight: 500; color: var(--text); transition: all 0.2s; display: block; }
.nav-links > li > a:hover { background: var(--gray-light); color: var(--purple); }

.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px;
  background: var(--white); border: 1px solid rgba(45,0,69,0.1);
  border-radius: var(--radius); padding: 8px;
  box-shadow: var(--shadow-lg); display: none; z-index: 100;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 0.82rem; color: var(--text); transition: all 0.15s; }
.dropdown-menu a:hover { background: var(--gray-light); color: var(--purple); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-phone { color: #1A3A6B; font-weight: 700; font-size: 0.88rem; display: flex; align-items: center; gap: 6px; }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--purple); border-radius: 2px; transition: all 0.3s; }

/* ── PAGE HERO ───────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(160deg, #f5f0ff 0%, #ede6ff 50%, #f8f4ff 100%);
  padding: 110px 5% 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 65% at 75% 35%, rgba(138,43,226,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 35% 45% at 10% 80%, rgba(138,43,226,0.04) 0%, transparent 55%);
  pointer-events: none;
}
.page-hero .inner { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); color: #C9967A; font-weight: 300; margin-bottom: 12px; line-height: 1.15; }
.page-hero h1 em { color: var(--gold); font-style: italic; }
.page-hero p { color: var(--gray); max-width: 600px; margin: 0 auto; font-size: 1rem; line-height: 1.7; }

.section-label { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }

/* ── SECTIONS ────────────────────────────────────────────────── */
.section { padding: 80px 5%; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-alt { background: #faf8ff; }

.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); color: var(--purple); margin-bottom: 12px; font-weight: 300; }
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.8rem); color: var(--purple); margin-bottom: 12px; font-weight: 300; }
.section-header p, .section-desc { color: var(--gray); font-size: 1rem; max-width: 600px; margin: 0 auto; line-height: 1.7; }

/* ── CARDS ───────────────────────────────────────────────────── */
.card {
  background: var(--white); border: 1.5px solid rgba(45,0,69,0.08);
  border-radius: var(--radius-lg); padding: 28px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

/* ── CTA SECTION ─────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--purple), #3d0060);
  padding: 80px 5%; text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(201,168,76,0.08) 0%, transparent 60%);
}
.cta-section .inner { position: relative; z-index: 1; }
.cta-section h2 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; font-weight: 300; }
.cta-section p { color: rgba(255,255,255,0.75); font-size: 1rem; margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ── FOOTER ──────────────────────────────────────────────────── */
footer { background: var(--purple); padding: 60px 5% 30px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.82rem; line-height: 1.65; margin-top: 14px; max-width: 280px; }
.footer-col h4 { font-family: 'Inter', sans-serif; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; color: rgba(255,255,255,0.6); font-size: 0.82rem; padding: 3px 0; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.74rem; color: rgba(255,255,255,0.35); }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { font-size: 0.74rem; color: rgba(255,255,255,0.35); }
.footer-legal a:hover { color: var(--gold); }

/* ── MOBILE BOTTOM BAR ───────────────────────────────────────── */
.mobile-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 998;
  background: var(--white); border-top: 1px solid rgba(45,0,69,0.1);
  padding: 12px 16px; gap: 10px;
  box-shadow: 0 -4px 20px rgba(45,0,69,0.1);
}
.mobile-bar a {
  flex: 1; text-align: center; padding: 11px; border-radius: 10px;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.m-call { background: #C0C0C0; color: #1A3A6B; animation: ring-shake 1.8s ease-in-out infinite; }
.m-wa { background: #25D366; color: var(--white); }
.m-book {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--purple);
  animation: shimmer 3s linear infinite;
  background-size: 200% auto;
}

/* ── FLOATING WIDGETS ────────────────────────────────────────── */
.floating-widgets {
  position: fixed; bottom: 90px; right: 24px; z-index: 999;
  display: flex; flex-direction: column; gap: 14px; align-items: flex-end;
}
.wa-widget {
  position: relative; width: 56px; height: 56px; background: #25D366;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: transform 0.2s; text-decoration: none;
}
.wa-widget:hover { transform: scale(1.1); }
.wa-widget svg { width: 28px; height: 28px; fill: white; }
.wa-pulse { position: absolute; inset: -4px; border-radius: 50%; border: 3px solid #25D366; animation: pulse-ring 2s ease-out infinite; }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-cta .btn-primary { display: none; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 80px; }
  .floating-widgets { display: none; }
  .page-hero { padding: 90px 4% 48px; }
  html, body { overflow-x: hidden; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 4%; }
}
