/* Hero Section */
.hero {
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  height: 60vh; /* 60% of viewport height */
  min-height: 450px; /* Ensure minimum height for small screens */
  position: relative;
  color: white;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
  position: relative;
  z-index: 2;
}

/* Logo styling */
.logo {
  font-size: 32px; /* was 24px, +8 */
  font-weight: bold;
  text-transform: uppercase;
  font-family: 'Arial Black', 'ArchivoBlack-2', sans-serif; /* replaced 'Helvetica Neue Black' */
  letter-spacing: -0.03em; /* slightly tighter spacing */
}

/* Navigation menu styling */
.nav-menu {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  padding: 5px 10px;
}

.nav-menu a:hover {
  color: #D3FC01;
}

/* Mobile menu styling - hide by default */
.mobile-menu-btn {
  display: none !important; /* Hide mobile button by default (desktop view) with !important to ensure it's not overridden */
  color: white;
  font-size: 24px;
  cursor: pointer;
  position: relative;
  z-index: 100;
}

.mobile-menu-overlay {
  display: none !important; /* Hide mobile overlay by default with !important to ensure it's not visible */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 50;
  padding: 80px 20px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Mobile menu close button */
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  z-index: 101;
}

.mobile-menu-overlay a {
  color: white;
  text-decoration: none;
  font-size: 20px;
  margin: 15px 0;
  transition: all 0.3s ease;
}

.mobile-menu-overlay a:hover {
  color: #D3FC01;
}

/* Constrain the hero container to a max-width of 1600px and center it */
.hero > .container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 80px;
  /* Add display: flex and flex-direction: column */
  display: flex;
  flex-direction: column;
  height: 100%; /* Make container take full height of hero */
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  /* Use margin auto to center vertically */
  margin-top: auto;
  margin-bottom: auto;
  /* Remove fixed padding and use more responsive approach */
  padding-top: clamp(20px, 5vh, 50px);
  padding-bottom: clamp(20px, 5vh, 50px);
}

.hero-content .primary-button {
  margin-left: 15px;
}

.hero,
.hero * {
  box-sizing: content-box !important;
}

/* Additional media query for smaller screens */
@media (max-height: 700px) {
  .hero {
    min-height: 400px; /* Ensure a reasonable minimum height */
  }
  
  .navbar {
    padding: 20px 0; /* Reduce navbar padding */
  }
  
  .hero-content {
    padding-top: 15px;
    padding-bottom: 15px;
  }
}

/* Override box-sizing for mobile menu overlay to include padding in dimensions */
.mobile-menu-overlay {
  box-sizing: border-box !important;
}

/* Prevent scrolling when mobile menu is active */
body.no-scroll {
  overflow: hidden;
}
