/* =======================================================
   HERO SECTION STYLES
   ======================================================= */

/* @import url('https://fonts.googleapis.com/css2?family=Inter:wght@900&display=swap'); */

.hero-section {
    position: relative;
    width: 100%;
    height: 100dvh;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;    
}

.hero-others {
    position: relative;
    width: 100%;
    height: 75dvh;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    /* padding: 0 48px 48px; */
    margin-top: auto;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100; /* Stays above general content, below menu overlay */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 48px;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, -webkit-backdrop-filter 0.3s ease, padding 0.3s ease;
    box-sizing: border-box; 
}

.hero-header.scrolled {
    background-color: rgba(7, 7, 7, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(5px);
    padding: 16px 48px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-logo img {
    height: 45px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.hero-title {
    font-size: clamp(3rem, 9.5vw, 10rem);
    font-weight: 900;
    line-height: 0.71;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding-bottom: 4px;
}

.inter-font{
    font-family: 'Inter' !important;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

/* Content & Title Styling */
.hero-title-slide {
  display: none;
}

.hero-title-slide.active {
  display: block;
  animation: fadeInText 0.8s ease-in-out forwards;
}

@keyframes fadeInText {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .hero-header {
        padding: 24px;
    }

    .hero-content {
        padding: 0 24px 10px;

    }

    .hero-logo img {
        height: 30px;
    }
    .hero-section{
        height: 100dvh;
    }
    .hero-others{
        height: 55dvh;
    }
}