/* ============================================
   BROADMOOR - Shared Navbar & Footer Styles
   Include this in style.css
============================================ */

/* ═══════════════════════════════
   CSS VARIABLES
═══════════════════════════════ */
:root {
  --navy: #1a2e5a;
  --navy-dark: #0f1e3d;
  --green: #2e8b47;
  --green-light: #3aad5a;
  --green-pale: #e8f5ec;
  --white: #ffffff;
  --off-white: #f7f9fc;
  --grey-light: #eef1f6;
  --grey-mid: #c8d0de;
  --ink: #1a2030;
  --text-muted: #6b7a99;
  --gold: #c8922a;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--ink); background: var(--white); }
a { text-decoration: none; }


/* ═══════════════════════════════
   TOP BAR
═══════════════════════════════ */
.site-header-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
}

.top-bar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.85);
  font-size: 12.5px;
  font-weight: 500;
  padding: 8px 5%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  transition: height 0.3s ease, padding 0.3s ease;
}

.top-bar a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.top-bar a:hover { color: var(--green-light); }

.whatsapp-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #25d366 !important;
  font-weight: 600;
}

.maps-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #4fc3f7 !important;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.maps-link:hover { color: #81d4fa !important; }

.top-bar-divider {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.2);
}


/* ═══════════════════════════════
   NAV
═══════════════════════════════ */
.site-header-wrap > nav {
  position: relative;
  top: auto;
  z-index: 200;
  padding: 0 5%;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(26,46,90,0.09);
  box-shadow: 0 2px 24px rgba(26,46,90,0.07);
  transition: height 0.3s ease, box-shadow 0.3s ease;
}

.site-header-wrap.scrolled > nav {
  height: 54px;
  box-shadow: 0 3px 28px rgba(26,46,90,0.12);
}

.site-header-wrap.scrolled .top-bar {
  height: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img, .nav-logo-img {
  height: 58px;
  width: auto;
  transition: height 0.3s ease;
}

.site-header-wrap.scrolled .nav-logo img,
.site-header-wrap.scrolled .nav-logo-img { height: 38px; }

.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.nav-logo-text span { color: var(--green); }

.nav-logo-sub {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-logo-mark {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-logo-copy { display: flex; flex-direction: column; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-menu > li { position: relative; }

.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
  background: var(--green-pale);
  color: var(--green);
}

.nav-menu > li > a .chevron {
  font-size: 10px;
  opacity: 0.6;
  transition: transform 0.2s;
}

.nav-menu > li:hover > a .chevron { transform: rotate(180deg); }

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid rgba(26,46,90,0.09);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(26,46,90,0.13);
  min-width: 220px;
  padding: 8px;
  z-index: 300;
  animation: dropIn 0.18s ease;
}

.dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nav-menu > li:hover .dropdown { display: block; }

.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

.dropdown a:hover { background: var(--green-pale); color: var(--green); }

.dropdown-icon {
  width: 30px; height: 30px;
  border-radius: 7px;
  background: var(--grey-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: background 0.15s;
}

.dropdown a:hover .dropdown-icon { background: rgba(46,139,71,0.15); }

.dropdown-divider {
  height: 1px;
  background: var(--grey-light);
  margin: 6px 8px;
}

.nav-book {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--white) !important;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(46,139,71,0.25);
  margin-left: 8px;
}

.nav-book:hover {
  background: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,46,90,0.22);
}

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

.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15,30,61,0.5);
  z-index: 600;
  backdrop-filter: blur(4px);
}

.mobile-nav.open { display: block; }

.mobile-drawer {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(320px, 85vw);
  background: var(--white);
  box-shadow: -8px 0 40px rgba(15,30,61,0.2);
  padding: 24px 24px 40px;
  overflow-y: auto;
  animation: slideIn 0.25s ease;
}

@keyframes slideIn {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}

.drawer-close {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.drawer-close button {
  background: var(--grey-light);
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  color: var(--navy);
}

.mobile-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-menu-list a {
  display: block;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.15s;
}

.mobile-menu-list a:hover { background: var(--green-pale); color: var(--green); }

.mobile-submenu {
  padding-left: 14px;
  margin: 4px 0;
  border-left: 2px solid var(--green-pale);
}

.mobile-submenu a {
  font-size: 14px;
  color: var(--text-muted) !important;
  padding: 9px 14px !important;
}

.mobile-book {
  display: block;
  text-align: center;
  background: var(--green);
  color: var(--white) !important;
  padding: 14px;
  border-radius: 10px;
  font-weight: 600;
  margin-top: 20px;
}


/* ═══════════════════════════════
   PAGE OFFSET
═══════════════════════════════ */
.page-wrap { padding-top: 108px; }


/* ═══════════════════════════════
   FOOTER
═══════════════════════════════ */
.site-footer {
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 80%, rgba(46,139,71,0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 10%, rgba(26,46,90,0.4) 0%, transparent 55%);
  pointer-events: none;
}

.site-footer::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--green), var(--green-light), transparent);
}

.footer-top {
  padding: 72px 6% 60px;
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 48px;
}

.footer-logo-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.footer-logo-text span { color: var(--green-light); }

.footer-tagline {
  font-size: 13.5px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 260px;
  margin-bottom: 24px;
  font-weight: 300;
}

.footer-social { display: flex; gap: 10px; }

.social-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.social-btn:hover {
  background: rgba(46,139,71,0.25);
  border-color: rgba(58,173,90,0.4);
  color: var(--green-light);
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-col-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.07);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links a {
  font-size: 13.5px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s, padding-left 0.2s;
  display: inline-block;
}

.footer-links a:hover { color: var(--white); padding-left: 4px; }

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.55;
  font-weight: 300;
}

.fc-icon {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: rgba(46,139,71,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 12px;
  color: var(--green-light);
}

.footer-contact-list a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact-list a:hover { color: var(--green-light); }

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,211,102,0.12);
  border: 1px solid rgba(37,211,102,0.25);
  color: #25d366;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.footer-whatsapp:hover {
  background: rgba(37,211,102,0.2);
  border-color: rgba(37,211,102,0.45);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 6%;
  position: relative;
  z-index: 1;
}

.footer-bottom-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 12.5px;
  color: rgba(255,255,255,0.3);
  font-weight: 400;
}

.footer-legal { display: flex; align-items: center; gap: 12px; }

.footer-legal a {
  font-size: 12.5px;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover { color: rgba(255,255,255,0.7); }

.footer-legal-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}


/* ═══════════════════════════════
   RESPONSIVE
═══════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-menu, .nav-book { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 32px 24px; }
  .page-wrap { padding-top: 90px; }
  .top-bar-phone,
  .top-bar-address { display: none !important; }
}

/* Drawer address block */
.drawer-address {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--grey-light);
}

.drawer-address-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.drawer-address-row svg {
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--text-muted);
}

.drawer-address-row a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.drawer-address-row a:hover { color: var(--green); }

@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-brand { grid-column: auto; }
  .footer-top { padding: 48px 5% 40px; }
  .footer-bottom { padding: 18px 5%; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-legal { flex-wrap: wrap; gap: 10px; }
  .service-hero { padding: 52px 5% 48px; }
  .services-section, .why-strip, .contact-section { padding: 64px 5%; }
}


