/* ══════════════════════════════════════════
   Handlebar Nantucket — style.css
   Palette: Navy · Cream · Amber · Sky Blue
   Fonts: Cormorant Garamond + DM Sans
════════════════════════════════════════════ */

:root {
  --navy:    #1B2B4B;
  --navy-dk: #0F1C35;
  --cream:   #FAF8F3;
  --sand:    #EDE8DC;
  --amber:   #C4793A;
  --sky:     #4A7FA5;
  --text:    #2A2A2A;
  --muted:   #6B6B6B;
  --white:   #FFFFFF;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
}

/* ─── TYPOGRAPHY UTILITIES ─── */
.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.5rem;
}
.section-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.section-body {
  color: var(--muted);
  font-size: 0.97rem;
  margin-bottom: 1rem;
  max-width: 520px;
}

/* ─── NAVBAR ─── */
#mainNav {
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease;
  padding: 1rem 0;
}
#mainNav.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,0.18);
  padding: 0.6rem 0;
}
.navbar-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
}
.brand-main {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
}
.brand-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.nav-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85) !important;
  padding: 0.5rem 0.85rem !important;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--white) !important; }

.navbar-toggler {
  border-color: rgba(255,255,255,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(255,255,255,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ─── HERO ─── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: url('img/hero.webp') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.04) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.10) 45%, rgba(0,0,0,0.45) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem 1.5rem;
  background: rgba(0,0,0,0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 4px;
  max-width: 680px;
  width: 92%;
}
.hero-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.75rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8);
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(3.5rem, 10vw, 6.5rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.75rem;
  text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.8);
}
.hero-subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,0.92);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.85);
}
.hero-tagline {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.9);
}
.hero-ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.75rem; }

.btn-hero-primary {
  background: var(--amber);
  color: var(--white);
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.75rem 2rem;
  border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
}
.btn-hero-primary:hover { background: #b36630; color: var(--white); transform: translateY(-1px); }

.btn-hero-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.6);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.75rem 2rem;
  border-radius: 2px;
  transition: background 0.2s, border-color 0.2s;
}
.btn-hero-outline:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.9); color: var(--white); }

/* ─── FEATURES STRIP ─── */
.features-strip {
  background: var(--navy);
}
.feature-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.25rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.feature-cell:last-child { border-right: none; }
.feature-cell i {
  font-size: 1.4rem;
  color: var(--amber);
  margin-bottom: 0.6rem;
}
.feature-cell h6 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.feature-cell p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin: 0;
}
@media (max-width: 575px) {
  .feature-cell { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .feature-cell:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08); }
  .feature-cell:last-child, .feature-cell:nth-last-child(2):nth-child(odd) { border-bottom: none; }
}

/* ─── ABOUT ─── */
.about-section {
  background: var(--cream);
  padding: 6rem 0;
}
.about-img-wrap {
  position: relative;
}
.about-img-wrap::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--amber);
  border-radius: 3px;
  opacity: 0.35;
  z-index: 0;
}
.about-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center top;
  border-radius: 3px;
  position: relative;
  z-index: 1;
  display: block;
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border: none;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.75rem 2rem;
  border-radius: 2px;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-navy:hover { background: var(--navy-dk); color: var(--white); }

/* ─── COFFEE BLENDS ─── */
.blends-section {
  background: var(--navy-dk);
}
.blends-img-col {
  overflow: hidden;
  min-height: 460px;
}
.blends-img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  display: block;
}
.blends-text-col {
  padding: 4rem 5%;
}
.blends-inner { max-width: 500px; }
.section-label.light { color: var(--amber); }
.section-heading.light { color: var(--white); }
.section-body.light { color: rgba(255,255,255,0.65); }
.blend-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.blend-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
}
.blend-list li:last-child { border-bottom: none; }
.blend-list strong {
  color: var(--white);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  font-style: italic;
}
.blend-list span {
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
  margin-top: 0.2rem;
}
.btn-amber {
  background: var(--amber);
  color: var(--white);
  border: none;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.75rem 2rem;
  border-radius: 2px;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-amber:hover { background: #b36630; color: var(--white); }

/* ─── MENU ─── */
.menu-section {
  background: var(--sand);
  padding: 6rem 0;
}
.menu-subhead {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-top: -0.5rem;
}
.menu-category {
  background: var(--white);
  border-radius: 4px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.menu-cat-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 2px solid var(--amber);
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
  display: inline-block;
}
.menu-subcat {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 1.5rem 0 0.75rem;
}
.menu-items { display: flex; flex-direction: column; gap: 0; }
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.45rem 0;
  border-bottom: 1px dotted rgba(0,0,0,0.08);
}
.menu-item:last-child { border-bottom: none; }
.mi-name {
  font-size: 0.875rem;
  color: var(--text);
}
.mi-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--amber);
  white-space: nowrap;
  margin-left: 1rem;
}
.menu-note {
  font-size: 0.72rem;
  color: var(--muted);
  font-style: italic;
  padding: 0.25rem 0 0.5rem;
}
.pastries-note {
  background: var(--white);
  border-left: 3px solid var(--amber);
  padding: 1rem 1.5rem;
  border-radius: 0 4px 4px 0;
  font-size: 0.875rem;
  color: var(--muted);
  text-align: left;
  display: inline-block;
}
.pastries-note i { color: var(--amber); }
.pastries-note strong { color: var(--text); }

