@font-face {
    font-family: 'Horizon';
    src: url('/assets/fonts/horizon.otf') format('opentype');
}

:root {
  --light-text: rgb(217, 215, 215);
  --white: rgb(254, 253, 253);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: black;
    color:white;
    font-family: 'Horizon';
    margin: 0; 
    /* padding-top accounts for fixed navbar */
    padding-top: 60px;
}

a {
    color: royalblue;
}

.center-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
}

.grid-container {
    display: grid;
}

.header {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

/* navbar */

.navbar {
  /* position fixed keeps navbar at top of window while scrolling */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgb(0,0,0,.9);
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.navbar .brand {
  padding: .75rem 1rem;
  color: var(--light-text);
  font-size: 1.5rem;
  text-transform: uppercase;
  font-weight: 900;
}

.navbar-links ul {
  margin: 0;
  padding-right: 1rem;
  display: flex;
  gap: 1rem;
  list-style-type: none;
}

.navbar-links ul li a {
  color: var(--light-text);
  text-decoration: none;
}

#responsiveMenuToggleButton {
  background-color: transparent;
  border: 0;
  cursor: pointer;
  display: none;
  position: absolute;
  top: 0;
  right: 0;
}

#responsiveMenuToggleButton svg {
  height: 1.5rem;
  width: 1.5rem;
  color: var(--light-text);
  position: absolute;
  top: .75rem;
  right: .75rem;
}

#responsiveMenuToggleButton .openIcon {
  display: block;
}

#responsiveMenuToggleButton .closeIcon {
  display: none;
}

#responsiveMenuToggleButton.open .openIcon {
  display: none;
}

#responsiveMenuToggleButton.open .closeIcon {
  display: block;
}

/* hero */
section#hero {
  background-image: url(../assets/images/blurry-bogo.jpg);
  background-size: cover;
  background-size: cover;
  background-repeat: no-repeat;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: .85;
}


section#hero h1 {
  padding: 1rem;
  font-size: 3rem;
  /* change var if not good palette */
  color: var(--white)
}

section#description {
  padding: 1rem;
  text-align: center;
}

/* Band Photo */
.band-photo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
}

.band-photo {
  max-width: 100%;
  height: auto;
  max-height: 600px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* home */

#cowgirls-cover {
    display: grid;
    margin: auto;
}

#cowgirls-links {
  display: flex;
  justify-content: center;
  gap: 20px; /* spacing between icons */
  margin-top: 1em;
}

.buy-button {
  align-items: center;
  background-color: transparent;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-family: ui-sans-serif,system-ui,-apple-system,system-ui,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
  font-size: 1rem;
  font-weight: 700;
  justify-content: center;
  line-height: 1.5;
  text-decoration: none;
  text-transform: uppercase;
  outline: 0;
  border: 0;
  padding: 1rem;
}

.buy-button:before {
  background-color: #fff;
  content: "";
  display: inline-block;
  height: 1px;
  margin-right: 10px;
  transition: all .42s cubic-bezier(.25,.8,.25,1);
  width: 0;
}

.buy-button:hover:before {
  background-color: #fff;
  width: 3rem;
}

/* videos */

.video-class {
    display: flex;
    justify-content: center;
    margin-top: 5rem;
}

/* shows */

/* Calendar list styling to look like table */
#calendar {
    width: 80%;
    margin: 20px auto;
    list-style: none;
    padding: 0;
    background-color: black;
    border: 1px solid #333;
}

#calendar li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    color: #eaea7b; /* Yellow text color */
    border-bottom: 1px dotted #eaea7b; /* Dotted line separator */
    text-transform: uppercase;
    font-weight: 500;
}

#calendar li:last-child {
    border-bottom: none; /* Remove border from last item */
}

#calendar .show-date {
    font-weight: bold;
    min-width: 60px;
}

#calendar .show-title {
    flex: 1;
    text-align: center;
    margin: 0 20px;
}

#calendar .show-location {
    min-width: 150px;
    text-align: right;
}

#calendar .show-tickets {
    min-width: 80px;
    text-align: right;
}

#calendar .show-tickets a {
    color: royalblue;
    text-decoration: none;
}

#calendar .show-tickets a:hover {
    text-decoration: underline;
}

table {
    width: 80%;
    margin: 20px auto;
    border-collapse: collapse;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  }

  th, td {
    padding: 12px 15px;
    text-align: center;
    border: 1px dotted ;
    color: #eaea7b;
  }

  .show-info a {
    color: royalblue;
    text-decoration: none;
  }

  .show-info a:hover {
    text-decoration: underline;
  }

  .show-date {
    font-weight: bold;
  }

/* ALBUMS */

.album-card {
    text-decoration: none; /* Removes underline */
    color: inherit; /* Keeps text color the same as parent */
}

.album-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    padding: 0 20px;
    margin: 0 auto;
    width: 100%;
}
.album-title {
    font-family: 'Horizon', sans-serif;
    color: white;
    font-size: 1.1rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 0.5rem;
}

/* contact */

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    list-style-type: none;
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

#contact-link {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-content div {
    text-align: center;
    width: 100%;
    max-width: 500px;
    font-size: 0.9rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-content div a {
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    margin-top: 0.2rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

.label-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.in-the-red-link {
    display: flex;
    justify-content: center;
}

.in-the-red-link img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.anniversary-link {
    display: flex;
    justify-content: center;
}

.circular-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

/* press */

#blurry-photo {
    max-width: 100%; 
    height: auto;
    margin-top: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* mobile */

@media screen and (max-width: 600px) {

    /* navbar */
    #responsiveMenuToggleButton {
    display: block;
    }

    .navbar-links {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background-color: rgba(0, 0, 0, 0.9);
      padding: 1rem;
      z-index: 1000;
    }

    .navbar-links.show {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
    }

    .navbar-links ul {
      flex-direction: column;
      gap: 1rem;
      align-items: center;
      justify-content: center;
      margin: 0;
      padding: 0;
      width: 100%;
    }

    .navbar-links ul li {
      text-align: center;
      width: 100%;
    }

    /* Calendar mobile layout */
    #calendar {
        width: 95%;
        margin: 20px auto;
    }

    #calendar li {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
        margin-bottom: 20px;
        border-bottom: 1px dotted #eaea7b;
    }

    #calendar li:last-child {
        border-bottom: none;
    }

    /* First line: date and venue */
    #calendar .show-date,
    #calendar .show-title {
        display: inline-block;
        margin: 0;
        min-width: auto;
    }

    #calendar .show-date {
        margin-right: 15px;
        font-weight: bold;
    }

    #calendar .show-title {
        flex: none;
        text-align: left;
    }

    /* Second line: location and tickets */
    #calendar .show-location,
    #calendar .show-tickets {
        display: inline-block;
        margin: 0;
        min-width: auto;
        text-align: left;
    }

    #calendar .show-location {
        margin-right: 15px;
    }

    #calendar .show-tickets {
        text-align: left;
    }

    /* albums */
    .album-title {
        text-align: center;
    }

    .album-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        /* padding: 0 15px;
        margin: 0 auto; */
        width: 50%;
    }

    .album-card {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        display: block;
    }

    .album-card img {
        width: 100%;
        height: auto;
        max-width: 100%;
        display: block;
    }
}