/* ============================= */
/* GLOBAL */
/* ============================= */

html, body {
  max-width: 100%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: 
    radial-gradient(circle at 25% 25%, rgba(124,255,0,0.02), transparent 40%),
    radial-gradient(circle at 75% 75%, rgba(255,159,28,0.02), transparent 60%),
    #050505;
  color: #fff;
}

/* ============================= */
/* NAVBAR */
/* ============================= */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  height: 90px;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .logo img {
    height: 45px;
    max-width: 160px;
  }
}

nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #ccc;
  transition: .3s ease;
}

nav a:hover,
nav a.active {
  color: #7CFF00;
  text-shadow: 0 0 10px #7CFF00;
}

.btn {
  padding: 12px 26px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: .3s ease;
}

.btn-green {
  background: #7CFF00;
  color: #000;
}

.btn-green:hover {
  box-shadow: 0 0 20px #7CFF00;
}

.btn-orange {
  background: #ff9f1c;
  color: #000;
}

.btn-orange:hover {
  box-shadow: 0 0 20px #ff9f1c;
}


/* ============================= */
/* HERO SECTION (CLEAN + PREMIUM) */
/* ============================= */

.hero {
  min-height: 100vh;
  padding-top: 90px; /* pushes content below navbar */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;

  background: linear-gradient(180deg, rgba(0,0,0,0.3), #000);
}

/* Video background */
.hero video.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center; /* FIXED */
  z-index: 1;

  filter: brightness(0.9) contrast(1.1);

  backface-visibility: hidden;
  transform: translateZ(0);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;

  /* completely remove any green tint */
  background: rgba(0,0,0,0.5);

  display: flex;
  align-items: center;
  justify-content: center;
}

/* Content stays above everything */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
}

/* Logo */
.hero-logo img {
  height: 200px;
  max-width: 95%;
  margin-bottom: 20px;

  /* softer glow (not neon) */
  filter: drop-shadow(0 0 20px rgba(255,159,28,0.5));

  animation: logoFadeUp 1.2s ease-out forwards;
}

/* Heading */
.hero h2 {
  font-size: 26px;
  margin: 15px 0 25px;

  color: #ffffff;
  text-shadow: none;
}

/* Subtext */
.hero p {
  color: #ff9f1c;
  font-size: 16px;
  margin-bottom: 30px;

  text-shadow: none;
}

/* Logo animation */
@keyframes logoFadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ============================= */
/* EVENTS */
/* ============================= */

.events {
  padding: 80px 60px;
  text-align: center;
}

.events h2 {
  color: #7CFF00;
  margin-bottom: 50px;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.event-card {
  border-radius: 14px;
  background: #0d0d0d;
  box-shadow: 0 0 25px rgba(0,0,0,0.8);
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease forwards;
  transition: .3s ease;
}

.event-card img {
  width: 100%;
  height: 320px;              /* bigger height for mobile readability */
  object-fit: cover;          /* 🔥 fills the card instead of shrinking */
  object-position: center;
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.event-card img:hover {
  transform: scale(1.05);
}

.event-info{
  padding:12px;
}

.event-info h3{
  font-size:16px;
  margin-bottom:6px;
}

.event-info .date{
  font-size:14px;
  color:#ff9f1c;
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 30px rgba(124,255,0,0.4);
}

.event-card:nth-child(1){ animation-delay:.2s; }
.event-card:nth-child(2){ animation-delay:.4s; }
.event-card:nth-child(3){ animation-delay:.6s; }

@keyframes fadeUp {
  to {
    opacity:1;
    transform:translateY(0);
  }
}

.event-card.green { border: 1px solid #7CFF00; }
.event-card.orange { border: 1px solid #ff9f1c; }

/* ============================= */
/* GALLERY SCROLL */
/* ============================= */

.gallery {
  padding: 80px 0;
  background: radial-gradient(circle at center, #0a0a0a, #000);
  text-align: center;
  overflow: hidden;
  -ms-overflow-style: none;  /* IE & Edge */
  scrollbar-width: none;     /* Firefox */
}

.gallery h2 {
  font-size: 2.5rem;
  color: #ff9f1c;
  margin-bottom: 50px;
}

.gallery-track {
  display: flex;
  gap: 20px;
  width: 200%; /* or 2x the visible width for scrolling animation */
  animation: scrollGallery 20s linear infinite;
  overflow: hidden;
}

.gallery-track img {
  width: 250px;
  height: 180px;
  object-fit: cover;      /* ✅ fills the whole box */
  background: #000;
  border-radius: 8px;
  padding: 0;             /* optional, remove extra black space */
}

.gallery-track img:hover {
  transform: scale(1.1);
}

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

/* Remove extra margin on last gallery image */
.gallery-track img:last-child {
  margin-right: 0;
}

.gallery::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}


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

.footer {
  padding: 25px;
  text-align: center;
  background: #000;
  color: #666;
}


/* ============================= */
/* HOURS SECTION */
/* ============================= */

.hours-card h3 {
  margin-bottom: 15px;
  color: #7CFF00;
  font-size: 20px;
  border-bottom: 1px solid #222;
  padding-bottom: 5px;
}

.today-open {
  background: rgba(0,255,120,0.08);
  border-left: 3px solid #00ff88;
  padding-left: 10px;
}

.open-tag{
  margin-left:10px;
  color:#00ff88;
  font-size:12px;
  font-style:normal;
  font-weight:bold;
  text-shadow:0 0 8px #00ff88;
}

#open-days {
  margin-top: 15px;
}

#open-days .open-day {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #222;
  font-size: 16px;
  color: #ff9f1c;
}

#open-days .open-day:last-child {
  border-bottom: none;
}

/* ============================= */
/* MAP & DIRECTIONS */
/* ============================= */
.map-container {
  flex: 1;
  min-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(124,255,0,0.5); /* glowing effect */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 60px rgba(124,255,0,0.6);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.map-container iframe:hover {
  transform: scale(1.02);
}

.map-container .directions-btn {
  display: inline-block;
  margin: 15px auto 0;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  background: #7CFF00;
  color: #000;
  box-shadow: 0 0 20px #7CFF00;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-container .directions-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 40px #7CFF00;
}

/* Directions button under map */
.directions-btn {
  margin-top: 10px;
}

/* Hours card on right */
.hours-card {
  flex: 1;
  min-width: 350px;
  background: #141414;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 0 30px rgba(0,0,0,0.6);
  text-align: left;
}

.day {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid #222;
  font-size: 18px;
}

.day:last-child {
  border-bottom: none;
}

.day.highlight {
  color: #7CFF00;
}

/* ============================= */
/* HOURS SECTION CENTER FIX */
/* ============================= */

.hours {
  padding: 100px 20px;
  text-align: center;
}

.hours-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

/* Center map properly */
.map-wrapper {
  width: 100%;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.map-wrapper iframe {
  width: 100%;
  height: 400px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(124,255,0,0.4);
}

/* Center button under map */
.map-wrapper .directions-btn {
  margin-top: 20px;
}

/* Center hours card */
.hours-card {
  max-width: 600px;
  width: 100%;
  text-align: center; /* override previous left */
}

/* New schedule styling */
#weekly-schedule .open-day {
  padding: 18px 0;
  border-bottom: 1px solid #222;
  font-size: 18px;
}

#weekly-schedule .open-day strong {
  color: #7CFF00;
  display: block;
  margin-bottom: 6px;
  font-size: 19px;
}

#weekly-schedule .open-day:last-child {
  border-bottom: none;
}

