/* ───────────────────────────────────────────
   EX FILES — Café & Bar, Austin, TX
   Charcoal + Coral · Minimalist · Thin lines
   ─────────────────────────────────────────── */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --charcoal:    #2D2D2D;
  --charcoal-deep: #1A1A1A;
  --charcoal-light: #3D3D3D;
  --coral:       #F2705A;
  --coral-soft:  #F4978A;
  --coral-pale:  #FDEAEA;
  --white:       #FAFAFA;
  --off-white:   #F5F3F0;
  --grey:        #9A9A9A;
  --grey-light:  #E8E6E3;
  --grey-dark:   #6B6B6B;
  --font-sans:   'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif:  'Playfair Display', Georgia, serif;
  --space-xs:    0.5rem;
  --space-sm:    1rem;
  --space-md:    1.5rem;
  --space-lg:    2.5rem;
  --space-xl:    4rem;
  --space-2xl:   6rem;
  --space-3xl:   8rem;
  --radius:      4px;
  --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
address { font-style: normal; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ── Typography ── */
h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; line-height: 1.2; }

.section-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--charcoal);
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--grey-dark);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

/* ── Accent dot (divider) ── */
.thin-line {
  border: none;
  border-top: 1px solid var(--grey-light);
  margin: 0;
}
.accent-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--coral);
  border-radius: 50%;
  margin-top: -1px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: var(--radius);
  transition: var(--transition);
}

.btn-primary {
  background: var(--coral);
  color: #fff;
}
.btn-primary:hover {
  background: var(--coral-soft);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(242, 112, 90, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border: 1px solid var(--charcoal);
}
.btn-ghost:hover {
  background: var(--charcoal);
  color: var(--white);
}

.btn-full { width: 100%; justify-content: center; }

/* ── Header ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.header.scrolled {
  border-bottom-color: var(--grey-light);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}

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

/* Logo */
.logo {
  display: flex;
  align-items: baseline;
  gap: 0;
  font-family: var(--font-sans);
}
.logo-mark {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--charcoal);
}
.logo-filename {
  font-size: 1.5rem;
  font-weight: 300;
  font-style: italic;
  color: var(--coral);
  font-family: var(--font-serif);
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}
.nav a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal-light);
  transition: var(--transition);
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--coral);
  transition: var(--transition);
}
.nav a:hover { color: var(--coral); }
.nav a:hover::after { width: 100%; }

.nav-cta {
  border: 1px solid var(--charcoal);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  background: var(--charcoal);
  color: var(--white) !important;
}

/* Menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--charcoal);
  transition: var(--transition);
  transform-origin: center;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile nav overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(250, 250, 250, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.nav-overlay-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}
.nav-overlay-inner a {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--charcoal);
  transition: var(--transition);
}
.nav-overlay-inner a:hover { color: var(--coral); }

/* ── Hero ── */
.hero {
  padding-top: 72px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--white);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  padding: var(--space-2xl) 0;
}
.hero-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: var(--space-md);
}
.hero-headline {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  line-height: 1.08;
  color: var(--charcoal-deep);
  margin-bottom: var(--space-lg);
  font-weight: 400;
}
.hero-headline em.accent-italic {
  color: var(--coral);
  font-style: italic;
}
.hero-body {
  font-size: 1.1rem;
  color: var(--grey-dark);
  max-width: 440px;
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}
.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}
.hero-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-image-wrap:hover img {
  transform: scale(1.02);
}
.hero-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 1px solid rgba(242, 112, 90, 0.15);
  pointer-events: none;
}

