/* Schlittenhart Reunion - Vibrant Summer Party Vibes */
/* Color Palette - WILD & BRIGHT Summer Energy */
:root {
  --electric-orange: #FF5E00;
  --hot-pink: #FF1493;
  --bright-yellow: #FFD700;
  --turquoise: #00CED1;
  --lime-green: #00FF7F;
  --coral: #FF6B9D;
  --purple: #9D4EDD;
  --cream: #FFFEF7;
  --sand: #FFF5E1;
  --deep-teal: #006D77;
  --text-dark: #1A1A2E;
  --white: #FFFFFF;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background: linear-gradient(180deg, var(--cream) 0%, var(--sand) 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Hero Section - Vibrant summer sunset gradient */
.hero {
  background:
    radial-gradient(ellipse at 50% 40%, var(--bright-yellow) 0%, transparent 60%),
    linear-gradient(135deg, var(--electric-orange) 0%, var(--hot-pink) 50%, var(--purple) 100%);
  color: var(--white);
  padding: 6rem 2rem 8rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
  margin-bottom: -4rem;
}

/* Geometric pattern overlay */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,0.03) 35px, rgba(255,255,255,0.03) 70px),
    repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(255,255,255,0.03) 35px, rgba(255,255,255,0.03) 70px);
  opacity: 0.5;
}

/* Vintage sunburst rays */
.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 200%;
  background:
    repeating-conic-gradient(
      from 0deg at 50% 50%,
      rgba(255, 255, 255, 0.05) 0deg,
      rgba(255, 255, 255, 0.05) 2deg,
      transparent 2deg,
      transparent 4deg
    );
  pointer-events: none;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

/* Typography */
h1 {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1rem;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
  color: var(--deep-teal);
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--electric-orange), var(--hot-pink), var(--purple));
  border-radius: 2px;
}

h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--deep-teal);
}

.tagline {
  font-size: 1.75rem;
  font-style: italic;
  margin-bottom: 2rem;
  opacity: 0.95;
  font-weight: 300;
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.15);
}

.event-details {
  font-size: 1.4rem;
  margin: 2.5rem 0;
  line-height: 2;
  font-weight: 300;
}

.event-details strong {
  font-weight: 700;
  color: var(--white);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Split-flap Board - Train Station Style */
.split-flap-container {
  margin: 3rem auto;
  max-width: 1000px;
  position: relative;
}

/* Train station header */
.station-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 0 1rem;
}

.station-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.station-time {
  font-family: 'Courier New', monospace;
  font-size: 1.2rem;
  color: var(--white);
  opacity: 0.9;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.split-flap-board {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, transparent 10%),
    linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
  padding: 2rem 1.5rem;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    inset 0 2px 4px rgba(255, 255, 255, 0.1),
    inset 0 -2px 4px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

/* Vintage metal frame corners - all four corners on outer board only */
.split-flap-board::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  width: 40px;
  height: 40px;
  border-top: 3px solid rgba(255, 255, 255, 0.2);
  border-left: 3px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.split-flap-board::after {
  content: '';
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-bottom: 3px solid rgba(255, 255, 255, 0.2);
  border-right: 3px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

/* Inner container - simple, no brackets */
.split-flap-board-inner {
  position: relative;
  background: rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.flap-display {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;
  min-height: 90px;
  padding: 1rem;
}

.flap-char {
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 49%, #f0f0f0 51%, #f0f0f0 100%);
  color: #000;
  font-family: 'Courier New', 'Monaco', monospace;
  font-size: 3rem;
  font-weight: bold;
  width: 3rem;
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  border: 1px solid #ddd;
}

/* Middle line like a real flip board */
.flap-char::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.15) 10%,
    rgba(0, 0, 0, 0.15) 90%,
    transparent 100%
  );
  z-index: 1;
}

.flap-char.flipping {
  animation: quickFlip 0.08s ease-in-out;
}

@keyframes quickFlip {
  0% { transform: scaleY(1); }
  50% { transform: scaleY(0.7); opacity: 0.8; }
  100% { transform: scaleY(1); }
}

