/* ==========================================================================
   Bayshore Plaza — styles.css
   Palette: deep sea teal / teal / sand / mango accent
   Mobile-first (~380px), scales up at 640px and 960px
   ========================================================================== */

:root {
  --ink: #12302f;          /* near-black teal ink */
  --sea-deep: #0c4a4e;     /* deep sea teal — headers, footer */
  --sea: #12807a;          /* primary teal — links, buttons */
  --sea-soft: #e3f0ee;     /* pale teal wash */
  --sand: #f6f1e7;         /* page background */
  --sand-deep: #eae0cc;    /* card borders, dividers */
  --mango: #e9a13b;        /* warm accent — highlights, badges */
  --coral: #d95d39;        /* small warm details only */
  --white: #ffffff;
  --whatsapp: #1fa855;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(18, 48, 47, 0.08), 0 4px 14px rgba(18, 48, 47, 0.06);
  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Instrument Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}

img, iframe { max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.5rem;
  color: var(--sea-deep);
}

h1 { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: 1.5rem; font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }

p { margin: 0 0 1rem; }

a { color: var(--sea); }

:focus-visible {
  outline: 3px solid var(--mango);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* --- Signature: awning stripe (teal / sand / mango), used at the top of
       every page and above key cards — echoes shopfront awnings --------- */
.awning {
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--sea-deep) 0 28px,
    var(--sand) 28px 56px,
    var(--mango) 56px 84px,
    var(--sand) 84px 112px
  );
}

/* --- Layout helpers ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 1.1rem;
}

.section { padding: 2.6rem 0; }
.section--tint { background: var(--sea-soft); }
.section--deep { background: var(--sea-deep); color: var(--sand); }
.section--deep h2, .section--deep h3 { color: var(--sand); }
.section--deep a { color: var(--mango); }
/* buttons keep their own text colors inside dark sections */
.section--deep a.btn--whatsapp { color: var(--white); }
.section--deep a.btn--sand { color: var(--ink); }
.section--deep a.btn--primary { color: var(--white); }
.section--deep a.btn--ghost { color: var(--sand); border-color: var(--sand); }

.eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.4rem;
}
.section--deep .eyebrow { color: var(--mango); }

.lede { font-size: 1.05rem; max-width: 34em; }

/* --- Header / nav ------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--sand-deep);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1.1rem;
  max-width: 1060px;
  margin: 0 auto;
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--sea-deep);
  text-decoration: none;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand__mark {
  width: 28px;
  height: 28px;
  flex: none;
}

.nav-toggle {
  appearance: none;
  background: none;
  border: 1px solid var(--sand-deep);
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
  font: inherit;
  color: var(--sea-deep);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--sand-deep);
  box-shadow: var(--shadow);
  padding: 0.5rem 1.1rem 1rem;
}

.site-nav.is-open { display: block; }

.site-nav a {
  display: block;
  padding: 0.65rem 0.2rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid var(--sand);
}

.site-nav a[aria-current="page"] { color: var(--sea); font-weight: 600; }

@media (min-width: 640px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    position: static;
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
    gap: 1.4rem;
  }
  .site-nav a { border: 0; padding: 0.2rem 0; }
}

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--sea); color: var(--white); }
.btn--primary:hover { box-shadow: 0 4px 14px rgba(18, 128, 122, 0.35); }

.btn--ghost { border-color: var(--sea); color: var(--sea); background: transparent; }
.btn--ghost:hover { background: var(--sea-soft); }

.btn--sand { background: var(--mango); color: var(--ink); }
.btn--sand:hover { box-shadow: 0 4px 14px rgba(233, 161, 59, 0.4); }

.btn--whatsapp { background: var(--whatsapp); color: var(--white); }
.btn--whatsapp:hover { box-shadow: 0 4px 14px rgba(31, 168, 85, 0.35); }

.btn--small { padding: 0.5rem 0.95rem; font-size: 0.88rem; }

/* --- Hero ---------------------------------------------------------------- */
.hero {
  background: var(--sea-deep);
  color: var(--sand);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  gap: 1.6rem;
  padding-top: 2.6rem;
  padding-bottom: 2.8rem;
}

