/* home.css — Landing page styles for ELI Coffee Events */

/* ─── CSS CUSTOM PROPERTIES ─────────────────────────────────────── */
:root {
  --brown-dark:    #1E0C03;
  --brown-primary: #3D1A0A;
  --brown-mid:     #6B3820;
  --brown-light:   #B07D5A;
  --brown-pale:    #DFC3A8;
  --cream:         #FAF8F4;
  --cream-dark:    #F2EBE0;
  --white:         #FFFFFF;
  --text-dark:     #1E0D04;
  --text-mid:      #5A3420;
  --text-light:    #9E7558;
  --border:        rgba(61,26,10,0.10);
  --font-display:  'Cormorant Garamond', Georgia, serif;
  --font-body:     'Inter', system-ui, sans-serif;
}

/* ─── BASE OVERRIDES ─────────────────────────────────────────────── */
/* Override Kumbh Sans set by styles.css global * rule */
body {
  background: var(--cream);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
* { font-family: inherit; }

/* ─── NAVBAR OVERRIDES ───────────────────────────────────────────── */
.navbar {
  background: rgba(250,248,244,0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  height: 72px;
  box-shadow: none;
}

.navbar__container {
  height: 72px;
  max-width: 1440px;
  padding: 0 64px;
}

.navbar__links {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
}

.navbar__links:hover {
  color: var(--brown-primary);
}

.navbar__item {
  height: 72px;
}

.navbar__btn .button {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--brown-primary);
  border-radius: 2px;
  padding: 10px 22px;
  transition: background .2s;
}

.navbar__btn .button:hover {
  background: var(--brown-dark);
  transition: background .2s;
}

/* ─── SHARED UTILITIES ───────────────────────────────────────────── */
.section-wrap    { padding: 96px 64px; }
.section-wrap-sm { padding: 72px 64px; }
.section-bg      { background: var(--cream-dark); }

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brown-light);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--brown-light);
  flex-shrink: 0;
}

.h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 400;
  line-height: 1.08;
  color: var(--text-dark);
}
.h2 em { font-style: italic; font-weight: 300; }

.btn-primary {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--brown-primary);
  padding: 13px 28px;
  border-radius: 2px;
  transition: background .2s;
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--brown-dark);
  color: var(--white);
}

.btn-ghost {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.48);
  padding: 13px 28px;
  border-radius: 2px;
  transition: border-color .2s, background .2s;
  text-decoration: none;
}
.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.08);
}

/* ─── HERO ───────────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  height: calc(100vh - 72px);
  min-height: 560px;
  max-height: 900px;
  overflow: hidden;
}
.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20,8,2,.30) 0%,
    rgba(20,8,2,.62) 45%,
    rgba(20,8,2,.75) 70%,
    rgba(20,8,2,.80) 100%
  );
}
.hero-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 48px;
  color: var(--white);
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brown-pale);
  margin-bottom: 22px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7.5vw, 96px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -.01em;
  margin-bottom: 24px;
  max-width: 860px;
}
.hero-title em { font-style: italic; }
.hero-sub {
  font-size: 15px;
  font-weight: 400;
  color: #fff;
  max-width: 460px;
  line-height: 1.75;
  margin-bottom: 44px;
  text-shadow:
    0 1px 10px rgba(0,0,0,.70),
    0 0  28px rgba(0,0,0,.45);
}
.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

/* ─── ABOUT ──────────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 3px;
  display: block;
}
.about-badge {
  position: absolute;
  bottom: -28px;
  right: -28px;
  width: 126px;
  height: 126px;
  background: var(--brown-primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  border: 5px solid var(--cream);
  z-index: 1;
}
.about-badge-num  { font-size: 34px; font-weight: 500; line-height: 1; }
.about-badge-lbl  { font-size: 11px; opacity: .80; margin-top: 3px; letter-spacing: .03em; }
.about-text { padding-right: 12px; }
.about-quote {
  font-family: var(--font-display);
  font-size: 21px;
  font-style: italic;
  font-weight: 300;
  color: var(--brown-mid);
  line-height: 1.55;
  border-left: 2px solid var(--brown-pale);
  padding-left: 20px;
  margin: 28px 0;
}
.about-body {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.82;
  margin-bottom: 14px;
}

/* ─── SERVICES ───────────────────────────────────────────────────── */
.services-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 52px;
}
.services-head-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 320px;
  text-align: right;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--white);
  border-radius: 3px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(44,20,6,.11);
}
.service-card-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
.service-card-body { padding: 28px 28px 32px; }
.service-num {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--brown-light);
  margin-bottom: 12px;
}
.service-title {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.2;
}
.service-desc {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.72;
  margin-bottom: 22px;
}
.service-link {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brown-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap .2s;
  text-decoration: none;
}
.service-link:hover { gap: 14px; }
.service-link::after { content: '→'; font-size: 13px; }

/* ─── GALLERY ────────────────────────────────────────────────────── */
.gallery-header {
  max-width: 520px;
  margin: 0 auto 52px;
  text-align: center;
}
.gallery-header .eyebrow { justify-content: center; }
.gallery-header .eyebrow::before { display: none; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 280px 280px;
  gap: 8px;
}
.g-item { overflow: hidden; border-radius: 2px; }
.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
  display: block;
}
.g-item:hover img { transform: scale(1.045); }
.gi1 { grid-column: span 5; }
.gi2 { grid-column: span 4; }
.gi3 { grid-column: span 3; }
.gi4 { grid-column: span 3; }
.gi5 { grid-column: span 5; }
.gi6 { grid-column: span 4; }