/* Flowing sections - no boxes, diagonal cuts, overlaps */
section {
  position: relative;
  padding: 5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Travel section - flowing with diagonal cut */
#travel {
  background: linear-gradient(165deg, var(--white) 0%, var(--cream) 100%);
  clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
  margin-top: -3rem;
  padding-top: 6rem;
  position: relative;
}

#travel::before {
  content: '✈';
  position: absolute;
  top: 4rem;
  right: 5%;
  font-size: 8rem;
  opacity: 0.05;
  transform: rotate(-15deg);
}

/* Hotel info - modern card with gradient */
.hotel-info {
  background: linear-gradient(135deg, var(--turquoise) 0%, var(--deep-teal) 100%);
  color: var(--white);
  padding: 3rem;
  border-radius: 24px;
  margin: 2rem 0 3rem;
  box-shadow: 0 10px 40px rgba(0, 206, 209, 0.3);
  position: relative;
  overflow: hidden;
}

.hotel-info::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.hotel-info h3 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.hotel-info p {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.hotel-info .location-note {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.95;
}

.hotel-info em {
  opacity: 0.9;
  font-size: 1rem;
}

/* Map Container */
.map-container {
  margin: 3rem 0;
  text-align: center;
}

.map-container h3 {
  color: var(--electric-orange);
  margin-bottom: 1rem;
}

.map-container p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

/* Airport Grid - Modern cards */
.airport-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.airport-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.airport-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--electric-orange), var(--hot-pink));
}

.airport-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.airport-code {
  font-size: 3rem;
  font-weight: 900;
  color: var(--deep-teal);
  font-family: 'Courier New', monospace;
  letter-spacing: 0.1em;
}

.airport-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 1rem 0;
}

.airport-note {
  font-size: 1rem;
  color: #666;
  font-style: italic;
}

/* Schedule section - warm gradient background */
#schedule {
  background: linear-gradient(15deg, var(--sand) 0%, var(--cream) 50%, #FFF5E1 100%);
  clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%);
  padding: 6rem 2rem;
  margin-top: -2rem;
}

#schedule h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.schedule-timeline {
  max-width: 900px;
  margin: 0 auto;
}

.schedule-day {
  margin-bottom: 3rem;
}

.schedule-day h3 {
  color: var(--electric-orange);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 2rem;
}

.schedule-day h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: var(--bright-yellow);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.3);
}

.schedule-item {
  background: var(--white);
  padding: 2rem;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  margin-left: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  border-left: 4px solid var(--turquoise);
  transition: transform 0.2s, box-shadow 0.2s;
}

.schedule-item:hover {
  transform: translateX(8px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.schedule-time {
  font-weight: 800;
  color: var(--deep-teal);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.schedule-description {
  color: var(--text-dark);
  font-size: 1.1rem;
}

/* RSVP Section - Vibrant gradient background */
#rsvp {
  background: linear-gradient(135deg, var(--purple) 0%, var(--hot-pink) 50%, var(--electric-orange) 100%);
  color: var(--white);
  clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
  padding: 6rem 2rem;
  margin-top: -3rem;
}

#rsvp h2 {
  color: var(--white);
  text-align: center;
}

#rsvp h2::after {
  background: linear-gradient(90deg, var(--bright-yellow), var(--lime-green));
}

#rsvp > p {
  text-align: center;
  font-size: 1.3rem;
  margin-bottom: 3rem;
}

/* Form - Clean modern design */
.form-container {
  background: var(--white);
  color: var(--text-dark);
  padding: 3rem;
  border-radius: 24px;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.form-group {
  margin-bottom: 1.75rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--deep-teal);
  font-size: 1.1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-family: inherit;
  transition: all 0.3s ease;
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sky-blue);
  box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
  width: 1.5rem;
  height: 1.5rem;
  cursor: pointer;
}

.checkbox-group label {
  margin: 0;
  cursor: pointer;
  font-weight: 500;
}

