/* ==========================================================================
   Detroit Pistons Opening Day Landing Page Styles (100% Full-Width Layout)
   ========================================================================== */

:root {
  --pistons-blue: #006BB6;
  --pistons-red: #ED174C;
  --pistons-navy: #0C2340;
  --pistons-dark: #070F1E;
  --pistons-gold: #FFC72C;
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: #09101b;
  color: #ffffff;
}

.font-heading {
  font-family: var(--font-heading);
}

.max-w-650 {
  max-width: 650px;
}

/* --------------------------------------------------------------------------
   Header & Navbar (100% Full Width)
   -------------------------------------------------------------------------- */
.pistons-navbar {
  background-color: var(--pistons-dark);
  border-bottom: 2px solid rgba(237, 23, 76, 0.4);
  padding: 0.85rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  width: 100%;
}

.pistons-navbar .navbar-brand img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.pistons-navbar .navbar-brand:hover img {
  transform: scale(1.05);
}

.style-presented {
  font-size: 0.65rem;
  letter-spacing: 1px;
}

.style-ticketmaster {
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.pistons-navbar .nav-link {
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem !important;
  transition: color 0.3s ease, transform 0.2s ease;
}

.pistons-navbar .nav-link:hover {
  color: var(--pistons-red);
  transform: translateY(-2px);
}

.social-icons a {
  color: #ffffff;
  margin-left: 14px;
  font-size: 1rem;
  transition: color 0.3s ease, transform 0.2s ease;
}

.social-icons a:hover {
  color: var(--pistons-red);
  transform: scale(1.15);
}

/* --------------------------------------------------------------------------
   Hero / Jumbotron Section (100% Full Width)
   -------------------------------------------------------------------------- */
.hero-wrapper {
  position: relative;
  width: 100%;
  min-height: 560px;
  background-color: #050b14;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/img/jumboTron.png') center top / cover no-repeat;
  opacity: 0;
  transition: opacity 1.5s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1;
}

.hero-bg.fade-in {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 4rem;
  padding-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.hero-lockup {
  max-width: 640px;
  width: 90%;
  height: auto;
  opacity: 0;
  transform: translateY(-60px);
  transition: transform 1s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 1s ease;
  margin-bottom: 1.2rem;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.8));
}

.hero-lockup.slide-down {
  opacity: 1;
  transform: translateY(0);
}

.hero-timedate {
  max-width: 550px;
  width: 85%;
  height: auto;
  opacity: 0;
  transform: translateX(-80px);
  transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1), opacity 1s ease;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.7));
}

.hero-timedate.slide-left {
  opacity: 1;
  transform: translateX(0);
}

.btn-pistons-red {
  background: linear-gradient(135deg, var(--pistons-red) 0%, #a80b30 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.9rem 2.6rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 20px rgba(237, 23, 76, 0.5);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-pistons-red:hover {
  background: linear-gradient(135deg, #ff1f54 0%, #c40d3a 100%);
  color: #ffffff;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 28px rgba(237, 23, 76, 0.7);
}

/* --------------------------------------------------------------------------
   Main Full-Width Container & Section Cards
   -------------------------------------------------------------------------- */
.main-full-width {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.section-card {
  position: relative;
  width: 100%;
  border-radius: 0;
  margin-bottom: 0;
  border: none;
  box-shadow: none;
  overflow: hidden;
  opacity: 0;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1), opacity 1s ease;
  will-change: transform, opacity;
}

/* Scroll Animations */
.animate-from-left {
  transform: translateX(-100px);
}

.animate-from-right {
  transform: translateX(100px);
}

.section-card.animated-in {
  opacity: 1;
  transform: translateX(0);
}

/* Section Backgrounds (100% Edge-to-Edge) */
.card-bg-blue {
  background: url('../assets/img/NoiseBackgroundBlue.jpg') center / cover no-repeat;
  color: #ffffff;
}

.card-bg-red {
  background: url('../assets/img/NoiseBackgroundRed.jpg') center / cover no-repeat;
  color: #ffffff;
}

.card-bg-black {
  background: url('../assets/img/NoiseBackgroundBlackV2.png') center / cover no-repeat;
  color: #ffffff;
}

.card-row {
  min-height: 520px;
  width: 100%;
  margin: 0;
}

.card-side-img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  display: block;
}

/* --------------------------------------------------------------------------
   Section 1: Timeline
   -------------------------------------------------------------------------- */
.header-img-timeline {
  max-width: 480px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5));
}

.timeline-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline-item {
  display: flex;
  align-items: center;
  padding: 0.5rem 0;
  margin-left: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.2s ease;
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-item:hover {
  transform: translateX(6px);
}

.timeline-time {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  min-width: 145px;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.timeline-desc {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.94);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Section 2: Clock In Early
   -------------------------------------------------------------------------- */
.header-img-clockin {
  max-width: 380px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5));
}

.activations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem 1.4rem;
}

