﻿/* Reset margins and paddings for the body */
body, html {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Prevent horizontal scrolling */
  font-family: Arial, sans-serif;
  background-color: #fff;
  color: #000;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #000;
  
  padding: 5px 15px; /* Add some padding for spacing */
  height: 115px; /* Set a specific height */
  box-sizing: border-box; /* Ensure padding doesn't add to the height */
}

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

.logo img.production-logo {
  height: 120px;
  margin-left: 10px;
  margin-bottom: -5px;
}

.logo .logo-text {
  color: #fff;
  margin-left: 5px;
  display: flex;
  flex-direction: column;
  line-height: 1;
  margin-bottom: -5px;
}

.logo .logo-text h1,
.logo .logo-text h2 {
  margin: 0;
  padding: 0;
  line-height: 1;
}

.logo .logo-text h1 {
  font-size: 50px;
}

.logo .logo-text h2 {
  font-size: 32px;
  margin-top: -10px;
}

.logo-text a {
  text-decoration: none; /* Removes the underline */
  color: inherit; /* Inherits the color from the parent element */
}

.logo-text a:hover {
  color: inherit; /* Ensures the color stays the same on hover */
}


nav ul {
  list-style: none;
  display: flex;
  gap: 3px;
  margin: 0;
  padding : 0;
  margin-bottom: 5px;
}

nav ul li {
  position: relative;
  right: -20px; /* Moves the entire nav to the left */
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  margin-right: 40px; /* Reduce space between items */
  font-family: 'Century Gothic';
  font-style: bold;
  font-size: 20px;
}

/* Remove underline from article title and artist links */
.articles h2 a, /* For article titles */
.articles p a {  /* For artist names */
  text-decoration: none;
  color: inherit; /* Ensure it inherits the default text color */
}

.articles h2 a:hover,
.articles p a:hover {
  color: rgb(0, 0, 0); /* Optionally, change the color on hover */
}
/* Dropdown Container */
nav ul li.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
nav ul li .dropdown-content {
  display: none;
  position: absolute;
  background-color: #000000;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0);
  z-index: 1000;
}

/* Dropdown Links */
nav ul li .dropdown-content a {
  font-weight: normal;
  color: rgb(255, 255, 255);
  padding: 12px 19px;
  text-decoration: none;
  display: block;
  text-align: left;
  transition: color 0.3s ease; /* Smooth transition for color change */
}

/* Change color on hover */
nav ul li .dropdown-content a:hover {
  color: #ffffff; /* Change this color to whatever you prefer */
}

/* Highlight Dropdown Links with Background on Hover */
nav ul li .dropdown-content a:hover {
  background-color: #b7ee53; /* Background color on hover */
}

/* Show the Dropdown Menu on Hover */
nav ul li.dropdown:hover .dropdown-content,
nav ul li.dropdown:focus-within .dropdown-content {
  display: block;
}
nav ul li a#explore {
  display: inline-flex;
  align-items: center;
}

nav ul li a#explore:after {
  content: ''; /* Unicode character for caret */
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid white;
  margin-left: 10px;
  transition: border-top-color 0.3s;
}

nav ul li a#explore:hover:after {
  border-top-color: #ff0;
}

main {
  padding: 20px;
}

.articles-header {
  text-align: center;
  background-color: #b7ee53; /* Match this color with your desired background */
  padding: 20px 0;
  margin: 0; /* Ensure no margin */
  width: 100vw; /* Full width */
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: -20px;
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.articles-header h1 {
  color: #fff; /* Adjust text color as needed */
}

.articles {
  text-align: center;
  padding: 72px 24px;
}

.article-list {
  display: block;
}

.article-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 300px));
  justify-content: center;
  gap: 32px;
  max-width: 1040px;
  margin: 0 auto;
}

.article {
  width: 100%;
  max-width: none;
  text-align: center;
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article img {
  display: block;
  width: 100%;
  height: auto;
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.article h2 {
  font-size: 16px;
  margin: 10px 0 0;
  color: #000000; /* Adjust text color as needed */
  font-family: 'Century Gothic';
  font-style: bolder;
  line-height: 1.35;
}

.article p {
  margin: 0;
  color: #000000; /* Adjust text color as needed */
  letter-spacing: 0.5px; /* Add space between letters */
  font-family: 'Century Gothic';
}
.date {
  margin-top: 0;
  margin-bottom: 0;
}
.bold-gray {
  font-weight: bold;
  color: gray;
}
.bold-paragraph {
  font-weight: 300; /* Makes the paragraph slightly bolder than normal */
  margin-bottom: 0;
}

@media (max-width: 680px) {
  .articles {
    padding: 56px 20px;
  }

  .article-row {
    grid-template-columns: minmax(0, 1fr);
    max-width: 360px;
  }
}

footer {
  width: 100%; /* Full width */
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 0px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.footer-logo img {
  width: 100px;
  margin-bottom: 0px;
  height: auto;
}

.footer-social-media {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-social-media a img {
  width: 30px;
}

.spaced-paragraph {
  margin: -07px 0;
  line-height: 0.6;
  font-size: 22px;
  font-family: 'Century Gothic';
  margin-bottom: 20px;
}

.footer-newsletter p {
  margin: 0;
}

#newsletter-form input[type="email"]::placeholder {
  color: #b0b0b0;
  font-style: Regular;
  font-family: 'Century Gothic';
}

#newsletter-form input[type="email"] {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 17px;
  color: #333;
  background-color: #fff;
  margin-right: 8px;
}

#newsletter-form button {
  padding: 10px 40px;
  border: none;
  background-color: #b7ee53;
  color: #000000;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}

#newsletter-form button:hover {
  background-color: #b7ee53;
}

#search {
  padding: 15px;
  margin-top: 20px;
  border: 3px solid #ffffff;
  border-radius: 5px;
  font-size: 16px;
  color: #333;
  background-color: #b7ee53;
  width: 320px;
}