/* Form Messages */
.form-message {
  padding: 2rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  text-align: center;
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-success {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
}

.form-success h3 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 2rem;
}

.form-success p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.form-error {
  background: linear-gradient(135deg, #f44336 0%, #e53935 100%);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(244, 67, 54, 0.3);
}

.form-error h3 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 2rem;
}

.form-error p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.form-error a {
  color: var(--white);
  text-decoration: underline;
  font-weight: 600;
}

/* Buttons - Bold and modern */
.btn {
  display: inline-block;
  padding: 1.2rem 3rem;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--bright-yellow) 0%, var(--electric-orange) 100%);
  color: var(--text-dark);
  box-shadow: 0 8px 20px rgba(255, 94, 0, 0.4);
  font-weight: 800;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 94, 0, 0.6);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--lime-green) 0%, var(--turquoise) 100%);
  color: var(--text-dark);
  box-shadow: 0 8px 20px rgba(0, 255, 127, 0.3);
  font-weight: 800;
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 255, 127, 0.5);
}

/* About NC section */
#about-nc {
  background: linear-gradient(165deg, var(--cream) 0%, var(--white) 100%);
  clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%);
  padding: 6rem 2rem;
  margin-top: -3rem;
}

#about-nc h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.info-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  margin-bottom: 2rem;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
  border-top: 5px solid var(--hot-pink);
}

.info-card h3 {
  margin-bottom: 1.5rem;
}

.info-card ul {
  margin-left: 1.5rem;
  margin-top: 1rem;
}

.info-card li {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

/* Weather Card Specific Styles */
.weather-card {
  border-top: 5px solid var(--bright-yellow);
  background: linear-gradient(135deg, #FFFACD 0%, var(--white) 100%);
}

.weather-subtitle {
  color: #666;
  font-size: 1rem;
  margin-bottom: 2rem;
  font-style: italic;
}

.weather-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.weather-stat {
  text-align: center;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
}

.weather-stat:hover {
  transform: translateY(-4px);
}

.weather-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.weather-label {
  font-size: 0.9rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.weather-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--deep-teal);
}

/* Footer - Simple and clean */
footer {
  background: linear-gradient(135deg, var(--text-dark) 0%, #1a252f 100%);
  color: var(--cream);
  text-align: center;
  padding: 3rem 2rem;
}

footer p {
  margin: 0.75rem 0;
  font-size: 1.1rem;
}

footer a {
  color: var(--bright-yellow);
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover {
  color: var(--electric-orange);
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .tagline {
    font-size: 1.3rem;
  }

  .event-details {
    font-size: 1.2rem;
  }

  .flap-char {
    font-size: 1.5rem;
    width: 1.5rem;
    height: 2.5rem;
    gap: 0.2rem;
  }

  .flap-display {
    gap: 0.15rem;
    padding: 0.5rem;
    min-height: 60px;
  }

  .split-flap-board {
    padding: 1rem 0;
    margin: 0 -1rem;
    border-radius: 0;
  }

  .split-flap-board-inner {
    padding: 0.75rem 0.25rem;
  }

  /* Hide corner brackets on mobile - too cluttered */
  .split-flap-board::before,
  .split-flap-board::after {
    display: none;
  }

  .station-header {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
  }

  .station-title {
    font-size: 1.2rem;
  }

  .station-time {
    font-size: 1rem;
  }

  .weather-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  section {
    padding: 4rem 1.5rem;
  }

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

  .form-container {
    padding: 2rem;
  }

  /* Reduce textarea padding on mobile to prevent placeholder overflow */
  .form-group textarea {
    padding: 0.75rem;
  }

  .hotel-info {
    padding: 2rem;
  }

  /* Simplify clip-paths on mobile */
  .hero {
    clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 100%, 0 90%);
  }

  #travel,
  #schedule,
  #rsvp,
  #about-nc {
    clip-path: none;
    margin-top: 0;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-4 {
  margin-bottom: 2rem;
}
