/* ============================================
   HOT OFF THE PRESS COFFEE SHOP
   Premium Dark Luxury — Deep Navy + Warm Gold
   ============================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy-950: #050a14;
  --navy-900: #0a1628;
  --navy-800: #0f2137;
  --navy-700: #162d4a;
  --navy-600: #1e3a5c;
  --gold-500: #c9a84c;
  --gold-400: #d4b962;
  --gold-300: #e0ca7a;
  --gold-200: #ebd89a;
  --cream-100: #f5f0e8;
  --cream-200: #e8e0d0;
  --white: #ffffff;
  --text-light: #e8e0d0;
  --text-muted: #9aa8b8;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--navy-950);
  color: var(--text-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }

/* ---- TYPOGRAPHY ---- */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  color: var(--cream-100);
  line-height: 1.15;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 6px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--navy-950);
  border-color: var(--gold-500);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
  border-color: var(--gold-300);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.25);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-400);
  border-color: var(--gold-500);
}
.btn-outline-gold:hover {
  background: rgba(201, 168, 76, 0.1);
  border-color: var(--gold-400);
  transform: translateY(-2px);
}

.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 10, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(5, 10, 20, 0.95);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.4);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cream-100);
}
.nav-logo-icon { color: var(--gold-500); }
.nav-logo:hover { color: var(--gold-400); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-menu a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 6px;
  transition: var(--transition);
}
.nav-menu a:hover { color: var(--gold-400); background: rgba(201, 168, 76, 0.08); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream-100);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 10, 20, 0.7) 0%,
    rgba(10, 22, 40, 0.8) 50%,
    rgba(5, 10, 20, 0.92) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 120px 24px 80px;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-title span { display: block; }
.hero-title span:first-child {
  font-size: 0.55em;
  font-weight: 400;
  font-style: italic;
  color: var(--gold-300);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: float 2.5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---- FEATURES BAR ---- */
.features-bar {
  background: var(--navy-900);
  border-top: 1px solid rgba(201, 168, 76, 0.08);
  border-bottom: 1px solid rgba(201, 168, 76, 0.08);
}
.features-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 28px 24px;
  border-right: 1px solid rgba(201, 168, 76, 0.08);
  color: var(--cream-100);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}
.feature-item:last-child { border-right: none; }
.feature-item:hover { background: rgba(201, 168, 76, 0.04); }
.feature-item svg { color: var(--gold-500); flex-shrink: 0; }

/* ---- ABOUT ---- */
.about {
  padding: 120px 0;
  background: var(--navy-950);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-images {
  position: relative;
}
.about-img-main {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}
.about-img-main img { width: 100%; height: 480px; object-fit: cover; }
.about-img-float {
  position: absolute;
  bottom: -40px;
  right: -40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  border: 3px solid var(--navy-800);
}
.about-img-float img { width: 260px; height: 200px; object-fit: cover; }
.about-accent {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  border: 2px solid var(--gold-500);
  border-radius: 12px;
  opacity: 0.3;
  z-index: -1;
}

.about-text .section-title { margin-top: 8px; }
.about-text p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
}
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-500);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
  display: block;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(201, 168, 76, 0.2);
  flex-shrink: 0;
}

/* ---- MENU ---- */
.menu {
  padding: 120px 0;
  background: var(--navy-900);
  border-top: 1px solid rgba(201, 168, 76, 0.06);
}
.section-header { margin-bottom: 64px; }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.menu-card {
  background: var(--navy-800);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: 16px;
  padding: 40px 32px;
  transition: var(--transition);
}
.menu-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}
.menu-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 12px;
  margin-bottom: 24px;
  color: var(--gold-500);
}
.menu-card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cream-100);
  margin-bottom: 24px;
}
.menu-list { display: flex; flex-direction: column; gap: 14px; }
.menu-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.06);
}
.menu-list li:last-child { border-bottom: none; padding-bottom: 0; }
.menu-list li span:first-child {
  font-weight: 500;
  color: var(--cream-100);
  font-size: 0.95rem;
}
.menu-list li span:last-child {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ---- GALLERY ---- */
.gallery {
  padding: 120px 0;
  background: var(--navy-950);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}
.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 10, 20, 0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold-300);
  font-weight: 600;
}
.gallery-item--tall { grid-row: span 2; }
.gallery-item--tall img { height: 100%; min-height: 400px; }
.gallery-item--wide img { height: 200px; }
.gallery-item:not(.gallery-item--tall) img { height: 192px; }