#search::placeholder {
  color: #fff;
  font-style: light;
  font-family: 'Century Gothic';
  font-style: bold;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
  color: #ffffff; /* Default color */
  transition: color 0.3s ease-in-out, transform 0.3s ease-in-out; /* Smooth color and transform transition */
}
.footer-link:hover {
  color: #b8ee5339; /* New color on hover */
  transform: scale(1.1); /* Optional: Slightly enlarge the text for a flowing effect */
  font-weight: bold; /* Optional: Make text bold on hover */
}
.footer-links a {
  color: #99caff;
  text-decoration: none;
  margin: 1px 0;
  font-style: Regular;
  font-family: 'Century Gothic';
}

.footer-copy {
  margin-top: 10px;
}

.footer-copy p {
  color: #ffffff;
  margin: 2;
  font-style: bold;
  font-family: 'Comic Sans MS';
}


/* Popup styles */
.popup-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(255, 255, 0); /* Yellow background with slight transparency */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  visibility: visible; /* Initially visible */
  opacity: 1;
  transition: visibility 0s linear 0.5s, opacity 0.5s ease-in-out;
}

.spinning-logo {
  width: 100px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
}

/* Targeted artist hub polish */
header {
  position: relative;
  z-index: 30;
}

nav ul li .dropdown-content {
  top: 100%;
  z-index: 3000;
}

.articles {
  background: transparent;
}

.articles-header h1 {
  margin: 0;
  text-decoration: none;
}

.popup-container {
  pointer-events: none;
  animation: artistHubPopupDismiss 0.5s ease 1.2s forwards;
}

@keyframes artistHubPopupDismiss {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.article-row {
  align-items: stretch;
}

.article {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transition: none;
}

.article:hover {
  transform: none;
  box-shadow: none;
}

.article > a:first-child {
  display: block;
  overflow: hidden;
  border-radius: 4px;
  background: #111;
}

.article img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #111;
  transition: transform 0.22s ease;
}

.article:hover img {
  transform: scale(1.02);
}

.article h2 a,
.article p a {
  color: inherit;
  text-decoration: none;
}

.article h2 a:hover,
.article p a:hover {
  color: #000;
  text-decoration: none;
}

@media (min-width: 641px) and (max-width: 1023px) {
  header {
    height: auto;
    min-height: 115px;
    flex-wrap: wrap;
    gap: 8px;
  }

  nav {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
  }

  nav ul {
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 8px;
  }

  nav ul li {
    right: auto;
  }

  nav ul li .dropdown-content {
    left: auto;
    right: 0;
    max-width: calc(100vw - 40px);
    box-sizing: border-box;
  }
}

@media (min-width: 1024px) {
  nav ul li.dropdown .dropdown-content {
    left: auto;
    right: 20px;
  }
}

/* Let the existing submenu escape its navigation row. */
header nav {
  overflow: visible;
}

nav ul li.dropdown.is-explore-open .dropdown-content {
  display: block;
}

nav ul li.dropdown.is-explore-closed .dropdown-content {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .spinning-logo {
    animation: none;
  }

  .popup-container {
    animation: none;
    transition: none;
    opacity: 0;
    visibility: hidden;
  }
}

@media (max-width: 720px) {
  header {
    height: auto;
    min-height: 96px;
    padding: 8px 12px;
    flex-wrap: wrap;
    gap: 8px;
    overflow: visible;
  }

  .logo {
    min-width: 0;
    flex: 1 1 auto;
  }

  .logo img.production-logo {
    height: 78px;
    margin: 0 6px 0 0;
    flex: 0 0 auto;
  }

  .logo .logo-text {
    min-width: 0;
    margin-left: 0;
    margin-bottom: 0;
  }

  .logo .logo-text h1 {
    font-size: clamp(32px, 10vw, 40px);
  }

  .logo .logo-text h2 {
    font-size: clamp(20px, 6.5vw, 26px);
    margin-top: -6px;
  }

  nav {
    flex: 1 0 100%;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  nav ul {
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 4px 0 0;
  }

  nav ul li {
    right: auto;
    margin: 0;
  }

  nav ul li a {
    margin-right: 0;
    padding: 5px 4px;
    font-size: 11px;
  }

  nav ul li .dropdown-content {
    left: auto;
    right: 0;
  }

  main {
    padding: 0;
  }

  .articles-header {
    margin-top: 0;
  }
}