/* ─── LOCATIONS ──────────────────────────────────────────────────── */
.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}
.loc-card {
  background: var(--white);
  border-radius: 3px;
  border: 1px solid var(--border);
  padding: 36px 36px 36px 42px;
  position: relative;
  overflow: hidden;
  transition: border-color .2s;
}
.loc-card:hover { border-color: var(--brown-light); }
.loc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--brown-primary);
}
.loc-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brown-light);
  margin-bottom: 10px;
}
.loc-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 18px;
}
.loc-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 8px;
}
.loc-row i {
  color: var(--brown-light);
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 16px;
}
.loc-divider { margin: 18px 0; border: none; border-top: 1px solid var(--border); }
.loc-hours {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-light);
}
.badge-open {
  background: #E8F5E9;
  color: #2E7D32;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 20px;
  white-space: nowrap;
}

/* ─── CTA BANNER ─────────────────────────────────────────────────── */
.cta-banner {
  position: relative;
  height: 440px;
  overflow: hidden;
}
.cta-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  display: block;
}
.cta-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20,8,2,.62);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 40px;
  color: var(--white);
}
.cta-banner-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 66px);
  font-weight: 300;
  line-height: 1.08;
  margin-bottom: 18px;
}
.cta-banner-title em { font-style: italic; }
.cta-banner-sub {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,.78);
  max-width: 420px;
  line-height: 1.75;
  margin-bottom: 36px;
}

/* ─── NEW FOOTER ─────────────────────────────────────────────────── */
.footer-new {
  background: var(--brown-dark);
  color: var(--white);
  padding: 72px 64px 40px;
}
.footer-new-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 52px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 32px;
}
.footer-new-logo {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 18px;
  display: block;
}
.footer-new-brand-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,.50);
  line-height: 1.8;
  max-width: 260px;
}
.footer-new-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.footer-new-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: rgba(255,255,255,.60);
  transition: border-color .2s, color .2s;
  text-decoration: none;
}
.footer-new-social a:hover {
  border-color: var(--white);
  color: var(--white);
}
.footer-new-heading {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 20px;
}
.footer-new-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-new-links a {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  transition: color .2s;
  text-decoration: none;
}
.footer-new-links a:hover { color: var(--white); }
.footer-new-contact-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  color: rgba(255,255,255,.60);
  line-height: 1.55;
  margin-bottom: 12px;
}
.footer-new-contact-row i {
  font-size: 15px;
  color: rgba(255,255,255,.35);
  flex-shrink: 0;
  margin-top: 1px;
}
.footer-new-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,.28);
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────── */

/* ── Mobile: body offset for fixed 72px navbar ── */
@media (max-width: 960px) {
  body { padding-top: 72px; }
  /* Match the mobile hamburger/notification alignment used on account.css and styles.css */
  .navbar__container { padding: 0 24px; }
}

/* ── Large tablet / small desktop ── */
@media (max-width: 1100px) {
  .section-wrap    { padding: 80px 48px; }
  .section-wrap-sm { padding: 60px 48px; }
  .about-grid { gap: 56px; }
  .footer-new { padding: 64px 48px 36px; }
  .footer-new-grid { gap: 36px; }
}

/* Tablet-only navbar padding — scoped above the 960px hamburger breakpoint
   so it never overrides the mobile 24px value set above. */
@media (min-width: 961px) and (max-width: 1100px) {
  .navbar__container { padding: 0 48px; }
}

/* ── Tablet ── */
@media (max-width: 900px) {
  .section-wrap    { padding: 64px 32px; }
  .section-wrap-sm { padding: 52px 32px; }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-img { aspect-ratio: 3/2; }
  .about-img-wrap { padding-bottom: 0; }
  .about-badge {
    bottom: 16px;
    right: 16px;
    width: 96px;
    height: 96px;
    border-width: 4px;
  }
  .about-badge-num { font-size: 26px; }
  .about-text { padding-right: 0; }

  /* Services */
  .services-head { flex-direction: column; gap: 12px; align-items: flex-start; }
  .services-head-desc { text-align: left; max-width: 100%; }
  .services-grid { grid-template-columns: 1fr 1fr; }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 6px;
  }
  .gi1 { grid-column: span 1; }
  .gi2 { grid-column: span 1; }
  .gi3 { grid-column: span 1; }
  .gi4 { grid-column: span 1; }
  .gi5 { grid-column: span 1; }
  .gi6 { grid-column: span 1; }

  /* Locations */
  .locations-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-new { padding: 56px 32px 32px; }
  .footer-new-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 28px;
  }
}

/* ── Mobile ── */
@media (max-width: 640px) {
  .section-wrap    { padding: 52px 20px; }
  .section-wrap-sm { padding: 44px 20px; }

  /* Hero */
  .hero-body { padding: 0 24px; }
  .hero-eyebrow { margin-bottom: 16px; }
  .hero-sub { font-size: 14px; margin-bottom: 32px; }
  .hero-actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  /* About */
  .about-img { aspect-ratio: 4/3; }
  .about-badge {
    width: 84px;
    height: 84px;
  }
  .about-badge-num { font-size: 22px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .service-card-img { height: 220px; }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 160px 160px 160px;
    gap: 5px;
  }

  /* CTA Banner */
  .cta-banner { height: 360px; }
  .cta-banner-sub { font-size: 14px; }

  /* Footer */
  .footer-new { padding: 44px 20px 28px; }
  .footer-new-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-new-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
