/* ============================================================
   Blue Point Yacht Parking — shared stylesheet
   A maritime palette (deep navy, teal, sand, brass) replaces the
   default Bootstrap blue so the site reads as its own brand
   rather than an untouched template.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600&display=swap');

:root{
  --navy:        #0A2540;
  --navy-deep:   #071b2e;
  --teal:        #0F4C5C;
  --sand:        #D9C2A3;
  --ivory:       #F7F4EE;
  --brass:       #B08D57;
  --ink:         #16232E;
  --muted:       #5B6B76;
  --radius:      6px;
}

*{ box-sizing: border-box; }

body{
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.6;
}

h1, h2, h3, h4, h5{
  font-family: 'Fraunces', Georgia, serif;
  color: var(--navy);
  letter-spacing: -0.01em;
}

p{ color: var(--muted); max-width: 62ch; }

a{ color: var(--teal); }
a:focus-visible, button:focus-visible{
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

/* ---------- Navbar ---------- */
.navbar{
  background: var(--navy);
  padding: 0.9rem 0;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1030;
}
.navbar .brand-mark{
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ivory);
  letter-spacing: 0.01em;
}
.navbar .brand-mark span{ color: var(--sand); }
#navitem{
  color: rgba(247,244,238,0.85);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
#navitem:hover, #navitem.active{
  color: var(--ivory);
  border-bottom-color: var(--brass);
}
.navbar-toggler{ border-color: rgba(247,244,238,0.4); }
.navbar-toggler-icon{
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(247,244,238,0.85)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---------- Hero ---------- */
.hero{
  padding-top: 8.5rem;
}
.hero .eyebrow{ display:none; } /* intentionally unused — no label chrome */
.hero h1{
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 1.1rem;
}
.hero p.lead{
  font-size: 1.05rem;
  color: var(--muted);
}
.hero-frame{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 40px -18px rgba(10,37,64,0.35);
}
.hero-frame::after{
  content:"";
  position:absolute; inset:0;
  border: 1px solid rgba(176,141,87,0.35);
  border-radius: var(--radius);
  pointer-events:none;
}
.hero-frame img{ display:block; width:100%; height:100%; object-fit:cover; }

.btn-brass{
  display:inline-flex;
  align-items:center;
  gap: .5rem;
  background: var(--navy);
  color: var(--ivory);
  border: 1px solid var(--navy);
  padding: .65rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 500;
  text-decoration:none;
  transition: background .15s ease, border-color .15s ease;
}
.btn-brass:hover{ background: var(--navy-deep); color: var(--ivory); }
.btn-outline-brass{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--sand);
  padding: .6rem 1.3rem;
  border-radius: var(--radius);
  font-weight: 500;
  text-decoration:none;
  transition: border-color .15s ease, color .15s ease;
}
.btn-outline-brass:hover{ border-color: var(--brass); color: var(--brass); }

/* ---------- Divider ---------- */
.wave-divider{ width:100%; height:32px; display:block; color: var(--sand); }

/* ---------- Services ---------- */
.services-intro h2{ font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight:500; }
.service-card{
  padding: 1.5rem 0 1.5rem 0;
  border-top: 1px solid rgba(176,141,87,0.3);
}
.service-icon{
  width: 44px; height:44px;
  border-radius:50%;
  border: 1px solid var(--brass);
  display:flex; align-items:center; justify-content:center;
  color: var(--brass);
  font-size:1.1rem;
  margin-bottom: .9rem;
}
.service-card h4{ font-size:1.05rem; font-weight:500; }
.service-card p{ font-size:.95rem; margin-bottom:0; }

/* ---------- Section shells ---------- */
.section-alt{ background: #EFEAE0; }

/* ---------- Carousel ---------- */
.carousel{
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: 0 18px 40px -22px rgba(10,37,64,0.4);
}
.carousel-item img{ height: 62vh; min-height:340px; object-fit:cover; }
.carousel-indicators [data-bs-target]{
  background-color: var(--brass);
  width:7px; height:7px; border-radius:50%;
}
.carousel-caption{
  background: linear-gradient(0deg, rgba(7,27,46,0.75), transparent);
  border-radius: var(--radius);
  bottom:0; left:0; right:0; padding:1.5rem 1rem .75rem;
}

/* ---------- Map / feature block ---------- */
.map-frame{
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: 0 18px 40px -22px rgba(10,37,64,0.35);
  border: 1px solid rgba(176,141,87,0.35);
}

/* ---------- Footer ---------- */
#footer{
  background: var(--navy-deep);
  color: rgba(247,244,238,0.85);
  padding: 3rem 1.5rem 1.5rem;
}
#footer h5{ color: var(--ivory); font-family:'Fraunces', serif; font-weight:500; }
#footer p, #footer li{ color: rgba(247,244,238,0.75); }
#footer a.nav-link{
  color: rgba(247,244,238,0.85);
  padding: .2rem 0;
}
#footer a.nav-link:hover{ color: var(--sand); }
#footer .footer-grid{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  max-width: 1140px;
  margin: 0 auto;
}
#footer .footer-bottom{
  border-top: 1px solid rgba(247,244,238,0.15);
  margin-top: 2rem;
  padding-top: 1.25rem;
  max-width: 1140px;
  margin-left:auto; margin-right:auto;
  display:flex; justify-content:space-between; align-items:center;
  flex-wrap:wrap; gap:.5rem;
  font-size:.85rem;
}
@media (max-width: 768px){
  #footer .footer-grid{ grid-template-columns: 1fr; }
  .hero{ padding-top: 7rem; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ transition: none !important; }
}
