/* ============================================
   The Station Food Market — V1.2 Polish
   Mobile-first · Modern · Campus-friendly
   ============================================ */

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

:root {
  /* Brand palette */
  --color-bg:       #0f1117;
  --color-bg-alt:   #161822;
  --color-surface:  #1c1f2e;
  --color-surface-hover: #252839;
  --color-text:     #f0f0f5;
  --color-text-dim: #9ca3af;
  --color-accent:   #f59e0b;
  --color-accent-hover: #fbbf24;
  --color-border:   rgba(255,255,255,0.06);

  /* Concept colors */
  --genki-color:    #ef4444;
  --crispy-color:   #f59e0b;
  --sazon-color:    #22c55e;
  --sweet-color:    #a78bfa;

  /* Type scale */
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  /* Spacing */
  --section-pad: 5rem 1.5rem;
  --container-max: 1120px;
  --radius: 12px;
  --radius-lg: 16px;
}

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

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--color-accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-accent-hover); }

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(15, 17, 23, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: background 0.3s;
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.nav-brand span {
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--color-text-dim);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--color-text);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* --- Hero --- */
.hero {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10rem 1.5rem 5rem;
  position: relative;
  overflow: hidden;
}

/* Atmospheric background shapes */
.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
}

.hero-shape--1 {
  width: 600px;
  height: 600px;
  background: var(--genki-color);
  top: -15%;
  left: -10%;
  animation: float-slow 20s ease-in-out infinite;
}

.hero-shape--2 {
  width: 500px;
  height: 500px;
  background: var(--color-accent);
  bottom: -20%;
  right: -10%;
  animation: float-slow 25s ease-in-out infinite reverse;
}

.hero-shape--3 {
  width: 350px;
  height: 350px;
  background: var(--sweet-color);
  top: 30%;
  right: 15%;
  animation: float-slow 18s ease-in-out infinite 5s;
}

@keyframes float-slow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-accent);
  margin-bottom: 2rem;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: var(--text-5xl);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero h1 .accent {
  color: var(--color-accent);
}

.hero-sub {
  font-size: var(--text-xl);
  color: var(--color-text-dim);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-accent);
  color: var(--color-bg);
  font-weight: 600;
  font-size: var(--text-base);
  padding: 0.85rem 2rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.hero-cta:hover {
  background: var(--color-accent-hover);
  color: var(--color-bg);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25);
}

/* --- Section Shared --- */
.section {
  padding: var(--section-pad);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-label {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: var(--text-4xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-desc {
  font-size: var(--text-lg);
  color: var(--color-text-dim);
  max-width: 560px;
  margin: 1rem auto 0;
  line-height: 1.6;
}

/* --- About --- */
.about-section {
  background: var(--color-bg-alt);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.about-text p {
  font-size: var(--text-lg);
  color: var(--color-text-dim);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.stat-card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.stat-number {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-accent);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-dim);
  margin-top: 0.25rem;
}

/* --- Craving Strip --- */
.craving-strip {
  overflow: hidden;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
}

.craving-strip-inner {
  display: flex;
  gap: 2.5rem;
  white-space: nowrap;
  animation: scroll-strip 30s linear infinite;
  width: max-content;
}

.craving-strip span {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  opacity: 0.6;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

@keyframes scroll-strip {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Concepts --- */
.concepts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.concept-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 0;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.concept-card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, var(--card-accent) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.concept-card:hover .concept-card-glow {
  opacity: 0.04;
}

.concept-card:hover {
  transform: translateY(-6px);
  border-color: var(--card-accent);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35), 0 0 0 1px var(--card-accent);
}

.concept-card-inner {
  position: relative;
  z-index: 1;
  padding: 2rem;
}

.concept-icon-large {
  font-size: 3rem;
  margin-bottom: 1.25rem;
  line-height: 1;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

.concept-name {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.concept-desc {
  font-size: var(--text-base);
  color: var(--color-text-dim);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* --- Concept Vibe Label --- */
.concept-vibe {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--card-accent, var(--color-accent));
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

/* --- Concepts / Drinks Notes --- */
.concepts-note,
.drinks-note {
  text-align: center;
  margin-top: 2.5rem;
  padding: 1rem 1.5rem;
  background: rgba(245, 158, 11, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.1);
  border-radius: var(--radius);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.concepts-note p,
.drinks-note p {
  font-size: var(--text-sm);
  color: var(--color-text-dim);
}

/* --- Drinks Section --- */
.drinks-section {
  background: var(--color-bg-alt);
}

.drinks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 720px;
  margin: 0 auto;
}

.drink-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.drink-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.drink-icon-large {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  line-height: 1;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,0.2));
}

.drink-name {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.drink-desc {
  font-size: var(--text-sm);
  color: var(--color-text-dim);
  line-height: 1.5;
}

/* --- How It Works --- */
.how-section {
  background: var(--color-bg-alt);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.1);
  border: 2px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-accent);
}

.step-content h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.step-content p {
  font-size: var(--text-base);
  color: var(--color-text-dim);
  line-height: 1.6;
}

/* --- Location --- */
.location-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.location-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.location-card h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.location-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.location-item:last-child {
  margin-bottom: 0;
}

.location-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.location-label {
  font-size: var(--text-sm);
  color: var(--color-text-dim);
  margin-bottom: 0.15rem;
}

.location-value {
  font-size: var(--text-base);
  font-weight: 600;
}

/* Map embed */
.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 300px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.location-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
}

/* --- CTA / Stay Connected --- */
.cta-section {
  text-align: center;
  background: var(--color-bg-alt);
}

.cta-box {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(245, 158, 11, 0.02));
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  max-width: 640px;
  margin: 0 auto;
}

.cta-box h2 {
  font-size: var(--text-3xl);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.cta-box p {
  font-size: var(--text-lg);
  color: var(--color-text-dim);
  margin-bottom: 2rem;
}

.cta-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.cta-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-dim);
  font-size: 1.25rem;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.cta-social a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

/* --- Footer --- */
.footer {
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer p {
  font-size: var(--text-sm);
  color: var(--color-text-dim);
}

/* --- Progress Page --- */
.progress-hero {
  padding: 9rem 1.5rem 3rem;
  text-align: center;
  position: relative;
}

.progress-hero .section-desc {
  margin-top: 1rem;
}

.progress-section {
  padding-top: 2rem;
}

.progress-timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding-left: 0;
}

/* Vertical line */
.progress-timeline::before {
  content: '';
  position: absolute;
  left: 44px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.progress-entry {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
  position: relative;
}

.progress-entry:last-of-type {
  margin-bottom: 2rem;
}

/* Date column */
.progress-date-col {
  position: relative;
  text-align: center;
}

.progress-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: sticky;
  top: 80px;
}

.progress-date-day {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.1);
  border: 2px solid var(--color-accent);
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-accent);
  position: relative;
  z-index: 2;
}

