/* GLOBAL RESETS & FONTS */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
html {
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: "Arial", sans-serif;
  background: #fff;
  height: 100%;
}

/* HEADER */
header {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 8px;
  background: #fff;
  height: 10vh;
  max-height: 150px;
  position: relative;
}

.logo {
  height: 10vh;
  max-height: 150px;
  padding-top: 8px;
}

/* ARROWS (for scrolling sections) */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 10;
  padding: 5px;
}

.arrow img {
  width: 25px;
  height: auto;
  display: block;
}

.left-arrow {
  left: 10px;
}

.right-arrow {
  right: 10px;
}

#vinyls .arrow {
  top: 40%;
  transform: translateY(-50%);
}

@media screen and (max-width: 768px) {
  .arrow {
    display: none !important;
  }
}

/* EVENTS SECTION */
#events {
  position: relative;
  background: black;
  z-index: 1;
  margin: 0;
  width: 100%;
}

.events-title {
  font-family: "Inter", sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  color: white;
  text-align: left;
  padding-top: 10px;
  margin: 0;
  background: transparent;
  z-index: 1;
  position: relative;
}

.event-cards {
  padding-top: 10px;
  padding-left: 6px;
}

/* VINYL & EVENT CARD STYLES */
.event-cards,
.vinyl-cards {
  overflow-x: auto;
  scroll-behavior: smooth;
  white-space: nowrap;
  display: flex;
  gap: 20px;
}

#vinyls .scroll-container {
  position: relative;
}

.vinyl-title {
  font-family: "Inter", sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  color: #000;
  text-align: left;
  background: transparent;
  padding-left: 20px;
  margin: 0px;
}

.event-cards,
.vinyl-cards {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 10px;
  position: relative;
  z-index: 1;
  padding-right: 25px;
}

.event-cards::-webkit-scrollbar,
.vinyl-cards::-webkit-scrollbar {
  display: none;
}

.vinyl-cards {
  padding-top: 10px;
}

.event,
.vinyl {
  margin: 0 5px;
  text-align: center;
}

.event img {
  width: auto;
  height: 25vh;
  object-fit: contain;
  max-height: 300px;
}

.vinyl img {
  width: auto;
  height: 20vh;
  object-fit: contain;
  max-height: 250px;
}

.event-caption {
  font-size: auto;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  max-width: 500px;
  margin: 0 auto;
}

.events-title,
.event {
  padding-left: 20px;
}

.vinyl {
  padding-left: 20px;
}

.vinyl-caption {
  font-size: auto;
  color: #000;
  text-align: center;
  padding: 5px 0;
  max-width: 500px;
  margin: 0 auto;
}

/* CONTAINER & HOVER EFFECTS */
.container {
  position: relative;
  width: 100%;
  height: auto;
  max-height: 300px;
  overflow: visible;
}

.image {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: 0.5s ease;
  backface-visibility: hidden;
}

.container:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease-in-out;
}

/* OPTIONAL: Overlay links used in the event template */
.icon-link {
  display: block;
  margin: 5px 0;
}

@media screen and (max-width: 768px) {
  .icon-link img {
    height: 20vh;
    max-width: 100%;
  }
}

/* COUNTDOWN TIMER (used in the event template) */
.countdown-timer {
  color: red;
  text-align: center;
  padding: 10px 0;
  display: block;
  font-size: auto;
}

/* MAILING LIST & FOOTER */
footer {
  background: #fff;
  padding: 20px;
  text-align: center;
  position: relative;
  padding-top: 0px;
  padding-bottom: 10px;
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
}

.footer-content h2 {
  font-size: 1.5rem;
  margin-bottom: 1px;
  font-weight: 700;
}

.footer-content p {
  font-size: 0.875rem;
  margin-top: 1px;
  margin-bottom: 5px;
  font-weight: 200;
  color: #555;
}

.footer-content .social-media-icons {
  margin-top: 0px;
}

/* Hide desktop icons on mobile, show mobile icons on mobile */
.footer-content .social-media-icons.mobile {
  display: none;
}

.footer-content .social-media-icons.mobile a img {
  width: 40px;
  height: 40px;
}

.invisible-button {
  visibility: hidden;
  width: 40px;
}

/* =============== MAILCHIMP SIGNUP =============== */
#mc_embed_signup {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

#mc_embed_signup_scroll {
  display: inline-block;
}

.mc-field-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

#mc-embedded-subscribe-form .email {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 20px;
  width: 250px;
}

/* Main "subscribe" button (desktop) */
#mc-embedded-subscribe-form .button {
  padding: 10px 20px;
  border: none;
  border-radius: 20px;
  height: 25px;
  background-color: #333;
  color: #fff;
  cursor: pointer;
}
#mc-embedded-subscribe-form .button img {
  display: block;
  max-width: 100%;
  max-height: 10px; /* The small icon look for desktop */
  height: auto;
}

/* Additional container config */
#mce-error-response,
#mce-success-response {
  color: red;
  padding: 10px 0;
  width: 250px;
  margin: 0 auto;
}

/* This is the group inside #mc_embed_signup */
#mc_embed_signup .mc-field-group {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  position: relative;
  width: auto;
}

#mc_embed_signup .email {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 20px;
  width: 250px;
  flex-shrink: 0;
}

/* The narrower, pill button under #mc_embed_signup */
#mc_embed_signup .button {
  padding: 10px;
  width: 40px;            /* narrower “pill” on desktop */
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
  /* Remove fixed height so icon can scale comfortably */
  height: auto;
}

#mc_embed_signup .button img {
  max-width: 100%;
  height: auto;
  max-height: 10px;
}

#mc_embed_signup .response {
  margin-top: 10px;
  font-size: 0.875rem;
}

#mc_embed_signup .response.error {
  color: red;
}

#mc_embed_signup .response.success {
  color: green;
}

/* Hover effect */
#mc-embedded-subscribe-form .button:hover {
  background-color: #555;
}

/* MOBILE OVERRIDES */
@media screen and (max-width: 768px) {
  #mc-embedded-subscribe-form .mc-field-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  #mc-embedded-subscribe-form .email {
    flex: 1;
    max-width: calc(100% - 58px);
  }
}

/* Email input coloring on valid/invalid */
.valid-email {
  background-color: lightgreen;
}

.invalid-email {
  background-color: palevioletred;
}

/* SOCIAL MEDIA ICONS */
.social-media-icons.desktop a {
  text-decoration: none;
}

.social-media-icons.desktop {
  position: absolute;
  top: 10px;
  right: 10px;
}

.social-media-icons.mobile {
  display: none;
}

.social-media-icons img {
  height: 4.2vh;
  max-height: 40px;
  width: auto;
}

@media screen and (max-width: 768px) {
  .social-media-icons.desktop {
    display: none;
  }

  .social-media-icons.mobile {
    display: flex !important;
    justify-content: center;
    width: 100%;
    gap: 3px;
    padding: 5px 0;
  }
}
