/* ============================================
   PISTERIA - Pizza auf der Piste
   Colors from logo: Red, Green, White, Black
   ============================================ */

:root {
  --red: #C41E3A;
  --red-dark: #9B1730;
  --green: #1B6B3A;
  --green-dark: #0E4423;
  --black: #1a1a1a;
  --white: #ffffff;
  --cream: #FFF8F0;
  --snow: #F0F4F8;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--black);
  overflow-x: hidden;
  background: var(--cream);
}

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

h1, h2, .tagline, .slogan, .event-badge, .cta-button, .crew-member, .day, .number, .month {
  font-family: 'Bangers', cursive;
}

/* ============================================
   SNOWFLAKES
   ============================================ */

.snowflakes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1000;
  overflow: hidden;
}

.snowflake {
  position: fixed;
  top: -10%;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
  animation: snowfall linear infinite;
  text-shadow: 0 0 4px rgba(200, 200, 220, 0.6);
}

.snowflake:nth-child(1)  { left: 5%;  animation-duration: 8s;  animation-delay: 0s;   font-size: 1.0rem; }
.snowflake:nth-child(2)  { left: 15%; animation-duration: 12s; animation-delay: 1s;   font-size: 0.8rem; }
.snowflake:nth-child(3)  { left: 25%; animation-duration: 9s;  animation-delay: 3s;   font-size: 1.4rem; }
.snowflake:nth-child(4)  { left: 35%; animation-duration: 11s; animation-delay: 0.5s; font-size: 0.9rem; }
.snowflake:nth-child(5)  { left: 50%; animation-duration: 10s; animation-delay: 2s;   font-size: 1.1rem; }
.snowflake:nth-child(6)  { left: 60%; animation-duration: 13s; animation-delay: 4s;   font-size: 0.7rem; }
.snowflake:nth-child(7)  { left: 70%; animation-duration: 8s;  animation-delay: 1.5s; font-size: 1.3rem; }
.snowflake:nth-child(8)  { left: 80%; animation-duration: 11s; animation-delay: 3.5s; font-size: 0.8rem; }
.snowflake:nth-child(9)  { left: 88%; animation-duration: 9s;  animation-delay: 2.5s; font-size: 1.0rem; }
.snowflake:nth-child(10) { left: 95%; animation-duration: 12s; animation-delay: 0.8s; font-size: 1.2rem; }

@keyframes snowfall {
  0% {
    top: -10%;
    opacity: 1;
    transform: translateX(0) rotate(0deg);
  }
  100% {
    top: 100%;
    opacity: 0.3;
    transform: translateX(80px) rotate(360deg);
  }
}

/* ============================================
   HERO
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, #1a3a5c 0%, #2d5a87 30%, #4a8bc2 60%, var(--snow) 100%);
  position: relative;
  padding: 40px 24px;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='%23F0F4F8' d='M0,60 C200,120 400,0 720,60 C1040,120 1240,0 1440,60 L1440,120 L0,120 Z'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-logo {
  width: 280px;
  max-width: 70vw;
  height: auto;
  margin-bottom: 16px;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3));
  animation: float 3s ease-in-out infinite;
}

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

.hero h1 {
  font-size: clamp(3rem, 10vw, 7rem);
  color: var(--white);
  letter-spacing: 0.08em;
  text-shadow: 3px 3px 0 var(--red), 6px 6px 0 rgba(0,0,0,0.2);
  line-height: 1;
  margin-bottom: 8px;
}

.tagline {
  font-size: clamp(1.3rem, 4vw, 2.2rem);
  color: var(--white);
  text-shadow: 2px 2px 0 rgba(0,0,0,0.3);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.subtitle {
  font-size: clamp(0.9rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  font-weight: 400;
}

.cta-button {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 14px 40px;
  font-size: 1.4rem;
  text-decoration: none;
  letter-spacing: 0.06em;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(196, 30, 58, 0.4);
}

.cta-button:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(196, 30, 58, 0.5);
}

/* ============================================
   ABOUT
   ============================================ */

.about {
  padding: 80px 0;
  background: var(--snow);
}

.about h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  text-align: center;
  color: var(--green-dark);
  margin-bottom: 48px;
  letter-spacing: 0.04em;
}

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

.about-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 16px;
  color: #333;
}

.about-text .highlight {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--red);
}

.about-text .slogan {
  font-size: 1.8rem;
  color: var(--green);
  margin-top: 24px;
  letter-spacing: 0.03em;
}

.about-image img {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
}

/* ============================================
   EVENT
   ============================================ */

.event {
  padding: 80px 0;
  background: var(--red);
  color: var(--white);
  text-align: center;
  position: relative;
}

.event::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%23F0F4F8' d='M0,0 L1440,0 L1440,20 C1200,60 720,0 0,40 Z'/%3E%3C/svg%3E") no-repeat top;
  background-size: cover;
}

.event-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 1rem;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
  border: 2px solid rgba(255,255,255,0.3);
}

.event h2 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  margin-bottom: 40px;
  letter-spacing: 0.04em;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.2);
}

.event-details {
  display: flex;
  gap: 48px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 24px 32px;
  min-width: 160px;
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255,255,255,0.2);
}

.event-date .day {
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  opacity: 0.9;
}

.event-date .number {
  font-size: 4rem;
  line-height: 1;
  margin: 4px 0;
}

.event-date .month {
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  opacity: 0.9;
}

.event-info {
  text-align: left;
  max-width: 440px;
}

.event-info p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.event-info .limited {
  font-weight: 700;
  font-size: 1.3rem;
  margin-top: 16px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  display: inline-block;
}

.event-info .event-hint {
  font-style: italic;
  opacity: 0.85;
  font-size: 1rem;
  margin-top: 8px;
}

/* ============================================
   CREW
   ============================================ */

.crew {
  padding: 80px 0;
  background: var(--cream);
  text-align: center;
}

.crew h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--green-dark);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.crew-intro {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 40px;
}

.crew-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.crew-member {
  background: var(--white);
  padding: 16px 12px;
  border-radius: 12px;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  color: var(--black);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.crew-member:hover {
  transform: translateY(-4px);
  border-color: var(--red);
  box-shadow: 0 6px 16px rgba(196, 30, 58, 0.15);
}

.pizza-icon {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 4px;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 48px 24px;
}

.footer-logo {
  width: 100px;
  height: auto;
  margin-bottom: 16px;
  opacity: 0.9;
}

.footer-slogan {
  font-family: 'Bangers', cursive;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  color: var(--red);
  margin-bottom: 8px;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-image {
    order: -1;
  }

  .about-image img {
    max-width: 260px;
  }

  .event-details {
    flex-direction: column;
  }

  .event-info {
    text-align: center;
  }

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

  .hero-logo {
    width: 200px;
  }
}

@media (max-width: 480px) {
  .crew-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .crew-member {
    font-size: 1rem;
    padding: 12px 8px;
  }
}