.progress-date-month {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-dim);
  margin-top: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Content column */
.progress-content {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.25s;
}

.progress-content:hover {
  border-color: rgba(245, 158, 11, 0.2);
}

.progress-title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.progress-summary {
  font-size: var(--text-base);
  color: var(--color-text-dim);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.progress-summary:last-child {
  margin-bottom: 0;
}

/* Photo grid */
.progress-photos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.progress-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}

.progress-photo img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.progress-photo figcaption {
  padding: 0.6rem 0.85rem;
  font-size: var(--text-xs);
  color: var(--color-text-dim);
  line-height: 1.4;
}

/* Timeline start marker */
.progress-start {
  text-align: center;
  max-width: 860px;
  margin: 1rem auto 0;
  padding-left: 0;
  position: relative;
}

.progress-start-marker {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.progress-start-marker .dot {
  width: 10px;
  height: 10px;
  background: var(--color-accent);
  border-radius: 50%;
  opacity: 0.5;
}

.progress-start p {
  font-size: var(--text-sm);
  color: var(--color-text-dim);
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Active nav link */
.nav-active {
  color: var(--color-accent) !important;
}

/* Progress responsive: tablet+ gets 2-col photo grid */
@media (min-width: 640px) {
  .progress-photos {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Progress responsive: small mobile */
@media (max-width: 639px) {
  .progress-hero {
    padding: 7rem 1.25rem 2rem;
  }

  .progress-timeline::before {
    display: none;
  }

  .progress-entry {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .progress-date-col {
    text-align: left;
    margin-bottom: 0.75rem;
  }

  .progress-date {
    flex-direction: row;
    gap: 0.5rem;
    position: static;
  }

  .progress-date-day {
    width: 36px;
    height: 36px;
    font-size: var(--text-base);
  }

  .progress-date-month {
    margin-top: 0;
    font-size: var(--text-sm);
  }

  .progress-content {
    padding: 1.5rem;
  }
}

/* --- Scroll Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children for concept/drink grids */
.concepts-grid .fade-up:nth-child(2) { transition-delay: 0.08s; }
.concepts-grid .fade-up:nth-child(3) { transition-delay: 0.16s; }
.concepts-grid .fade-up:nth-child(4) { transition-delay: 0.24s; }

/* ============================================
   Responsive
   ============================================ */

/* Tablet (640px+) */
@media (min-width: 640px) {
  .concepts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .drinks-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .steps-grid {
    gap: 2.5rem;
  }

  .location-layout {
    grid-template-columns: 1fr 1fr;
  }

  .location-map {
    min-height: 100%;
  }

  .location-map iframe {
    min-height: 360px;
  }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  :root {
    --section-pad: 6rem 2rem;
  }

  .hero h1 {
    font-size: var(--text-6xl);
  }

  .hero-sub {
    font-size: var(--text-xl);
  }

  .nav-links {
    display: flex;
  }

  .concepts-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .step-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
}

/* Small mobile */
@media (max-width: 639px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: rgba(15, 17, 23, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding: 7rem 1.25rem 3.5rem;
  }

  .hero h1 {
    font-size: var(--text-3xl);
  }

  .hero-sub {
    font-size: var(--text-base);
  }

  .section-title {
    font-size: var(--text-2xl);
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .stat-card {
    padding: 1rem 0.5rem;
  }

  .stat-number {
    font-size: var(--text-xl);
  }

  .concept-card-inner {
    padding: 1.5rem;
  }

  .concept-icon-large {
    font-size: 2.5rem;
  }

  .cta-box {
    padding: 2.5rem 1.5rem;
  }

  .craving-strip-inner {
    gap: 2rem;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .hero-shape {
    animation: none;
  }

  .craving-strip-inner {
    animation: none;
  }

  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