/* ---- VISIT ---- */
.visit {
  padding: 120px 0;
  background: var(--navy-900);
  border-top: 1px solid rgba(201, 168, 76, 0.06);
}
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.visit-info .section-title { margin-top: 8px; }
.visit-details {
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.visit-details p {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}
.visit-details svg { color: var(--gold-500); flex-shrink: 0; margin-top: 2px; }
.visit-details a {
  color: var(--gold-400);
  transition: var(--transition);
}
.visit-details a:hover { color: var(--gold-300); text-decoration: underline; }
.visit-city { color: var(--text-muted); }

.visit-hours {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(201, 168, 76, 0.12);
}
.visit-hours h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--cream-100);
  margin-bottom: 16px;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(201, 168, 76, 0.06);
}
.hours-row:last-child { border-bottom: none; }
.hours-row span:last-child { color: var(--gold-400); font-weight: 500; }

.visit-map {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}
.visit-map img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.map-cta {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  margin-top: -40px;
  position: relative;
  z-index: 1;
  background: var(--navy-900);
  padding: 14px 28px;
  border-radius: 0 0 16px 16px;
}

/* ---- CONTACT ---- */
.contact {
  padding: 120px 0;
  background: var(--navy-950);
}
.contact-form {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--cream-100);
  letter-spacing: 0.02em;
}
.form-group input,
.form-group textarea {
  background: var(--navy-800);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 8px;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--cream-100);
  transition: var(--transition);
  outline: none;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 8px;
  color: var(--gold-400);
  font-size: 0.95rem;
  margin-top: 8px;
}
.form-success.visible { display: flex; }

/* ---- FOOTER ---- */
.footer {
  background: var(--navy-900);
  border-top: 1px solid rgba(201, 168, 76, 0.1);
}
.footer-grid {
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
}
.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--cream-100);
  margin-bottom: 20px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--gold-400); }
.footer-contact p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
}
.footer-contact a { color: var(--gold-400); transition: var(--transition); }
.footer-contact a:hover { color: var(--gold-300); text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid rgba(201, 168, 76, 0.08);
  padding: 24px;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---- SCROLL REVEAL (progressive enhancement) ---- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .about-grid { gap: 48px; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-card:last-child { grid-column: span 2; max-width: 50%; justify-self: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(5, 10, 20, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-menu a { padding: 12px 16px; font-size: 1rem; width: 100%; }

  .hero-content { padding: 100px 20px 60px; }
  .hero-title { font-size: clamp(2rem, 10vw, 3rem); }

  .features-inner { grid-template-columns: 1fr 1fr; }
  .feature-item { border-right: none; border-bottom: 1px solid rgba(201, 168, 76, 0.08); }

  .about { padding: 80px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-img-float { right: 0; bottom: -24px; }
  .about-img-main img { height: 360px; }

  .menu { padding: 80px 0; }
  .menu-grid { grid-template-columns: 1fr; }
  .menu-card:last-child { grid-column: span 1; max-width: 100%; }

  .gallery { padding: 80px 0; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item--tall { grid-row: span 1; }
  .gallery-item--tall img { min-height: 200px; }
  .gallery-item:not(.gallery-item--tall) img { height: 180px; }
  .gallery-item--wide img { height: 180px; }

  .visit { padding: 80px 0; }
  .visit-grid { grid-template-columns: 1fr; gap: 48px; }

  .contact { padding: 80px 0; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .features-inner { grid-template-columns: 1fr; }
  .about-stats { flex-direction: column; align-items: flex-start; gap: 16px; }
  .stat-divider { width: 48px; height: 1px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item img,
  .gallery-item--tall img,
  .gallery-item:not(.gallery-item--tall) img,
  .gallery-item--wide img { height: 220px; }
}
