/* Classic Pier 68 look: white page, burgundy header, gold accents */

:root{
  --bg:#ffffff;
  --text:#0b0b0b;
  --muted:#333;

  --burgundy:#7b0f1b;
  --burgundy-dark:#5a0a12;

  --gold:#f2c300;
  --gold-light:#ffd84d;

  --border:#d9d9d9;

  --radius:6px;
  --shadow: 0 6px 14px rgba(0,0,0,.10);
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
}

a{ color: var(--burgundy); text-decoration:none; }
a:hover{ color: var(--burgundy-dark); text-decoration: underline; }

.wrap{ width: min(1100px, 92vw); margin: 0 auto; }

/* Header */
.site-header{
  background: var(--burgundy);
  border-bottom: 4px solid var(--gold);
}
.header-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 10px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  color:#fff;
  text-decoration:none;
  min-width: 0;
}
.brand:hover{ text-decoration:none; }

.brand-logo{
  width: 76px;
  height: 46px;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.25);
  border-radius: 4px;
  background:#fff;
}
.brand-text{ min-width:0; }
.brand-title{ font-weight: 800; letter-spacing:.02em; }
.brand-sub{ font-size: 12px; opacity:.9; }

.menu-btn{
  display:none;
  background: var(--gold);
  border: 1px solid #d4a800;
  border-radius: 4px;
  font-weight: 800;
  padding: 8px 10px;
  cursor:pointer;
}

.nav{
  display:flex;
  align-items:center;
  gap: 10px;
}
.nav a{
  color:#fff;
  font-weight: 800;
  padding: 8px 10px;
  border-radius: 4px;
}
.nav a:hover{
  background: rgba(0,0,0,.16);
  color: var(--gold-light);
  text-decoration:none;
}

