/* ============================================
   Raider Express Salinas Cafe — Styles
   Deep Navy (#0f1f3d) + Warm Gold (#d4a017)
   Clean minimalist · Thin type · Lots of whitespace
   ============================================ */

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

:root {
  --navy:    #0f1f3d;
  --navy-2:  #162a4a;
  --gold:    #d4a017;
  --gold-2:  #b8860f;
  --white:   #ffffff;
  --off-white: #f7f5f0;
  --cream:   #faf9f7;
  --gray-100:#f0eeea;
  --gray-200:#e2dfd8;
  --gray-400:#9e9a90;
  --gray-600:#5c5850;
  --gray-800:#2c2820;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--gray-800);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }

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

/* ---------- SKIP LINK ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--navy);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.875rem;
  z-index: 200;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 1px 20px rgba(15,31,61,0.06); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.logo-text { font-family: var(--font-serif); }

/* ---------- NAV ---------- */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.main-nav a {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-600);
  transition: color 0.2s;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.main-nav a:hover { color: var(--navy); }
.main-nav a:hover::after { width: 100%; }

/* ---------- NAV TOGGLE ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle-line {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--navy);
  transition: transform 0.3s var(--ease), opacity 0.2s;
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn--gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn--gold:hover {
  background: var(--gold-2);
  border-color: var(--gold-2);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(212,160,23,0.3);
}
.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
}
.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn--outline-light:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

/* ---------- SECTION HELPERS ---------- */
.section-eyebrow {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  background: var(--cream);
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--cream) 100%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 60px 0;
}
.hero-content { max-width: 520px; }
.hero-eyebrow {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}
.hero-subtitle {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--gray-600);
  margin-bottom: 36px;
  max-width: 440px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}
.hero-details { display: flex; flex-direction: column; gap: 10px; }
.hero-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--gray-600);
}
.hero-detail a {
  color: var(--navy);
  border-bottom: 1px solid var(--gray-200);
  transition: border-color 0.2s;
}
.hero-detail a:hover { border-color: var(--gold); }
.hero-detail-icon { color: var(--gold); flex-shrink: 0; }

.hero-image {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 680/820;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(212,160,23,0.2);
  border-radius: 4px;
  pointer-events: none;
}

.hero-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gray-200) 40%, transparent 100%);
}

/* ---------- ABOUT ---------- */
.about {
  padding: 120px 0;
  background: var(--cream);
}
.about-inner { max-width: 1100px; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 48px;
}
.about-grid p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--gray-600);
  margin-bottom: 20px;
}
.about-image {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 560/420;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- OFFERINGS ---------- */
.offerings {
  padding: 120px 0;
  background: var(--navy);
  position: relative;
}
.offerings .section-eyebrow { color: var(--gold); }
.offerings .section-title { color: var(--white); }
.offerings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.offering-card {
  padding: 36px 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  transition: all 0.3s var(--ease);
}
.offering-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(212,160,23,0.3);
  transform: translateY(-4px);
}
.offering-icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin-bottom: 24px;
}
.offering-title {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.offering-card p {
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
}

/* ---------- COMMUNITY ---------- */
.community {
  padding: 120px 0;
  background: var(--cream);
}
.community-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.community-content p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--gray-600);
  margin-bottom: 20px;
}
.community-image {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 560/480;
}
.community-image img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- VISIT ---------- */
.visit {
  padding: 120px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.visit::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,160,23,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.visit-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.visit .section-eyebrow { color: var(--gold); }
.visit .section-title { color: var(--white); }
.visit-content { max-width: 480px; }
.visit-content p {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
}
.visit-info {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.visit-address, .visit-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.75);
  font-style: normal;
}
.visit-phone a {
  color: var(--gold);
  border-bottom: 1px solid rgba(212,160,23,0.3);
  transition: border-color 0.2s;
}
.visit-phone a:hover { border-color: var(--gold); }
.visit-icon { color: var(--gold); flex-shrink: 0; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.visit-map {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 560/420;
  position: relative;
}
.visit-map img { width: 100%; height: 100%; object-fit: cover; }
.visit-map::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,31,61,0.3) 0%, transparent 60%);
  pointer-events: none;
  border-radius: 4px;
}

/* ---------- FOOTER ---------- */
.site-footer {
  padding: 56px 0 40px;
  background: var(--navy-2);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand .logo { color: var(--white); }
.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  max-width: 320px;
  line-height: 1.6;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}
.footer-contact a {
  color: var(--gold);
  border-bottom: 1px solid rgba(212,160,23,0.25);
  transition: border-color 0.2s;
}
.footer-contact a:hover { border-color: var(--gold); }
.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.04em;
}

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- MOBILE NAV OVERLAY ---------- */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(250,249,247,0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 40px 24px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    z-index: 99;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .main-nav a {
    font-size: 1rem;
    letter-spacing: 0.1em;
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-inner { gap: 32px; }
  .offerings-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero { min-height: auto; padding-top: 88px; padding-bottom: 48px; }
  .hero::before { display: none; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 0;
  }
  .hero-content { max-width: 100%; }
  .hero-image {
    aspect-ratio: 4/3;
    order: -1;
  }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .about, .community, .visit { padding: 80px 0; }
  .about-grid,
  .community-inner,
  .visit-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-image, .community-image, .visit-map { aspect-ratio: 16/10; }

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

  .footer-inner { gap: 24px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-title { font-size: 1.75rem; }
  .section-title { font-size: 1.5rem; }
}
