/* ===== GLOBAL RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #0b1b36;
  cursor: url("../assets/videogames1.png") 8 8, auto;
}

.site-header {
  margin: 0;
  padding: 0;
}

/* ------ Banner/Nav ------ */
.banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: url("../assets/banner.jpg") center/cover no-repeat;
  min-height: 360px;
  padding: 0 40px;
  border-bottom: #28292e 4px groove;
  box-shadow: #3c3c3d 0px 0px 10px;
}

.site-logo img {
  height: 400px;
  max-width: 100%;
  transition: transform 0.3s ease-in-out;
}

.site-logo img:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 10px #ffffff);
}

.site-main,
.welcome,
.featured-events,
.events,
.menu-header,
.location-container,
.form,
.about-us {
  max-width: 100vw;
  box-sizing: border-box;
}

.welcome,
.featured-events,
.events,
.about-us,
.location-container,
.menu-header {
  margin: 20px auto;
  border-radius: 25px;
  box-shadow: #3b1623 0px 0px 10px;
  text-align: center;
  width: 100%;
  max-width: 900px;
  padding: 40px 20px;
  color: white;
  text-shadow: #3b1623 0px 0px 10px;
  border: #e20abe 2px solid;
  border-style: groove;
  background: radial-gradient(circle at bottom right, #2a033a, #192fa7);
}

.form {
  margin: 20px auto;
  border-radius: 25px;
  box-shadow: #3b1623 0px 0px 10px;
  width: 100%;
  max-width: 900px;
  color: white;
  text-shadow: #3b1623 0px 0px 10px;
  border: #e20abe 2px solid;
  border-style: groove;
  background: radial-gradient(circle at bottom right, #2a033a, #192fa7);
}

form {
  padding: 40px;
  color: white;
  border-radius: 8px;
  background: radial-gradient(circle at top right, #180aa8, #7389df);
  box-shadow: #3b1623 0px 0px 10px;
  border: #3b1623 2px groove;
  width: 100%;
  box-sizing: border-box;
  max-width: 100%;
}

.featured-events .event-container {
  text-align: initial;
  width: 100%;
}

/* NavBar */
.navbar {
  display: flex;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 40px;
  font-weight: 600;
  transition: transform 0.3s, color 0.3s, text-shadow 0.3s;
}

.nav-links a:hover,
.nav-links a:focus {
  font-weight: bold;
  color: white;
  text-shadow: #241916 0px 0px 10px;
  text-decoration: underline;
  transform: scale(1.2);
}

/* Responsive Navbar - Mobile */
@media (max-width: 700px) {
  .banner {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    min-height: unset;
  }
  .site-logo img {
    height: 100px;
    max-height: 150px;
    width: auto;
    margin-bottom: 10px;
    align-self: center;
  }
  .navbar {
    width: 100%;
  }
  .nav-links {
    flex-direction: column;
    gap: 6px;
    align-items: center;
    width: 100%;
  }
  .nav-links li {
    width: 100%;
    text-align: center;
  }
  .nav-links a {
    padding: 8px 10px;
    font-size: 24px;
    display: block;
  }
}

/* ------------- Main/Content Containers ------------- */
.site-main {
  padding: 20px;
  flex-grow: 1;
}

.hero-image,
.staff-image,
.menu-image,
.event-image,
.map-image,
.location-image {
  width: 100%;
  max-width: 900px;
  height: 500px;
  border-radius: 8px;
  border: #e0dad9 2px solid;
  margin: auto;
  box-shadow: #3b1623 0px 0px 10px;
  position: relative;
  overflow: hidden;
  display: block;
}

.hero-image img,
.staff-image img,
.menu-image img,
.event-image img,
.location-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  border: #e0dad9 2px solid;
  box-shadow: #3b1623 0px 0px 10px;
  display: block;
}

.map-embed {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  box-shadow: #3b1623 0px 0px 10px;
  display: block;
}

/* Shine effect on image containers */
.hero-image::after,
.menu-image::after,
.staff-image::after,
.event-image::after,
.location-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: left 0.6s;
  pointer-events: none;
  border-radius: 8px;
  z-index: 2;
}

/* Shine effect hover animation */
.hero-image:hover::after,
.menu-image:hover::after,
.staff-image:hover::after,
.event-image:hover::after,
.location-image:hover::after {
  left: 125%;
}

/* ------------- EVENTS ------------- */
.event-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.event {
  padding: 20px;
  text-align: center;
  border-radius: 15px;
  border: black 1px solid;
  max-width: 300px;
  background: radial-gradient(circle at top right, #e0dad9, #c9707a);
  box-shadow: #3b1623 0px 0px 10px;
  transition: transform 0.3s;
  height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.event:hover {
  background: radial-gradient(circle at top right, #c9707a, #e0dad9);
  box-shadow: #3b1623 0px 0px 20px;
  transform: scale(1.05);
}

.event img {
  width: 100%;
  max-width: 220px;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  border-radius: 8px;
  border: #e0dad9 2px solid;
  box-shadow: #3b1623 0px 0px 5px;
  margin-bottom: 10px;
  align-self: center;
}

.event h3 {
  color: #3b1623;
  text-shadow: none;
  margin-top: 0;
  margin-bottom: 8px;
}

.event p {
  color: #683c4b;
  text-shadow: none;
  font-size: 0.9em;
  margin-bottom: 10px;
}

.event-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* ------------- CONTACT FORM STYLING ------------- */
.form-group {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.form-group label {
  margin-bottom: 4px;
  font-weight: bold;
  text-align: left;
  width: 100%;
}

form input[type="text"],
form input[type="email"],
form input[type="date"],
form select,
form textarea {
  width: 100%;
  max-width: 100%;
  min-width: unset;
  padding: 8px 12px;
  font-size: 1em;
  border-radius: 6px;
  border: 1.5px solid #aaa;
  margin: 0;
  box-sizing: border-box;
  background: #fff;
  color: #333;
  text-align: left;
}

form input:focus,
form textarea:focus,
form select:focus {
  border-color: #e20abe;
  outline: 2px solid #e20abe77;
  background: #f7eaff;
}

form textarea {
  min-height: 72px;
  resize: vertical;
  font-family: inherit;
}

fieldset {
  border-radius: 8px;
  padding: 10px 16px 20px 16px;
  margin-bottom: 20px;
  border: 1.5px solid #fff1;
  background: transparent;
  display: block;
  width: 100%;
  box-sizing: border-box;
}

legend {
  padding: 0 8px;
  font-weight: bold;
  color: #fff;
}

input[type="radio"],
input[type="checkbox"] {
  accent-color: #e20abe;
  margin-right: 4px;
}

.radio-group,
.checkbox-group {
  margin-top: 8px;
  margin-bottom: 12px;
  width: 100%;
}

.preferences h3 {
  margin-bottom: 8px;
  text-align: left;
  width: 100%;
}

.preference-option {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  width: 100%;
}

.preference-option label {
  font-weight: normal;
  margin-bottom: 0;
  flex-shrink: 0;
  margin-right: 8px;
  width: auto;
}

.preference-option input[type="text"] {
  width: auto;
  flex-grow: 1;
  margin-left: 0;
}

/* Buttons */
.button,
input[type="submit"],
button {
  border-radius: 12px;
  padding: 12px 24px;
  background-color: rgb(36, 201, 36);
  border: 2px solid rgb(36, 201, 36);
  color: #fff;
  font-size: 1.1em;
  font-weight: bold;
  transition: background 0.2s, color 0.2s, border 0.2s;
  cursor: url("../assets/videogames2.png") 8 8, pointer;
}

.button:hover,
input[type="submit"]:hover,
button:hover {
  background-color: #25b31b;
  color: #fff;
  border-color: #17980e;
}
/* ------------- MENU ------------- */
.menu-header h1 {
    margin-bottom: 16px;
    margin-top: 0;
    text-shadow: #3b1623 0px 0px 10px;
    text-decoration: underline;
  }
  
  .menu-table {
    width: 100%;
    box-shadow: #3b1623 0px 0px 10px;
    border-radius: 25px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 1.2em;
    color: white;
    margin: 20px auto;
    max-width: 900px;
    background: radial-gradient(circle at bottom right, #2a033a, #192fa7);
    padding: 0;
    overflow: hidden;
    border: #e20abe 2px solid;
    border-style: groove;
  }
  
  .menu-table thead {
    background: radial-gradient(circle at top right, #180aa8, #7389df);
  }
  
  .menu-table th {
    padding: 15px;
    font-weight: bold;
    text-align: center;
    border: none;
  }
  
  .menu-table td {
    padding: 15px;
    text-align: center;
    border: none;
  }
  
  /* Alternating row colors */
  .menu-table tbody tr:nth-child(even) {
    background-color: rgba(25, 46, 167, 0.5);
  }
  
  .menu-table tbody tr:nth-child(odd) {
    background-color: rgba(42, 3, 58, 0.5);
  }
  
  /* Hover effect */
  .menu-table tbody tr:hover {
    background-color: rgba(226, 10, 190, 0.5);
    transition: background-color 0.3s ease;
    scale: 1.05;
  }
  
  .menu-table td img {
    display: block;
    margin: 0 auto;
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    border: #e0dad9 1px solid;
    box-shadow: #3b1623 0px 0px 3px;
    transition: transform 0.15s;
  }
  
  .menu-table td img:hover {
    transform: scale(1.5);
    box-shadow: 0 0 12px #3b1623;
  }


/* ===== Media Query for Larger Screens ===== */

@media (min-width: 1000px) {
    .welcome,
    .featured-events,
    .events,
    .about-us,
    .menu-header,
    .location-container,
    .form,
    form,
    .menu-table {
      max-width: 1200px;
    }
  
    .welcome,
    .featured-events,
    .events,
    .about-us,
    .location-container {
      padding: 60px 40px;
    }
    
    .menu-header {
      padding: 50px 40px;
    }
    
    form {
      padding: 60px;
    }
  
    .welcome p,
    .events p,
    .about-us p,
    .location-details p,
    .menu-intro p {
      font-size: 1.25em;
      line-height: 1.8;
    }
  
    .welcome h1,
    .events h1,
    .about-us h1,
    .location-container h1 {
      font-size: 3.5em;
      margin-bottom: 25px;
    }
    
    .menu-header h1 {
      font-size: 3em;
    }
  
    .featured-events h2,
    .events h2,
    .location-details h2 {
      font-size: 2.2em;
      margin-bottom: 20px;
    }
  
    .event h3 {
      font-size: 1.8em;
    }
    
    .event p {
      font-size: 1.1em;
    }
  
    .nav-links a {
      font-size: 36px;
      padding: 16px 24px;
    }
    
    .nav-links a:hover,
    .nav-links a:focus {
      transform: scale(1.1);
    }
  
    .hero-image,
    .staff-image,
    .menu-image,
    .event-image,
    .map-image,
    .location-image {
      height: 600px;
      max-width: 1200px;
    }
  
    .site-logo img {
      height: 220px;
      max-height: 280px;
    }
  
    .banner {
      padding: 0 80px;
      min-height: 400px;
    }
  
    .event {
      height: auto;
      min-height: 500px;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      padding: 20px;
    }
  
    .event img {
      width: 100%;
      height: 220px;
      object-fit: cover;
      margin-bottom: 15px;
    }
  }
  
  @media (min-width: 1400px) {
    .welcome,
    .featured-events,
    .events,
    .about-us,
    .menu-header,
    .location-container,
    .form,
    form,
    .menu-table {
      max-width: 1400px;
    }
  
    .hero-image,
    .staff-image,
    .menu-image,
    .event-image,
    .map-image,
    .location-image {
      height: 700px;
      max-width: 1400px;
    }
  
    .site-logo img {
      height: 280px;
      max-height: 350px;
    }
  
    .banner {
      min-height: 450px;
      padding: 0 100px;
    }
  
    fieldset {
      max-width: 450px;
    }
  }
  
  /* ------------- FOOTER ------------- */
  footer {
    background: radial-gradient(circle at top right, #300558, #180aa8);
    text-align: center;
    padding: 4px 0px;
    margin-top: 20px;
    flex-shrink: 0;
  }
  
  /* ------------- CUSTOM CURSORS ------------- */
  a,
  button,
  select,
  textarea,
  input[type="checkbox"],
  input[type="text"],
  input[type="submit"],
  input[type="email"],
  input[type="date"],
  input[type="radio"],
  .event-link,
  .clickable {
    cursor: url("../assets/videogames2.png") 8 8, pointer;
  }
  
  button[type="submit"] {
    cursor: url("../assets/videogames2.png") 8 8, pointer;
  }

  /* --------------- End ----------------- */