/* ── About ── */
.about {
  padding: var(--space-3xl) 0;
  background: var(--off-white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.about-text p {
  font-size: 1.05rem;
  color: var(--grey-dark);
  line-height: 1.85;
  margin-bottom: var(--space-md);
}
.about-image {
  border-radius: var(--radius);
  overflow: hidden;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.about-image:hover img { transform: scale(1.02); }

/* ── Menu ── */
.menu {
  padding: var(--space-3xl) 0;
  background: var(--white);
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}
.menu-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: var(--space-lg);
  border: 1px solid var(--grey-light);
  transition: var(--transition);
}
.menu-card:hover {
  border-color: var(--coral-soft);
  box-shadow: 0 4px 24px rgba(242, 112, 90, 0.08);
  transform: translateY(-2px);
}
.menu-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}
.menu-card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--coral-pale);
  color: var(--coral);
  flex-shrink: 0;
}
.menu-card-icon svg {
  width: 20px;
  height: 20px;
}
.menu-card-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--charcoal);
}
.menu-list {
  list-style: none;
}
.menu-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--grey-light);
  font-size: 0.92rem;
}
.menu-list li:last-child { border-bottom: none; }
.menu-item-name {
  font-weight: 500;
  color: var(--charcoal);
}
.menu-item-desc {
  font-size: 0.82rem;
  color: var(--grey);
  text-align: right;
  max-width: 200px;
}
.menu-note {
  font-size: 0.85rem;
  color: var(--grey);
  font-style: italic;
  text-align: center;
}

/* ── Hours ── */
.hours {
  padding: var(--space-3xl) 0;
  background: var(--charcoal-deep);
  color: var(--white);
}
.hours-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}
.hours .section-label { color: var(--coral-soft); }
.hours .section-title { color: var(--white); }
.hours-body {
  font-size: 1.05rem;
  color: var(--grey);
  line-height: 1.8;
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.hours-table thead th {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--coral);
  padding: 0 0 var(--space-sm);
  border-bottom: 1px solid var(--charcoal-light);
  text-align: left;
}
.hours-table tbody td {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--charcoal-light);
  color: var(--grey);
  vertical-align: top;
}
.hours-table tbody td:first-child {
  color: var(--white);
  font-weight: 400;
}
.hours-table tbody tr:last-child td { border-bottom: none; }
.hours-table tbody tr:hover td { color: var(--white); }

/* ── Visit ── */
.visit {
  padding: var(--space-3xl) 0;
  background: var(--white);
}
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}
.visit-address {
  font-size: 1.05rem;
  color: var(--charcoal);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}
.visit-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}
.visit-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: var(--grey-dark);
  transition: var(--transition);
}
.visit-link:hover { color: var(--coral); }
.visit-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.visit-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--grey-light);
  min-height: 400px;
}
.visit-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: block;
}

/* ── Contact ── */
.contact {
  padding: var(--space-3xl) 0;
  background: var(--off-white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}
.contact-text p {
  font-size: 1.05rem;
  color: var(--grey-dark);
  line-height: 1.8;
}
.contact-form-wrap { position: relative; }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal-light);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  transition: var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(242, 112, 90, 0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239A9A9A' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Success message */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-sm);
  padding: var(--space-xl);
  background: var(--coral-pale);
  border-radius: var(--radius);
  border: 1px solid var(--coral-soft);
}
.form-success svg {
  width: 48px;
  height: 48px;
  color: var(--coral);
}
.form-success h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--charcoal);
}
.form-success p {
  font-size: 0.95rem;
  color: var(--grey-dark);
}

/* ── Footer ── */
.footer {
  padding: var(--space-xl) 0;
  background: var(--charcoal-deep);
  color: var(--grey);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
}
.footer-brand .logo-mark { color: var(--white); }
.footer-tagline {
  font-size: 0.85rem;
  color: var(--grey);
  margin-top: 0.3rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}
.footer-links a {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--coral); }
.footer-copy {
  font-size: 0.78rem;
  color: var(--grey-dark);
  line-height: 1.8;
}

/* ── Scroll animations ── */
.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.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }

  .hero-grid,
  .about-grid,
  .hours-inner,
  .visit-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .hero { min-height: auto; padding-top: 100px; padding-bottom: var(--space-xl); }
  .hero-right { order: -1; }
  .hero-image-wrap { max-height: 50vh; }
  .hero-headline { font-size: clamp(2.2rem, 8vw, 3.2rem); }

  .menu-grid { grid-template-columns: 1fr; }

  .hours-inner { gap: var(--space-lg); }

  .form-row { grid-template-columns: 1fr; }

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

@media (max-width: 480px) {
  :root {
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 5rem;
  }
  .header-inner { height: 64px; }
  .hero { padding-top: 64px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .menu-card { padding: var(--space-md); }
  .menu-item-desc { text-align: left; max-width: none; }
  .menu-list li { flex-direction: column; gap: 0.15rem; }
}