.activation-item {
  display: flex;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.38;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  transition: transform 0.2s ease;
}

.activation-item:hover {
  transform: translateX(4px);
}

.activation-item i {
  font-size: 1.2rem;
  margin-right: 0.8rem;
  margin-top: 0.15rem;
  color: #ffffff;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* --------------------------------------------------------------------------
   Section 3: New Food Options
   -------------------------------------------------------------------------- */
.header-img-food {
  max-width: 480px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5));
}

.food-text {
  font-size: 1.1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.btn-pistons-gold {
  background: linear-gradient(135deg, #FFC72C 0%, #E6AE11 100%);
  color: #070F1E;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.9rem 2.4rem;
  border-radius: 8px;
  border: none;
  box-shadow: 0 6px 18px rgba(255, 199, 44, 0.4);
  transition: all 0.3s ease;
}

.btn-pistons-gold:hover {
  background: linear-gradient(135deg, #ffd454 0%, #ffbe1a 100%);
  color: #000000;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 25px rgba(255, 199, 44, 0.6);
}

/* --------------------------------------------------------------------------
   Section 4: Be In Your Seat By 2:55
   -------------------------------------------------------------------------- */
.header-img-seat {
  max-width: 420px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5));
}

.seat-subtext {
  font-size: 1.1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.94);
}

.seat-icons-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}

.seat-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.25;
  letter-spacing: 0.5px;
  flex: 1;
  min-width: 85px;
  transition: transform 0.3s ease;
}

.seat-icon-item:hover {
  transform: translateY(-4px);
}

.seat-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 0.6rem;
  transition: all 0.3s ease;
}

.seat-icon-item:hover .seat-icon-circle {
  background: var(--pistons-red);
  border-color: #ffffff;
  box-shadow: 0 0 15px rgba(237, 23, 76, 0.8);
}

/* --------------------------------------------------------------------------
   Section 5: Don't Be Late
   -------------------------------------------------------------------------- */
.header-img-dontbelate {
  max-width: 460px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5));
}

.promo-discount-title {
  font-family: var(--font-heading);
  letter-spacing: 2px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.promo-discount-sub {
  font-family: var(--font-heading);
  letter-spacing: 1.5px;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Section 6: Clock In For Opening Day CTA
   -------------------------------------------------------------------------- */
.cta-heading {
  font-family: var(--font-heading);
  letter-spacing: 1px;
  line-height: 1.15;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
}

.cta-player-img {
  max-height: 380px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.7));
}

/* --------------------------------------------------------------------------
   Footer (100% Full Width)
   -------------------------------------------------------------------------- */
.pistons-footer {
  background-color: var(--pistons-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4.5rem 1.5rem 2.5rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  width: 100%;
}

.footer-title {
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--pistons-red);
}

/* --------------------------------------------------------------------------
   Food Lightbox Modal Styling
   -------------------------------------------------------------------------- */
.food-lightbox-modal .modal-content {
  border-radius: 20px;
  overflow: hidden;
  background-color: #0c1424 !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.main-food-preview {
  max-height: 480px;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: opacity 0.3s ease;
}

.lightbox-main-img-container {
  min-height: 340px;
  background-color: #050b14;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 10;
}

.lightbox-arrow:hover {
  background: var(--pistons-red);
  border-color: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 15px;
}

.lightbox-next {
  right: 15px;
}

.food-thumbs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  max-height: 430px;
  overflow-y: auto;
  padding-right: 4px;
}

.food-thumb-item {
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  height: 85px;
}

.food-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
  transition: filter 0.25s ease, transform 0.25s ease;
}

.food-thumb-item.active {
  border-color: var(--pistons-gold);
  box-shadow: 0 0 12px rgba(255, 199, 44, 0.7);
}

.food-thumb-item.active img,
.food-thumb-item:hover img {
  filter: brightness(1);
  transform: scale(1.05);
}

.food-thumbs-grid::-webkit-scrollbar {
  width: 6px;
}

.food-thumbs-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.food-thumbs-grid::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 3px;
}

.food-thumbs-grid::-webkit-scrollbar-thumb:hover {
  background: var(--pistons-red);
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .hero-wrapper {
    min-height: 460px;
  }

  .hero-lockup {
    max-width: 480px;
  }

  .hero-timedate {
    max-width: 420px;
  }

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

  .card-side-img {
    min-height: 320px;
    max-height: 420px;
  }
}

@media (max-width: 576px) {
  .pistons-navbar .navbar-brand img {
    max-height: 32px;
  }

  .hero-wrapper {
    min-height: 380px;
  }

  .hero-lockup {
    max-width: 320px;
  }

  .hero-timedate {
    max-width: 290px;
  }

  .timeline-time {
    min-width: 100px;
    font-size: 0.95rem;
  }

  .seat-icons-flex {
    justify-content: space-around;
  }

  .seat-icon-item {
    min-width: 72px;
    font-size: 0.68rem;
  }
}