/* ============================= */
/* MUSIC VOTE SECTION */
/* ============================= */

.music-vote {
  background: #050505;
  text-align: center;
  padding: 80px 20px;
}

.music-vote h2 {
  color: #ff9f1c;
  margin-bottom: 10px;
}

.music-vote p {
  color: #ccc;
  margin-bottom: 40px;
}

.vote-option {
  max-width: 500px;
  margin: 15px auto;
  text-align: left;
}

.vote-option span {
  font-size: 16px;
}

.bar {
  background: #222;
  border-radius: 20px;
  overflow: hidden;
  height: 10px;
  margin-top: 6px;
}

.bar div {
  height: 100%;
  background: #ff9f1c;
}

/* BUTTON LAYOUT */
.vote-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* ============================= */
/* MOBILE NAVBAR - FIT ALL LINKS IN ONE ROW */
/* ============================= */

@media (max-width: 600px) {
  .navbar {
    padding: 10px 15px;          /* smaller padding */
    gap: 10px;
  }

  .navbar nav a {
    font-size: 12px;             /* smaller font */
    margin: 0 6px;               /* tighter spacing */
  }

  .navbar .btn {
    padding: 8px 14px;           /* smaller button */
    font-size: 12px;
  }

  .logo img {
    height: 40px;                /* shrink logo */
    max-width: 120px;
  }
}

/* ============================= */
/* MOBILE HERO, EVENTS, GALLERY, HOURS FIXES */
/* ============================= */

.hero {
  height: auto;
  padding: 80px 20px;
}

.hero-logo img {
  height: 120px;
}

.hero h2 {
  font-size: 22px;
}

.hero p {
  font-size: 16px;
}

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

.gallery {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Mobile gallery auto-scroll */
@media (max-width: 900px) {
  .gallery-track {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: hidden;
    animation: scrollGalleryMobile 20s linear infinite;
  }

  .gallery-track img {
    flex: 0 0 auto;
    margin-right: 15px;
    width: 200px;
    height: 140px;
  }

  .hours-layout {
    flex-direction: column;
  }

  .map-wrapper iframe {
    height: 300px;
  }

  .res-wrap {
    margin: 60px 20px;
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .event-card img {
    height: auto;
    width: 100%;
    object-fit: cover;
  }

  .events {
    padding: 40px 20px; /* smaller padding on mobile */
  }

  .event-card {
    width: 100%;
    margin: 0 auto;
  }

  .event-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ============================= */
/* CLEAN UP CONFLICTS */
/* ============================= */

html, body {
  max-width: 100%;
  /* overflow-x: hidden; <-- REMOVED */
}

@media (max-width: 900px) {
  .gallery-track,
  nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
}
