/* ==========================================================================
   HeroSection Module Styles
   Full-screen hero with video background and overlaid navigation
   ========================================================================== */

/* Base Section Styles */
.hero-section {
  position: relative;
  width: 100%;
  padding-top: 16rem; /* py-64 */
  padding-bottom: 16rem;
  overflow: hidden;
}

/* Video Background */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Video Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

/* ==========================================================================
   Header Overlay Styles (Transparent header on top of video)
   ========================================================================== */

.hero-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  width: 100%;
}

.hero-header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.hero-logo-link {
  flex-shrink: 0;
}

.hero-logo-img {
  height: auto;
  width: 65px;
}

/* Desktop Navigation */
.hero-nav-desktop {
  display: none;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1280px) {
  .hero-nav-desktop {
    display: flex;
  }
}

.hero-nav-link {
  font-size: 1.125rem; /* text-body-lg */
  font-weight: 500;
  color: white;
  transition: color 0.3s ease;
  white-space: nowrap;
  text-decoration: none;
}

.hero-nav-link:hover {
  color: hsl(var(--brand-orange));
}

.hero-nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: 9999px;
  font-size: 1.125rem;
  font-weight: 700;
  height: 2.75rem;
  padding: 0 1.5rem;
  background-color: #653e97;
  color: white;
  transition: all 0.3s ease;
  text-decoration: none;
}

.hero-nav-button:hover {
  filter: brightness(0.8);
}

/* Mobile Navigation */
.hero-nav-mobile {
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 1280px) {
  .hero-nav-mobile {
    display: none;
  }
}

.hero-nav-button-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: 9999px;
  font-size: 1.125rem;
  font-weight: 500;
  height: 2.75rem;
  padding: 0 1.5rem;
  background-color: #653e97;
  color: white;
  transition: all 0.3s ease;
  text-decoration: none;
}

.hero-nav-button-mobile:hover {
  filter: brightness(0.9);
}

.hero-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  width: 2.5rem;
  background: transparent;
  border: none;
  color: white;
  transition: all 0.3s ease;
  cursor: pointer;
  border-radius: 50%; /* Circular */
}

.hero-menu-toggle:hover {
  background-color: #faa81a; /* Orange fill */
  color: white;
}

.hero-menu-icon {
  height: 1.5rem;
  width: 1.5rem;
}

/* Mobile Menu Overlay */
.hero-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.hero-mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.hero-mobile-menu-content {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: 33.333%; /* Right third of screen */
  min-width: 280px; /* Minimum width for readability */
  background-color: #000000; /* Solid black */
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.5s ease;
  box-shadow: -4px 0 8px rgba(0, 0, 0, 0.3);
}

@media (min-width: 640px) {
  .hero-mobile-menu-content {
    width: 33.333%; /* Maintain 1/3 width on larger screens */
    max-width: 400px; /* Max width for very large screens */
  }
}

.hero-mobile-menu.active .hero-mobile-menu-content {
  transform: translateX(0);
}

.hero-mobile-menu-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  color: white; /* White for visibility on black background */
}

.hero-mobile-menu-close:hover {
  opacity: 1;
}

.hero-mobile-menu-close svg {
  width: 1rem;
  height: 1rem;
}

.hero-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.hero-mobile-nav-link {
  font-size: 1.125rem;
  font-weight: 500
  color: white; /* White text on black background */
  transition: color 0.3s ease;
  text-decoration: none;
}

.hero-mobile-nav-link:hover {
  color: #faa81a; /* Orange on hover */
}

/* ==========================================================================
   Hero Content Styles
   ========================================================================== */

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
}

.hero-content-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

/* Text Content */
.hero-text-content {
  max-width: 43rem;
  flex-shrink: 0;
  padding: 2rem 0;
}

.hero-title {
  font-size: 3.75rem; /* text-hero */
  line-height: 1;
  text-align: left;
  margin-bottom: 0.5rem;
  color: white;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 6rem;
  }
}

.hero-subtitle {

  font-weight: 400 important!;
  text-align: left;
  margin-bottom: 1.5rem;
  font-size: 2.25rem; /* text-section */
  line-height: 2.5rem;
  color: white;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 3rem;
    line-height: 1;
  }
}

/* CTA Group */
.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: 9999px;
  font-size: 1.125rem;
  font-weight: 500;
  height: 2.75rem;
  padding: 0 1.5rem;
  background-color: #653e97;
  color: white;
  transition: all 0.3s ease;
  text-decoration: none;
}

.hero-cta-primary:hover {
  filter: brightness(0.8);
  color: white important!;
}

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: 9999px;
  font-size: 1.125rem;
  font-weight: 500;
  height: 2.75rem;
  padding: 0;
  background: transparent;
  border: none;
  color: white;
  transition: all 0.3s ease;
  cursor: pointer;
}

.hero-cta-secondary:hover {
  opacity: 0.8;
}

/* Artwork Container (Desktop only) */
.hero-artwork-container {
  display: none;
  flex-shrink: 0;
  margin-top: 0.6rem;
  margin-left: auto;
  margin-right: 1rem;
  align-items: flex-end;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .hero-artwork-container {
    display: flex;
  }
}

.hero-artwork-img {
  width: auto;
  height: 352px;
  object-fit: contain;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

/* Mobile */
@media (max-width: 767px) {
  .hero-section {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
  
  .hero-header-container {
    padding: 1rem 1rem;
  }
  
  .hero-content-container {
    padding: 0 1rem;
  }
  
  .hero-text-content {
    padding: 1rem 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
    line-height: 2rem;
    margin-bottom: 1.5rem;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-section {
    padding-top: 12rem;
    padding-bottom: 12rem;
  }
}