/* ============================================
   Millie's Diner — Styles
   Classic & Elegant | Burgundy + Blush
   ============================================ */

/* --- Custom Properties --- */
:root {
  --color-burgundy: #7B2D3B;
  --color-burgundy-dark: #5C1F2B;
  --color-burgundy-light: #9A3D4E;
  --color-blush: #E8C4B8;
  --color-blush-light: #F5E6E0;
  --color-blush-lighter: #FAF0EC;
  --color-cream: #FDF8F5;
  --color-cream-dark: #F5EDE8;
  --color-text: #3A1F26;
  --color-text-light: #6B4449;
  --color-text-muted: #9A7078;
  --color-white: #FFFFFF;
  --color-gold: #C49A6C;
  --color-gold-light: #D4B08A;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Lora', 'Times New Roman', Georgia, serif;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;

  --shadow-sm: 0 1px 3px rgba(123, 45, 59, 0.08);
  --shadow-md: 0 4px 16px rgba(123, 45, 59, 0.1);
  --shadow-lg: 0 8px 32px rgba(123, 45, 59, 0.12);
  --shadow-xl: 0 16px 48px rgba(123, 45, 59, 0.15);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--color-burgundy);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-burgundy-light);
}

ul {
  list-style: none;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--color-burgundy);
  color: var(--color-white);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-family: var(--font-body);
  font-size: 14px;
}

.skip-link:focus {
  top: var(--space-md);
}

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

/* --- Typography --- */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 560px;
  line-height: 1.7;
}

.lead {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-burgundy);
  color: var(--color-white);
  border-color: var(--color-burgundy);
}

.btn-primary:hover {
  background: var(--color-burgundy-dark);
  border-color: var(--color-burgundy-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--color-burgundy);
  border-color: var(--color-burgundy);
}

.btn-secondary:hover {
  background: var(--color-burgundy);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(253, 248, 245, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(123, 45, 59, 0.08);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  padding-bottom: var(--space-md);
  min-height: 72px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--color-text);
}

.logo:hover {
  color: var(--color-text);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-burgundy);
}

.logo-tagline {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* Nav */
.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-list a {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-light);
  position: relative;
  padding: var(--space-xs) 0;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-burgundy);
  transition: width var(--transition);
}

.nav-list a:hover {
  color: var(--color-burgundy);
}

.nav-list a:hover::after {
  width: 100%;
}

.btn-nav {
  font-size: 14px !important;
  padding: 10px 20px !important;
  background: var(--color-burgundy);
  color: var(--color-white) !important;
  border-radius: var(--radius-md);
  transition: all var(--transition) !important;
}

.btn-nav::after {
  display: none !important;
}

.btn-nav:hover {
  background: var(--color-burgundy-dark) !important;
  color: var(--color-white) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  width: 44px;
  height: 44px;
  position: relative;
}

.hamburger {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-burgundy);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: all var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--color-burgundy);
  left: 0;
  transition: all var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after { bottom: -7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  bottom: 0;
  transform: rotate(-45deg);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-burgundy-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(92, 31, 43, 0.85) 0%,
    rgba(123, 45, 59, 0.75) 50%,
    rgba(92, 31, 43, 0.88) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-4xl) var(--space-lg);
  max-width: 800px;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-blush);
  margin-bottom: var(--space-lg);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

.hero-title br {
  display: none;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--color-blush-light);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto var(--space-2xl);
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

.hero-actions .btn-secondary {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-actions .btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-burgundy);
  border-color: var(--color-white);
}

.hero-badges {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.badge {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-blush-light);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: var(--radius-xl);
  backdrop-filter: blur(4px);
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: float 2s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* --- About --- */
.about {
  padding: var(--space-4xl) 0;
  background: var(--color-cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-images {
  position: relative;
  height: 600px;
}

.about-img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 70%;
  height: 80%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 55%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--color-cream);
}

.about-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-accent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: var(--color-burgundy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.about-accent::after {
  content: 'Est.';
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--color-white);
  letter-spacing: 0.1em;
}

.about-content {
  padding: var(--space-xl) 0;
}

.about-stats {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(123, 45, 59, 0.1);
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-burgundy);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 13px;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}

/* --- Menu --- */
.menu {
  padding: var(--space-4xl) 0;
  background: var(--color-blush-lighter);
}

.menu-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.menu-header .section-subtitle {
  margin: 0 auto;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.menu-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(123, 45, 59, 0.06);
  transition: all var(--transition);
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.menu-card-icon {
  margin-bottom: var(--space-md);
}

.menu-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-burgundy);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 2px solid var(--color-blush);
}

.menu-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.menu-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-md);
}

.menu-item-name {
  font-weight: 600;
  color: var(--color-text);
  font-size: 15px;
}

.menu-item-desc {
  font-size: 13px;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.menu-note {
  text-align: center;
  padding: var(--space-xl);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(123, 45, 59, 0.2);
}

.menu-note p {
  font-style: italic;
  color: var(--color-text-light);
  font-size: 15px;
}

/* --- Gallery --- */
.gallery {
  padding: var(--space-4xl) 0;
  background: var(--color-cream);
}

.gallery-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  position: relative;
}

.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-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(92, 31, 43, 0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* --- Info Strip --- */
.info-strip {
  background: var(--color-burgundy);
  padding: var(--space-3xl) 0;
}

.info-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.info-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.info-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-blush);
  margin-bottom: 4px;
}

.info-value {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-white);
  line-height: 1.5;
}

.info-value a {
  color: var(--color-white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: border-color var(--transition);
}

.info-value a:hover {
  border-color: var(--color-white);
}

/* --- Visit --- */
.visit {
  padding: var(--space-4xl) 0;
  background: var(--color-blush-lighter);
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.visit-content {
  padding: var(--space-xl) 0;
}

.visit-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin: var(--space-2xl) 0;
}

.visit-features li {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 15px;
  color: var(--color-text-light);
}

.visit-features svg {
  flex-shrink: 0;
}

.visit-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.visit-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  min-height: 350px;
}

/* --- Footer --- */
.site-footer {
  background: var(--color-text);
  color: var(--color-blush-light);
  padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand p {
  margin-top: var(--space-md);
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 300px;
}

.footer-brand .logo-name {
  color: var(--color-blush);
}

.footer-brand .logo-tagline {
  color: var(--color-text-muted);
}

.footer-hours h4,
.footer-contact h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.footer-hours p,
.footer-contact p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 4px;
}

.footer-contact a {
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--color-blush);
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom p {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .about-grid {
    gap: var(--space-2xl);
  }

  .about-images {
    height: 450px;
  }

  .menu-grid {
    gap: var(--space-md);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-list {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(253, 248, 245, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: var(--space-xl);
    gap: var(--space-md);
    border-bottom: 1px solid rgba(123, 45, 59, 0.08);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

  .nav-list.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list a {
    font-size: 17px;
    padding: var(--space-sm) 0;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-title br {
    display: block;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }

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

  .about-images {
    height: 350px;
    order: -1;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-items {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .visit-map {
    aspect-ratio: 16 / 9;
    min-height: 250px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .hero-badges {
    flex-direction: column;
    align-items: center;
  }

  .about-images {
    height: 280px;
  }

  .about-stats {
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
  }

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

  .info-items {
    grid-template-columns: 1fr;
  }

  .visit-actions {
    flex-direction: column;
  }

  .visit-actions .btn {
    width: 100%;
  }
}
