/* ============================================
   Red Raider Cafe — Styles
   ============================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --teal-300: #5eead4;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;
  --teal-900: #134e4a;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --red-500: #ef4444;
  --red-600: #dc2626;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.07), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.1), 0 4px 12px rgba(15, 23, 42, 0.05);
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Nunito', 'Segoe UI', system-ui, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--slate-800);
  background: var(--slate-50);
  line-height: 1.65;
  font-size: 16px;
}

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

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

a:hover {
  color: var(--teal-600);
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(248, 250, 252, 0.95);
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--slate-800);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.logo-icon {
  color: var(--teal-600);
  flex-shrink: 0;
}

.logo-light {
  color: #fff;
}

.logo-light .logo-icon {
  color: #fff;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a {
  color: var(--slate-600);
  font-weight: 600;
  font-size: 0.938rem;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-menu a:hover {
  color: var(--teal-700);
  background: var(--teal-50);
}

.nav-cta {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.938rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal-600);
  color: #fff;
  border-color: var(--teal-600);
}

.btn-primary:hover {
  background: var(--teal-700);
  border-color: var(--teal-700);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.3);
}

.btn-light {
  background: #fff;
  color: var(--teal-800);
  border-color: #fff;
}

.btn-light:hover {
  background: var(--teal-50);
  color: var(--teal-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--teal-700);
  border-color: var(--teal-200);
}

.btn-ghost-dark:hover {
  background: var(--teal-50);
  border-color: var(--teal-400);
  color: var(--teal-700);
  transform: translateY(-2px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--teal-800) 0%, var(--teal-700) 30%, var(--teal-600) 60%, #1a8a7d 100%);
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(255,255,255,0.3) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(255,255,255,0.2) 0%, transparent 60%);
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  padding-top: 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--teal-100);
  padding: 8px 20px;
  border-radius: var(--radius-xl);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero h1 .accent {
  color: var(--teal-200);
  font-style: italic;
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 36px;
}

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

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #fff;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.813rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
}

.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  color: var(--slate-50);
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 80px;
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.813rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-600);
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--teal-400);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--slate-900);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--slate-500);
  max-width: 520px;
}

/* ============================================
   FEATURES
   ============================================ */
.features {
  padding: 100px 0 80px;
  background: var(--slate-50);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-100);
  transition: all var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-100);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--teal-50);
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--teal-100);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--slate-800);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.938rem;
  color: var(--slate-500);
  line-height: 1.7;
}

/* ============================================
   MENU
   ============================================ */
.menu {
  padding: 100px 0 80px;
  background: #fff;
}

.menu .section-sub {
  margin-bottom: 36px;
}

.menu-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab {
  padding: 10px 24px;
  border-radius: var(--radius-xl);
  border: 2px solid var(--slate-200);
  background: transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.938rem;
  color: var(--slate-500);
  cursor: pointer;
  transition: all var(--transition);
}

.tab:hover {
  border-color: var(--teal-300);
  color: var(--teal-700);
}

.tab.active {
  background: var(--teal-600);
  border-color: var(--teal-600);
  color: #fff;
}

.menu-panel {
  display: none;
}

.menu-panel.active {
  display: block;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.menu-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: var(--slate-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-100);
  transition: all var(--transition);
}

.menu-item:hover {
  border-color: var(--teal-200);
  box-shadow: var(--shadow-sm);
}

.menu-item-info h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--slate-800);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.menu-desc {
  font-size: 0.875rem;
  color: var(--slate-400);
  line-height: 1.5;
}

.menu-tag {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal-700);
  background: var(--teal-50);
  padding: 4px 12px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--teal-100);
  align-self: center;
}

.menu-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.875rem;
  color: var(--slate-400);
  font-style: italic;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: 100px 0 80px;
  background: var(--slate-50);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-text .section-title {
  margin-bottom: 24px;
}

.about-text p {
  font-size: 1rem;
  color: var(--slate-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-signature {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  color: var(--teal-600);
  font-weight: 700;
  font-size: 0.938rem;
}

.about-signature svg {
  opacity: 0.6;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
  padding: 100px 0 80px;
  background: #fff;
}

.gallery .section-title {
  margin-bottom: 48px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: auto;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item:nth-child(1) { aspect-ratio: 4/5; }
.gallery-item:nth-child(2) { aspect-ratio: 4/3; }
.gallery-item:nth-child(3) { aspect-ratio: 4/5; }
.gallery-item:nth-child(4) { aspect-ratio: 4/3; }
.gallery-item:nth-child(5) { aspect-ratio: 4/3; }
.gallery-item:nth-child(6) { aspect-ratio: 4/5; }

/* ============================================
   VISIT
   ============================================ */
.visit {
  padding: 100px 0 80px;
  background: var(--slate-50);
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.visit .section-sub {
  margin-bottom: 36px;
}

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-100);
  box-shadow: var(--shadow-sm);
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--teal-50);
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-card h4 {
  font-size: 0.813rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-400);
  margin-bottom: 4px;
}

.info-card p {
  font-size: 1rem;
  color: var(--slate-700);
  line-height: 1.6;
}

.info-card a {
  color: var(--teal-700);
  font-weight: 700;
}

.info-card a:hover {
  color: var(--teal-600);
  text-decoration: underline;
}

.visit-map {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.938rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.813rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-300);
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  color: var(--slate-400);
  font-size: 0.938rem;
  padding: 6px 0;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--teal-400);
}

.footer-contact p {
  font-size: 0.938rem;
  line-height: 1.7;
  margin-bottom: 4px;
}

.footer-contact a {
  color: var(--teal-400);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.813rem;
  color: var(--slate-500);
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 90px 24px 32px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 100;
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-menu a {
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 12px;
    text-align: center;
    justify-content: center;
  }

  .hero {
    padding: 100px 20px 60px;
    min-height: 100svh;
  }

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

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

  .hero-stats {
    gap: 16px;
  }

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

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

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

  .about-image {
    order: -1;
  }

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

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(6) {
    aspect-ratio: 4/3;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

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

  .hero {
    padding: 90px 16px 50px;
  }

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

  .gallery-item,
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(4),
  .gallery-item:nth-child(5) {
    aspect-ratio: 4/3;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