.hero .eyebrow { color: var(--mango); }

.hero h1 { color: var(--white); font-size: 2.4rem; margin-bottom: 0.7rem; }
.hero .lede { color: #cfe3df; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Hero image placeholder — replace with a real photo of the plaza */
.hero__media {
  border-radius: var(--radius);
  min-height: 210px;
  background:
    linear-gradient(160deg, rgba(12, 74, 78, 0.15), rgba(12, 74, 78, 0.55)),
    linear-gradient(120deg, #12807a 0%, #0c4a4e 55%, #123c3f 100%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  position: relative;
}

.hero__media::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: repeating-linear-gradient(
    90deg,
    rgba(233, 161, 59, 0.18) 0 18px,
    transparent 18px 36px
  );
  border-radius: 0 0 var(--radius) var(--radius);
  pointer-events: none;
}

.hero__media-note {
  font-size: 0.8rem;
  color: rgba(246, 241, 231, 0.85);
  background: rgba(12, 74, 78, 0.6);
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  position: relative;
}

/* Signboard strip — plaza-style hours marquee under the hero */
.signboard {
  background: var(--mango);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  text-align: center;
  padding: 0.55rem 1rem;
}

@media (min-width: 960px) {
  .hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  .hero h1 { font-size: 3.1rem; }
  .hero__media { min-height: 320px; }
}

/* --- Amenity grid --------------------------------------------------------- */
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.amenity {
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: var(--radius);
  padding: 0.95rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 500;
  font-size: 0.92rem;
}

.amenity svg {
  width: 26px;
  height: 26px;
  flex: none;
  color: var(--sea);
}

@media (min-width: 640px) { .amenity-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .amenity-grid { grid-template-columns: repeat(4, 1fr); } }

/* --- Map / visit --------------------------------------------------------- */
.map-embed {
  border: 0;
  width: 100%;
  height: 300px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}

.visit-grid {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.visit-card {
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
}

.visit-card h3 { display: flex; align-items: center; gap: 0.5rem; }
.visit-card svg { width: 20px; height: 20px; color: var(--coral); flex: none; }
.visit-card p { margin: 0.3rem 0 0; font-size: 0.95rem; }

@media (min-width: 640px) { .visit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .visit-grid { grid-template-columns: repeat(4, 1fr); } }

/* --- Directory ------------------------------------------------------------ */
.filters {
  display: grid;
  gap: 0.8rem;
  margin: 1.4rem 0 1.6rem;
}

.search-input {
  width: 100%;
  padding: 0.8rem 1rem;
  font: inherit;
  border: 1.5px solid var(--sand-deep);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
}
.search-input:focus { border-color: var(--sea); outline: none; }

.chip-row {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.3rem;
  -webkit-overflow-scrolling: touch;
}

.chip {
  flex: none;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1.5px solid var(--sand-deep);
  background: var(--white);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
}

.chip[aria-pressed="true"] {
  background: var(--sea-deep);
  border-color: var(--sea-deep);
  color: var(--sand);
}

.shop-grid {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 640px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .shop-grid { grid-template-columns: repeat(3, 1fr); } }

.shop-card {
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  border-top: 4px solid var(--sea);
}

.shop-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.6rem;
}

.shop-card h3 { margin: 0; }

/* Unit plate — styled like the plaza's physical unit signage */
.unit-plate {
  flex: none;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: var(--sea-deep);
  color: var(--sand);
  border-radius: 6px;
  padding: 0.25rem 0.5rem;
  text-transform: uppercase;
}

.shop-card__cat {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
}

.shop-card__meta { font-size: 0.92rem; color: #4b5f5e; margin: 0; }

.shop-card__actions { margin-top: auto; display: flex; gap: 0.5rem; padding-top: 0.5rem; }

.results-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  color: #4b5f5e;
}

.results-count { font-size: 0.88rem; color: #4b5f5e; margin: -0.6rem 0 1rem; }

/* --- Demo shop page -------------------------------------------------------- */
.demo-banner {
  background: var(--coral);
  color: var(--white);
  text-align: center;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.6rem 1rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin: 1.2rem 0;
}

.gallery__item {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--sea-soft), var(--sand-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5b6f6d;
  font-size: 0.8rem;
  text-align: center;
  padding: 0.5rem;
}

.gallery__item:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }

img.gallery__item { object-fit: cover; padding: 0; display: block; width: 100%; height: 100%; }

@media (min-width: 640px) {
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .gallery__item:first-child { grid-column: 1 / 3; grid-row: 1 / 3; aspect-ratio: auto; }
}

.hours-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours-table td { padding: 0.45rem 0; border-bottom: 1px solid var(--sand); }
.hours-table td:last-child { text-align: right; font-weight: 500; }

.badge-listed {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--sea-soft);
  border: 1px solid var(--sea);
  color: var(--sea-deep);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.badge-listed svg { width: 16px; height: 16px; color: var(--sea); }

.insta-placeholder {
  border: 2px dashed var(--sand-deep);
  border-radius: var(--radius);
  padding: 2rem 1rem;
  text-align: center;
  color: #5b6f6d;
  font-size: 0.9rem;
  background: var(--white);
}

.two-col { display: grid; gap: 1.6rem; }
@media (min-width: 960px) { .two-col { grid-template-columns: 1.2fr 0.8fr; align-items: start; } }

/* --- Pricing (for-businesses) ---------------------------------------------- */
.benefit-list { display: grid; gap: 0.9rem; margin-top: 1.4rem; }
@media (min-width: 640px) { .benefit-list { grid-template-columns: repeat(3, 1fr); } }

.benefit {
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: var(--radius);
  padding: 1.2rem 1.15rem;
}
.benefit svg { width: 30px; height: 30px; color: var(--sea); margin-bottom: 0.6rem; }
.benefit p { margin: 0; font-size: 0.95rem; }

.pricing-grid { display: grid; gap: 1rem; margin-top: 1.6rem; }
@media (min-width: 960px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.plan {
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.plan--featured {
  border: 2px solid var(--mango);
  box-shadow: var(--shadow);
  position: relative;
}

.plan__flag {
  position: absolute;
  top: -0.8rem;
  left: 1.1rem;
  background: var(--mango);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}

.plan__price {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--sea-deep);
}
.plan__price small { font-size: 0.85rem; font-weight: 500; color: #4b5f5e; }

.plan ul { margin: 0; padding: 0 0 0 1.1rem; font-size: 0.94rem; display: grid; gap: 0.35rem; }
.plan .btn { margin-top: auto; }

/* --- Leasing / contact ------------------------------------------------------ */
.contact-block {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}
@media (min-width: 640px) { .contact-block { grid-template-columns: 1fr 1fr; } }

/* --- Footer ------------------------------------------------------------------ */
.site-footer {
  background: var(--sea-deep);
  color: #b8d0cc;
  font-size: 0.9rem;
  padding: 2.2rem 0 5rem; /* bottom padding clears the mobile CTA bar */
}

.site-footer a { color: var(--sand); }

.site-footer__grid { display: grid; gap: 1.4rem; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(3, 1fr); } }

.site-footer h3 { color: var(--sand); font-size: 0.95rem; }

.site-footer .credit {
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(246, 241, 231, 0.15);
  font-size: 0.85rem;
}

/* Mobile sticky call/WhatsApp bar */
.mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  background: var(--white);
  border-top: 1px solid var(--sand-deep);
  box-shadow: 0 -3px 12px rgba(18, 48, 47, 0.1);
}

.mobile-cta a {
  flex: 1;
  text-align: center;
  padding: 0.85rem 0.5rem;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--sea-deep);
}

.mobile-cta a + a { border-left: 1px solid var(--sand-deep); }

@media (min-width: 960px) {
  .mobile-cta { display: none; }
  .site-footer { padding-bottom: 2.2rem; }
}
