/* Maiami Crew — shared stylesheet */

:root {
  --navy: #003c8d;
  --accent: #0061ab;
  --light-blue: #e1f9ff;
  --navbar-blue: #c3e3ff;
  --navy-dark: #062544;
  --ink: #1c2b39;
  --white: #ffffff;
  --max-width: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4, .headline {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  color: var(--navy);
  letter-spacing: 0.02em;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */

.site-header {
  background: var(--navbar-blue);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-top: 14px;
  padding-bottom: 14px;
}
.site-header .logo-link { justify-self: start; }
.site-header .main-nav { justify-self: center; }
.site-header .nav-toggle { justify-self: end; }

.logo-link { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.logo-link img { height: 28px; width: auto; display: block; }
.logo-link .crew-word {
  display: block;
  width: 100%;
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.5em;
  color: var(--navy);
  margin-top: 4px;
}

.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 500;
}
.main-nav a:hover, .main-nav a.active { color: var(--accent); text-decoration: none; border-bottom: 2px solid var(--accent); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background: var(--navy);
}

/* Transparent nav variant, overlaid on the home hero photo */
.site-header.overlay {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: linear-gradient(to bottom, rgba(6,37,68,0.55), rgba(6,37,68,0));
}
.site-header.overlay .logo-link .crew-word,
.site-header.overlay .main-nav a { color: var(--white); }
.site-header.overlay .main-nav a:hover, .site-header.overlay .main-nav a.active { color: var(--navbar-blue); border-bottom-color: var(--navbar-blue); }
.site-header.overlay .nav-toggle span { background: var(--white); }

/* ---------- Full-page mockup images ---------- */
/* Shown at native resolution (never upscaled) and centered, so they stay sharp on large screens. */
.full-page-img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.w-1024 { max-width: 1024px; }
.w-1221 { max-width: 1221px; }
.w-1613 { max-width: 1613px; }

.hero-wrap { position: relative; max-width: 1613px; margin: 0 auto; }
.hero-wrap img { width: 100%; height: auto; display: block; }
.hero-wrap.w-1024 { max-width: 1024px; }
.hero-wrap.w-1221 { max-width: 1221px; }

/* Invisible clickable overlay placed over a button that's baked into a mockup image */
.img-link-overlay {
  position: absolute;
  display: block;
  z-index: 3;
}
.img-link-overlay:hover { outline: 2px solid rgba(255,255,255,0.6); outline-offset: -2px; border-radius: 999px; }

.hero-overlay-text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 88%;
  max-width: 780px;
  text-align: center;
  z-index: 2;
}
.hero-overlay-text p {
  font-family: 'Work Sans', sans-serif;
  color: #1c3a52;
  font-size: 22px;
  line-height: 1.4;
  margin: 0;
  text-shadow: 0 1px 12px rgba(255,255,255,0.35);
}
@media (max-width: 700px) {
  .hero-overlay-text p { font-size: 15px; }
}

.hero-title-overlay {
  position: absolute;
  left: 5%;
  z-index: 2;
}
.hero-title-overlay h1 {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--white);
  font-size: 56px;
  letter-spacing: 0.01em;
  margin: 0;
  text-shadow: 0 2px 18px rgba(0,0,0,0.45);
}
.hero-title-overlay p {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  color: var(--white);
  font-size: 15px;
  letter-spacing: 0.1em;
  margin: 8px 0 0;
  text-shadow: 0 1px 10px rgba(0,0,0,0.45);
}
@media (max-width: 700px) {
  .hero-title-overlay h1 { font-size: 28px; }
  .hero-title-overlay p { font-size: 10px; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--navy-dark);
}
.hero img { width: 100%; height: auto; display: block; }
.hero-home { position: relative; }

.page-hero-caption {
  padding: 40px 0 10px;
}
.eyebrow {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.25em;
  font-size: 13px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

/* ---------- Sections ---------- */

section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
.bg-light { background: var(--light-blue); }
.bg-navy { background: var(--navy-dark); color: var(--white); }
.bg-navy h2, .bg-navy h3, .bg-navy .headline { color: var(--white); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.two-col > div { display: flex; flex-direction: column; justify-content: center; }
.two-col .pad { padding: 56px; }
.two-col img { width: 100%; height: 100%; object-fit: cover; }

/* Use when the photo is a narrow/portrait crop that would otherwise stretch the row too tall */
.two-col.fixed-height { align-items: stretch; }
.two-col.fixed-height img { height: 560px; max-height: 70vh; object-fit: cover; }
@media (max-width: 860px) {
  .two-col.fixed-height img { height: 320px; }
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,60,141,0.08);
}
.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card .card-body { padding: 20px 22px 26px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card a.card-link { font-family: 'Oswald', sans-serif; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }

.btn {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 14px;
  padding: 15px 30px;
  background: var(--accent);
  color: var(--white) !important;
  border-radius: 999px;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
}
.btn:hover { background: var(--navy); }
.btn-outline { background: transparent; border: 2px solid var(--navy); color: var(--navy) !important; }
.btn-outline:hover { background: var(--navy); color: var(--white) !important; }

.wave {
  width: 60px;
  height: auto;
  margin: 12px 0;
}

.tagline-band {
  text-align: center;
  padding: 20px 0;
}
.tagline-band p {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  color: var(--navy);
  margin: 0;
}

table.size-chart {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Work Sans', sans-serif;
}
table.size-chart th, table.size-chart td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0,60,141,0.15);
}
table.size-chart th {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--navy);
}

.icon-feature svg { width: 40px; height: 40px; stroke: var(--navy); margin-bottom: 10px; }
.icon-feature p { font-family: 'Oswald', sans-serif; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--navy); margin: 0; }

.price-badge {
  display: inline-block;
  background: var(--light-blue);
  color: var(--navy);
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  letter-spacing: 0.05em;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 16px;
}

blockquote {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  color: var(--navy);
  text-align: center;
  border: none;
  margin: 0 auto;
  max-width: 760px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 48px 0 24px;
}
.site-footer .footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}
.site-footer .logo-link img { height: 24px; }
.site-footer .logo-link .crew-word { color: var(--white); }
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { color: var(--navbar-blue); font-family: 'Oswald', sans-serif; font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; }
.footer-social a { color: var(--white); margin-right: 14px; font-size: 20px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 18px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navbar-blue);
    padding: 16px 24px 24px;
    gap: 16px;
  }
  .site-header.overlay .main-nav.open { background: var(--navy-dark); }
  .two-col { grid-template-columns: 1fr; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .two-col .pad { padding: 36px 24px; }
  section { padding: 44px 0; }
}
