html { height: 100%; }

@font-face {
  font-family: Poppins;
  src: url('../assets/fonts/Poppins-Regular.ttf') format('truetype');
  
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url('../assets/fonts/Poppins-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url('../assets/fonts/Poppins-Italic.ttf') format('truetype');
  font-style: italic;
  font-display: swap;
}

body {
  margin: 0;
  font-family: Poppins, sans-serif;
  background: #fff;
  color: #000;
  display: flex;
  flex-direction: column;
  height: 100%;
}

header {
  position: relative;
  display: flex;
  justify-content: space-between; /* OR flex-start*/
  align-items: center;
  padding: 0.5rem 0.825rem;
  box-sizing: border-box;
}

.desktop-nav {
  display: none;
}

.artist-name {
  font-size: 1.5rem;
  font-weight: 500;
  text-decoration: none;
  color: inherit;
}

.ham-button {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 40px;
  height: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 8;
  padding: 5px;
}

.ham-button span {
  position: relative;
  display: block;
  width: 100%;
  height: 3px;
  background: #000;
  border-radius: 2px;
  z-index: 10;
}

.page-title {
  text-align: center;
  font-size: 1.2rem;
  margin: 2rem 0 1rem;
  font-family: Poppins, sans-serif;
}
  
.menu-handle {
  /* Handle bar */
  width: 40px;
  height: 5px;
  background: #ccc;
  border-radius: 3px;
  margin: 0 auto 1.5rem auto;
}
  
.menu {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
  padding: 2rem 1rem;
  transition: bottom 0.4s ease-in-out;
  box-sizing: border-box; /* ✅ Important: keeps padding inside 100% width */
}  
.menu.active {
  bottom: 0;
}
  
.menu a {
    display: block;
    margin: 1.2rem 0;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
}
.menu a img {
    width: 26px;
    height: 26px;
    vertical-align: middle;
}

.menu a .facebook-logo {
    width: 23px;
    height: 23px;
    vertical-align: middle;
    filter: contrast(0.9) saturate(90%);    
}
.menu .social-media {
    display: flex;
    flex: 1;
    column-gap: 2rem;
    justify-content: center;    
    max-height: 50px;
}
.menu .social-media p {
    margin: 0;
}

  
/* Menu Close Button */
.menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #000;
    cursor: pointer;
    display: none; /* hidden by default */
    transition: color 0.3s ease;
    z-index: 10; /* Ensure it's above the overlay */
}
  
.menu-close.active {
    display: block; /* Show when menu is active */
}
  
  
/* Overlay background when menu is active */
  
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}
  
.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media screen and (orientation: landscape) {
  header {
    border-bottom: none;
  }
  .menu {
    bottom: -110%;
  }  
}

@media (max-width: 668px) and (orientation: landscape) {
  .menu-close {
    top: 3.5rem;
  }
}
  
/* Desktop navbar style */
@media (min-width: 1200px) {
  header {
    justify-content: space-between;
  }

  .artist-name {
    text-align: left;
    margin-left: 1vw;
  }

  .menu {
      position: static;
      display: flex;
      gap: 2rem;
      background: none;
      box-shadow: none;
      transform: none !important;
      opacity: 1 !important;
      visibility: visible !important;
      flex-direction: row;
      align-items: center;
      margin-left: auto;
      padding: 0;
  }  

  .desktop-nav {
    display: flex;
    gap: 2rem;
    margin-right: 1vw;
    align-items: center;
  }
  
  .desktop-nav a {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
  }

  .desktop-nav a.current {
    border-bottom: 2px solid #000;
  }

  .desktop-nav a img {
    width: 1.5rem;
    height: 1.5rem;
    vertical-align: middle;
    margin-right: 4px; /* Space between icon and text */
  }

  .desktop-nav a .facebook-logo {
    width: 1.25rem;
    height: 1.25rem;      
  }
  
  .menu-button,
  .menu, 
  .menu-handle,
  .menu-overlay,
  .menu-close,
  .ham-button {
    display: none !important;
  }
}