/* ─── GALLERY ─── */
.gallery-section {
  background: var(--cream);
  padding: 6rem 0 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 340px);
  gap: 3px;
  margin-top: 2rem;
}
.gallery-cell { overflow: hidden; }
.gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-cell:hover img { transform: scale(1.04); }

@media (max-width: 767px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 260px);
  }
}
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 200px);
  }
}

/* ─── CALLOUT ─── */
.callout-section {
  position: relative;
}
.callout-img-wrap {
  position: relative;
  height: 480px;
  overflow: hidden;
}
.callout-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.callout-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,28,53,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}
.callout-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 600;
  color: var(--white);
  text-align: center;
  padding: 0 1.5rem;
  max-width: 700px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
  margin: 0;
}

/* ─── STORE ─── */
.store-section {
  background: var(--cream);
  padding: 6rem 0;
}
.store-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
  transition: box-shadow 0.25s, transform 0.25s;
  height: 100%;
}
.store-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}
.store-img-wrap {
  background: var(--sand);
  aspect-ratio: 1;
  overflow: hidden;
}
.store-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}
.store-card:hover .store-img { transform: scale(1.04); }
.store-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1rem 0.5rem;
}
.store-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  margin: 0;
}
.store-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--amber);
}
.btn-store {
  margin: 0.4rem 1rem 1rem;
  background: var(--navy);
  color: var(--white);
  border: none;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.6rem 1rem;
  border-radius: 2px;
  transition: background 0.2s;
  text-align: center;
  display: block;
}
.btn-store:hover { background: var(--navy-dk); color: var(--white); }

/* ─── CONTACT ─── */
.contact-section {
  background: var(--sand);
  padding: 6rem 0;
}
.contact-block { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-item i {
  font-size: 1.15rem;
  color: var(--amber);
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.contact-item strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.contact-item p { margin: 0; font-size: 0.9rem; color: var(--text); }
.contact-item a { color: var(--navy); text-decoration: none; }
.contact-item a:hover { color: var(--amber); }
.map-wrap {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.1);
}
.map-wrap iframe { display: block; }

/* ─── FOOTER ─── */
.site-footer {
  background: var(--navy-dk);
  color: rgba(255,255,255,0.6);
  padding: 3.5rem 0 2rem;
}
.footer-name {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.footer-tag {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin: 0;
}
.footer-social a {
  color: rgba(255,255,255,0.55);
  font-size: 1.3rem;
  margin: 0 0.5rem;
  transition: color 0.2s;
  text-decoration: none;
}
.footer-social a:hover { color: var(--amber); }
.footer-links a {
  color: rgba(255,255,255,0.45);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  margin-left: 1.2rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-divider {
  border-color: rgba(255,255,255,0.08);
  margin: 2rem 0 1.5rem;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  margin: 0.25rem 0;
}
.powered-by a {
  color: var(--amber);
  text-decoration: none;
}
.powered-by a:hover { text-decoration: underline; }

/* ─── RESPONSIVE ─── */
@media (max-width: 991px) {
  .blends-img-col { min-height: 320px; }
  .blends-img { min-height: 320px; }
  .blends-text-col { padding: 3rem 2rem; }
  .blends-inner { max-width: 100%; }
  .about-section { padding: 4rem 0; }
  .about-img { height: 380px; }
}
@media (max-width: 767px) {
  .menu-section, .contact-section, .store-section { padding: 4rem 0; }
  .gallery-section { padding: 4rem 0 0; }
  .about-section { padding: 4rem 0; }
  .callout-img-wrap { height: 320px; }
  .footer-social { padding: 1.25rem 0; }
  .footer-links { text-align: center !important; margin-top: 0.5rem; }
  .footer-links a { margin: 0 0.5rem; }
}
