/* ========== GLOBAL BASE STYLES ========== */

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden; /* prevent body scroll; main will scroll */
  overflow-y: auto;
  font-family: 'Montserrat', Arial, sans-serif;
  color: white;
  background-color: #000;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.bg-overlay {
  display: none; /* hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 0;
}


/* Background Image */
body {
  background-image: url("/img/bg_img.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
}

/* ===== 3-ZONE LAYOUT ===== */

.page-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  min-height: 0;
  position: relative;  /* 👈 required for z-index to work */
  z-index: 1;           /* 👈 sits above the overlay */
  overflow-y: auto;
}


.site-header {
  flex-shrink: 0;
  z-index: 1000;
}

/* Middle scrollable area */
.site-content,
#main {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden; /* 👈 block outer scroll */
  position: relative;
  z-index: 1;

  padding: 140px 20px 100px;
  opacity: 1;
  transition: opacity 0.7s ease-in-out;
}

/* Hide scrollbar in the scrollable middle area (works across browsers) */
.site-content,
#main {
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* Old IE/Edge */
}

.site-content::-webkit-scrollbar,
#main::-webkit-scrollbar {
  width: 0;
  height: 0;                    /* Chrome/Safari/Edge */
}

.page-inner {
  max-width: 100%;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-radius: 10px;

  scrollbar-width: none;
  -ms-overflow-style: none;
}

.page-inner::-webkit-scrollbar {
  display: none;
}

.site-footer {
  flex-shrink: 0;
  z-index: 1000;
}

/* Responsive: adjust padding if header is smaller on mobile */
@media (max-width: 768px) {
  header {
    height: 100px;
    padding: 20px;
  }

  .logo {
    width: 60px;
    height: 60px;
  }

  .menu-button {
    display: block;
  }

  .menu {
    display: none;
  }

  .social-icons {
    display: none;
  }

  .page-inner {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

/* Hide by default */
.mobile-sticky-footer {
  display: none;
}

/* Show only on small screens */
@media (max-width: 1108px) {
  .mobile-sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
    padding: 10px 20px;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .mobile-footer-icons {
    display: flex;
    gap: 14px;
  }

  .mobile-footer-icons img {
    width: 36px;
    height: 36px;
    opacity: 0.85;
    transition: opacity 0.3s ease;
  }

  .mobile-footer-icons img:hover {
    opacity: 1;
  }
}

/* LANDSCAPE */

@media screen and (orientation: landscape) and (max-height: 480px) {
  .site-header {
    height: 80px !important;
    padding: 4px 12px !important;
    background-color: rgba(0, 0, 0, 0.9) !important;
  }

  .logo {
    height: 50px !important;
  }
  
  .menu-button {
	top: 0px !important;
  } 

  .hamburger {
    transform: scale(0.7) !important;
  }

  .site-content {
    height: calc(100vh - 80px) !important;
    overflow-y: auto !important;
    padding: 90px 0px 8px !important;
  }

  .site-footer {
    display: none !important;
  }

  .content-inner {
    max-width: 100% !important;
    padding: 10px 14px !important;
  }

  .subnav {
    font-size: 13px !important;
    gap: 12px !important;
    padding: 6px 0 !important;
  }

  .epk-section {
    margin-bottom: 24px !important;
  }

  .next-gig-card {
    padding: 10px !important;
    gap: 12px !important;
  }

  .next-gig-info .venue-name,
  .next-gig-info .event-title {
    font-size: 0.9rem !important;
  }
}

@media screen and (max-height: 420px) and (orientation: landscape) {
  .site-content {
    min-height: calc(100vh - 80px); /* header height (48px) + footer est. (50px) */
    overflow-y: auto;
	padding: 90px 0px 8px !important;
  }
  
.menu-button {
	top: 0px !important;
  }
  
  .site-header {
    height: 80px !important;
  }

  .site-footer {
    display: none; /* Optional: hide footer to give more space */
  }
} 
}