/* Topbar */
.topbar{
  background: #f6f6f6;
  border-bottom: 1px solid var(--border);
}
.topbar-row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding: 8px 0;
  font-size: 13px;
}
.topbar-link{
  color: var(--burgundy);
  font-weight: 800;
}
.sep{ color:#999; padding: 0 6px; }

/* Hero */
.hero{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 14px;
  padding: 14px 0;
}

.hero h1{
  margin: 0 0 6px;
  color: var(--burgundy);
  font-size: clamp(26px, 3.2vw, 44px);
}
.lead{
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 16px;
}

.cta-row{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 8px 0 8px;
}

.bullets{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: #fff;
}
.bullets div{ margin: 4px 0; }

.hero-right{
  display:flex;
  flex-direction:column;
  gap: 8px;
}
.hero-img{
  width:100%;
  height:auto;
  aspect-ratio: 16/10;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-caption{
  font-size: 13px;
  color: #444;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 10px;
  background:#fffbe6;
}

/* Sections */
.section{ padding: 12px 0 18px; }
.section-title{
  background: var(--burgundy);
  color:#fff;
  font-weight: 900;
  padding: 8px 10px;
  border-radius: 4px;
  margin: 10px 0 10px;
  border-left: 6px solid var(--gold);
}

.box{
  background:#fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow);
}

.muted{ color: var(--muted); }

/* Filters */
.filters{
  display:flex;
  gap: 10px;
  align-items:end;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.filters label{
  display:flex;
  flex-direction:column;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color:#222;
}
input, select{
  padding: 9px 10px;
  border: 1px solid #bfbfbf;
  border-radius: 4px;
  background:#fff;
  color:#111;
  min-width: 220px;
}
input:focus, select:focus{
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(242,195,0,.22);
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 4px;
  font-weight: 900;
  border: 1px solid transparent;
  cursor:pointer;
  text-decoration:none;
}

.btn-gold{
  background: var(--gold);
  border-color: #d4a800;
  color:#000;
}
.btn-gold:hover{
  background: var(--gold-light);
  text-decoration:none;
}

.btn-outline{
  background:#fff;
  border-color: #bfbfbf;
  color: var(--burgundy);
}
.btn-outline:hover{
  border-color: var(--burgundy);
  text-decoration:none;
}

/* Boats grid */
.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.boat{
  background:#fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
}

.boat img{
  width:100%;
  height:auto;
  aspect-ratio: 16/10;
  object-fit: cover;
  display:block;
  border-bottom: 1px solid var(--border);
}

.boat-body{ padding: 10px 10px 12px; }
.boat-title{
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--burgundy);
}
.boat-text{
  margin: 0 0 10px;
  color: #333;
  font-size: 13px;
}

.badges{
  display:flex;
  flex-wrap:wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.badge{
  font-size: 12px;
  font-weight: 900;
  background:#f3f3f3;
  border: 1px solid #d7d7d7;
  border-radius: 999px;
  padding: 4px 8px;
  color:#333;
}

.boat-actions{
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Two column blocks */
.two-col{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.map-box iframe{
  width:100%;
  height: 320px;
  border: 0;
  display:block;
}

/* Contact */
.contact-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.contact-card{
  background:#fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px;
}
.contact-card:hover{
  border-color: var(--burgundy);
  text-decoration:none;
}
.contact-label{
  font-size: 12px;
  font-weight: 900;
  color:#444;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.contact-value{
  margin-top: 6px;
  font-size: 16px;
  font-weight: 900;
  color:#111;
}

/* Footer */
.footer{
  margin-top: 16px;
  border-top: 3px solid var(--burgundy);
  background:#fff;
}
.footer-row{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  padding: 12px 0 70px; /* space for sticky bar on mobile */
  font-size: 13px;
}

/* Sticky mobile bar */
.sticky-bar{
  position:fixed;
  left:0; right:0; bottom:0;
  display:none;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(123,15,27,.96);
  border-top: 4px solid var(--gold);
}
.sticky-bar .btn{
  flex: 1;
}
.sticky-bar .btn-outline{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.30);
  color: #fff;
}

/* Responsive */
@media (max-width: 900px){
  .grid{ grid-template-columns: repeat(2, 1fr); }
  .two-col{ grid-template-columns: 1fr; }
  .hero{ grid-template-columns: 1fr; }
}

@media (max-width: 680px){
  .nav{
    display:none;
    position:absolute;
    right: 4vw;
    top: 62px;
    background: var(--burgundy);
    border: 2px solid rgba(255,255,255,.18);
    border-radius: 6px;
    padding: 8px;
    flex-direction: column;
    min-width: 190px;
    z-index: 50;
  }
  .nav.open{ display:flex; }
  .menu-btn{ display:inline-flex; }

  .topbar-row{
    flex-direction: column;
    align-items:flex-start;
  }
  input, select{ min-width: 0; width: 100%; }

  .grid{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }

  .sticky-bar{ display:flex; }
}
/* ============================
   DESKTOP POLISH (keep old colors)
   Paste at very bottom of styles.css
   ============================ */

/* widen overall canvas a bit on large screens */
@media (min-width: 1100px){
  .wrap{ width: min(1200px, 92vw); }
}

/* header: align + spacing like a real desktop site */
@media (min-width: 900px){
  .header-row{
    padding: 14px 0;
  }

  .brand-logo{
    width: 92px;
    height: 56px;
  }

  .brand-title{
    font-size: 20px;
  }

  .brand-sub{
    font-size: 13px;
  }

  .nav{
    gap: 6px;
  }

  /* make desktop nav feel like the original “buttony” menu */
  .nav a{
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.20);
    padding: 10px 12px;
  }
  .nav a:hover{
    background: var(--gold);
    border-color: #d4a800;
    color: #000;
  }
}

/* hero: give it a real “desktop split” layout */
@media (min-width: 900px){
  .hero{
    grid-template-columns: 1.1fr .9fr;
    gap: 22px;
    padding: 24px 0 10px;
    align-items: start;
  }

  .hero-left{
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: #fff;
  }

  .hero h1{
    font-size: 46px;
    line-height: 1.05;
    margin-bottom: 10px;
  }

  .lead{
    font-size: 18px;
    max-width: 55ch;
  }

  .cta-row{
    margin-top: 14px;
  }

  .hero-right{
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: #fff;
  }

  .hero-img{
    aspect-ratio: 16/9;
  }
}

/* section titles: more “desktop” */
@media (min-width: 900px){
  .section{
    padding: 18px 0 26px;
  }

  .section-title{
    font-size: 18px;
    padding: 10px 12px;
    margin: 18px 0 12px;
  }
}

/* boats grid: 3-up on desktop, nicer cards */
@media (min-width: 900px){
  .grid{
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .boat{
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
  }
  .boat:hover{
    transform: translateY(-3px);
    border-color: var(--burgundy);
    box-shadow: 0 10px 22px rgba(0,0,0,.14);
  }

  .boat-body{
    padding: 12px 12px 14px;
  }

  .boat-title{
    font-size: 17px;
  }

  .boat-text{
    font-size: 14px;
    min-height: 38px;
  }
}

/* filters: don’t stack awkwardly on desktop */
@media (min-width: 900px){
  .filters{
    flex-wrap: nowrap;
    align-items: end;
  }

  .filters label{
    min-width: 260px;
  }
  #searchText{
    min-width: 360px;
  }
}

/* location: make map feel balanced on desktop */
@media (min-width: 900px){
  .two-col{
    grid-template-columns: 1fr 1.1fr;
    align-items: stretch;
  }

  .map-box iframe{
    height: 360px;
  }
}

/* contact: 3-up cards with consistent height */
@media (min-width: 900px){
  .contact-card{
    min-height: 96px;
    display:flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* footer: remove huge mobile padding on desktop */
@media (min-width: 900px){
  .footer-row{
    padding-bottom: 16px;
  }
}

/* sticky bar: only mobile */
@media (min-width: 681px){
  .sticky-bar{ display:none !important; }
}