/* Root Variables */
:root {
  --white: #ffffff;
  --grey: #cccccc;
}

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

.padding {
    padding-inline: 50px;
}

body {
    background-color: black;
    position: relative;
}

/* Navbar Styling */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 50px;
  color: var(--white);
  position: relative;
}

nav ul.links {
  display: flex;
  align-items: center;
  gap: 70px;
}

nav ul.links li {
  list-style: none;
  font-size: 1.2rem;
}

nav ul.links a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

nav ul.links a.active,
nav ul.links a:hover {
  color: var(--grey);
}

.merch-mobile {
  display: none;
}

.merch a{
    color: white;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: white;
  margin: 3px 0;
  transition: 0.3s;
}

.logo img {
  max-width: 100px;
  border-radius: 50%;
  border: 10px solid black;
}

/* Events Section Styles */
.events-section {
  background-color: black;
  padding: 4rem 0;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  min-height: calc(100vh - 80px); /* Adjust for navbar height */
}

.events-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.events-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.events-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--white) 0%, var(--grey) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
  margin-bottom: 0.75rem;
}

.underline {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--white) 0%, var(--grey) 50%);
  border-radius: 1.5px;
}

.events-description {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.8;
  color: var(--grey);
  font-weight: 300;
  letter-spacing: 0.02em;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.events-list {
  margin-bottom: 3rem;
  max-width: 100%;
  overflow-x: hidden;
}

.event-card {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.event-image {
  position: relative;
  width: 40%;
  aspect-ratio: 4 / 3; /* Maintain consistent image proportions */
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.event-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.event-card:hover .event-overlay {
  opacity: 1;
}

.event-date {
  text-align: center;
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.event-date .day {
  display: block;
  font-size: clamp(2rem, 4vw, 2.5rem);
  line-height: 1;
}

.event-date .month {
  display: block;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.event-date .year {
  display: block;
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
}

.event-details {
  padding: 1.5rem;
  width: 60%;
  text-align: left;
  color: var(--white); /* Ensure all text is visible on black background */
}

.event-details h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--white);
}

.event-info {
  font-size: clamp(0.8rem, 1.8vw, 0.9rem);
  color: var(--grey);
  margin-bottom: 0.5rem;
  font-weight: 300;
}

.event-description {
  font-size: clamp(0.8rem, 1.8vw, 0.9rem);
  color: var(--grey);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.event-ticket-button {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 2px solid var(--white);
  padding: 0.8rem 2rem;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.event-ticket-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.event-ticket-button:hover::before {
  left: 100%;
}

.event-ticket-button:hover {
  background: var(--white);
  color: black;
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.events-button {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 2px solid var(--white);
  padding: 0.8rem 2rem;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.events-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.events-button:hover::before {
  left: 100%;
}

.events-button:hover {
  background: var(--white);
  color: black;
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

/* Footer Styles */
.footer-section {
  background-color: black;
  padding: 3rem 0;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-nav h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--white) 0%, var(--grey) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
}

.footer-nav li {
  margin-bottom: 0.5rem;
}

.footer-nav a {
  color: var(--grey);
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-nav a:hover {
  color: var(--white);
  transform: translateX(5px);
}

.footer-social h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--white) 0%, var(--grey) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  display: block;
  width: 28px;
  height: 28px;
  background-size: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.social-icon.instagram {
  background: url('https://www.instagram.com/static/images/ico/favicon-192.png/68d99ba29cc8.png') center/cover no-repeat;
}

.social-icon.spotify {
  background: url('https://open.spotify.com/favicon.ico') center/cover no-repeat;
}

.social-icon.youtube {
  background: url('https://music.youtube.com/favicon.ico') center/cover no-repeat;
}

.footer-copyright {
  width: 100%;
  text-align: center;
  margin-top: 2rem;
}

.footer-copyright p {
  font-size: clamp(0.7rem, 1.5vw, 0.8rem);
  color: var(--grey);
  margin: 0;
}

/* Responsive Styles */
@media (max-width: 900px) {
  .padding {
    padding-inline: 30px;
  }

  .hamburger {
    display: flex;
  }

  nav ul.links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.98) 37%, rgba(0, 0, 0, 0.98) 66%, rgba(36, 42, 58, 0.98) 100%);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
  }

  nav ul.links.active {
    transform: translateY(0);
  }

  nav ul.links li {
    font-size: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
  }

  nav ul.links.active li {
    opacity: 1;
    transform: translateY(0);
  }

  nav ul.links.active li:nth-child(1) { transition-delay: 0.1s; }
  nav ul.links.active li:nth-child(2) { transition-delay: 0.2s; }
  nav ul.links.active li:nth-child(3) { transition-delay: 0.3s; }
  nav ul.links.active li:nth-child(4) { transition-delay: 0.4s; }
  nav ul.links.active li:nth-child(5) { transition-delay: 0.5s; }

  .merch {
    display: none;
  }

  nav ul.links.active .merch-mobile {
    display: block;
  }

  .merch-mobile a {
    border: 1px solid var(--white);
    padding-block: 0.5em;
    padding-inline: 1.3em;
    border-radius: 24px;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .events-section {
    padding: 3rem 0;
  }

  .events-container {
    padding: 0 1.5rem;
  }

  .events-header h1 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
  }

  .events-description {
    font-size: clamp(0.9rem, 2vw, 1rem);
  }

  .event-card {
    flex-direction: column;
  }

  .event-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto; /* Allow height to adjust based on aspect ratio */
  }

  .event-details {
    width: 100%;
    padding: 1rem;
  }

  .event-ticket-button {
    padding: 0.7rem 1.5rem;
    font-size: clamp(0.7rem, 1.8vw, 0.8rem);
  }

  .events-button {
    padding: 0.7rem 1.5rem;
    font-size: clamp(0.7rem, 1.8vw, 0.8rem);
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1.5rem;
  }

  .footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
  }

  .footer-nav li {
    margin-bottom: 0;
  }

  .footer-nav a:hover {
    transform: none;
  }
}

@media (max-width: 600px) {
  .padding {
    padding-inline: 20px;
  }

  nav {
    padding-block: 30px;
  }

  nav .logo {
    font-size: 1.1rem;
  }

  nav ul.links li {
    font-size: 1.8rem;
  }

  .events-section {
    padding: 2rem 0;
  }

  .events-container {
    padding: 0 1rem;
  }

  .events-header h1 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
  }

  .events-description {
    font-size: clamp(0.8rem, 1.8vw, 0.9rem);
  }

  .event-image {
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .event-details h3 {
    font-size: clamp(1rem, 2vw, 1.2rem);
  }

  .event-info, .event-description {
    font-size: clamp(0.7rem, 1.6vw, 0.8rem);
  }

  .event-ticket-button {
    padding: 0.6rem 1.2rem;
    font-size: clamp(0.6rem, 1.6vw, 0.7rem);
  }

  .events-button {
    padding: 0.6rem 1.2rem;
    font-size: clamp(0.6rem, 1.6vw, 0.7rem);
  }

  .footer-container {
    padding: 0 1rem;
  }

  .footer-nav h3, .footer-social h3 {
    font-size: clamp(1rem, 2vw, 1.2rem);
  }

  .footer-nav a, .footer-copyright p {
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
  }

  .social-icon {
    width: 24px;
    height: 24px;
  }
}