/* Custom brand colors used in the disco elements and hero */
:root {
  --pink: #d87093;
  --orange: #ff7f50;
  --red: #cd5c5c;
}

/* Base resets and defaults */
body {
  margin: 0;
  padding: 0;
  font-family: "Open Sans", Arial, sans-serif;
  color: #333;
  background: #fafafa; /* or white, if preferred */
}

main {
  width: 100%;
}

/* ------------------ */
/*  L&H LOGO STYLING  */
/* ------------------ */
.lh-logo {
  font-family: "Fascinate", cursive;
  font-size: 1.75rem;
  letter-spacing: 1px;
  color: #fff; /* White text */
  /* Retro heading style => shadow behind it */
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.6);
  transition: transform 0.2s ease;
}

.lh-logo:hover {
  transform: scale(1.05);
}

/* ------------------ */
/*     TICKER BAR     */
/* ------------------ */
.ticker-wrapper {
  position: relative;
  overflow: hidden;
  background: #5e3350; /* Dark background for retro vibe */
  height: 2rem; /* Adjust as you like */
}

.ticker-text {
  position: absolute;
  white-space: nowrap;
  line-height: 2rem;
  /* Pixelated retro font: Press Start 2P */
  font-family: "Press Start 2P", monospace;
  font-size: 0.9rem; /* Slightly bigger if desired */
  color: #ffc5d9; /* Light pink text */
  animation: ticker-scroll 30s linear infinite;
  font-style: italic;
}

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

/* ------------------ */
/* RETRO HEADING STYLE */
/* ------------------ */
.retro-heading {
  font-family: "Fascinate", cursive;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.6);
  letter-spacing: 1px;
}

/* ------------------ */
/*     HERO SECTION   */
/* ------------------ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-bottom: 2rem;
  overflow: hidden;
}

.main-image {
  position: relative;
  display: inline-block;
  width: min(500px, 90vw);
  margin-bottom: 2rem;
}

.background-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  aspect-ratio: 1;
  background-color: var(--red);
  border-radius: 50%;
  z-index: 1;
}

.disco-image {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  filter: contrast(1.1) brightness(1.1);
  animation: discoShimmer 2s infinite;
}

@keyframes discoShimmer {
  0%,
  100% {
    filter: contrast(1.1) brightness(1.1) saturate(1.1);
  }
  50% {
    filter: contrast(1.2) brightness(1.3) saturate(1.2);
  }
}

/* Disco Rays */
.disco-rays {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200vmax;
  height: 200vmax;
  transform: translate(-50%, -50%);
  background: repeating-conic-gradient(
    from 0deg,
    var(--pink) 0deg 16deg,
    transparent 16deg 24deg,
    var(--orange) 24deg 40deg,
    transparent 40deg 48deg,
    var(--red) 48deg 64deg,
    transparent 64deg 72deg
  );
  opacity: 0.45;
  z-index: 1;
  animation: rotate 120s linear infinite, shimmer 1.2s ease-in-out infinite;
}

@keyframes rotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes shimmer {
  0%,
  100% {
    opacity: 0.45;
    filter: brightness(1.2) hue-rotate(0deg);
  }
  25% {
    opacity: 0.45;
    filter: brightness(1.1) hue-rotate(15deg);
  }
  50% {
    opacity: 0.45;
    filter: brightness(0.9) hue-rotate(30deg);
  }
  75% {
    opacity: 0.45;
    filter: brightness(1.1) hue-rotate(15deg);
  }
}

/* Decorative elements in Hero */
.decorative-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 3;
}

.tractor {
  position: absolute;
  width: 200px;
  bottom: 60px;
  right: 60px;
  transform: rotate(-15deg);
  opacity: 0.9;
  animation: floatRotate 3s ease-in-out infinite;
}

.glasses {
  position: absolute;
  width: 200px;
  top: 60px;
  left: 60px;
  transform: rotate(15deg);
  opacity: 0.9;
  animation: floatRotate 3s ease-in-out infinite reverse;
}

@keyframes floatRotate {
  0%,
  100% {
    transform: rotate(-15deg);
  }
  50% {
    transform: rotate(15deg);
  }
}

/* RSVP Button */
.rsvp-button {
  display: inline-block;
  padding: 1rem 3rem;
  background: linear-gradient(45deg, var(--pink), var(--orange));
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 2px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 4;
  margin-top: 1rem;
  white-space: nowrap;
}

.rsvp-button:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Mobile Menu */
#mobileMenu .py-4 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

#mobileMenu .space-y-4 > * + * {
  margin-top: 1.25rem;
}

/* ------------------ */
/*   RESPONSIVE CSS   */
/* ------------------ */
@media (max-width: 768px) {
  .hero {
    min-height: 85vh;
  }
  .tractor {
    width: 160px;
    bottom: 40px;
    right: 40px;
  }
  .glasses {
    width: 160px;
    top: 80px;
    left: 40px;
  }
  .rsvp-button {
    padding: 0.8rem 2rem;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 80vh;
  }
  .tractor {
    width: 140px;
    bottom: 20px;
    right: 20px;
  }
  .glasses {
    width: 140px;
    top: 80px;
    left: 20px;
  }
  .rsvp-button {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
  }
}
