* {
  box-sizing: border-box;
  user-select: none;
}
@font-face {
    font-family: Metropolis-ExtraLight;
    src: url("https://betheoneofficial.com/assets/fonts/Metropolis-ExtraLight.otf") format("opentype");
}
@font-face {
    font-family: Metropolis-Medium;
    src: url("https://betheoneofficial.com/assets/fonts/Metropolis-Medium.otf") format("opentype");
}
@font-face {
    font-family: Metropolis-Regular;
    src: url("https://betheoneofficial.com/assets/fonts/Metropolis-Regular.otf") format("opentype");
}
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  color: white;
  background: black;
  font-family: "Metropolis-ExtraLight";
  text-transform: uppercase;
  overflow-x: hidden;
  overflow-y: hidden;
}

body.menu-open {
    overflow: hidden;
}

h2 {
  font-size: clamp(1rem, 5vw, 5rem);
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.5em;
  margin-right: -0.5em;
  color: #cccccc;
  width: 90vw;
  max-width: 1200px;
  display: none; 
}

header {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  width: 100%;
  z-index: 50; 
  height: 7em;
  font-family: "Metropolis-Regular"";
  font-size: clamp(0.66rem, 2vw, 1rem);
  letter-spacing: 0.5em;
  transition: all 0.3s ease;
}

/* --- Burger Menu Icon Styles --- */
.burger-menu {
  cursor: pointer;
  width: 45px;
  height: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 55; 
}

.bar {
  width: 100%;
  height: 2px;
  background-color: white;
  transition: all 0.3s ease-in-out;
  transform-origin: left;
}
img.header-logo {
    margin-top: 8px;
    width: 120px;
    /*margin-left: calc(50% - 60px);*/
    margin-left: 0;
}
img.footer-logo {
    margin-top: 8px;
    width: 80px;
    margin-left: calc(50% - 40px);
}
 

.burger-menu.is-open .bar-top {
  transform: rotate(45deg) translate(0, -13px);
}

.burger-menu.is-open .bar-bottom {
  transform: rotate(-45deg) translate(0, 13px);
}

/* --- Sliding Sidebar/Slider Styles --- */
.slider-header {
    position: fixed;
    top: 0;
    right: -90px;
    width: min(90vw, 350px);
    height: 100vh;
    background: rgba(17, 17, 17, 0.98); 
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5); 
    z-index: 51;
    transform: translateX(100%) skewX(10deg);
    transition: transform 0.6s cubic-bezier(0.8, 0, 0.2, 1);
    padding: 7em 2em 2em 2em;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-family: "Metropolis-Regular"";
    letter-spacing: 0.2em;
    overflow-y: auto; 
} 

.slider-header.is-open {
    transform: translateX(0) skewX(0); 
}

.slider-header nav {
    margin-top: 2em;
}

/* Hover Animation: Slide-in Underline */
.slider-header nav a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    display: block;
    margin-bottom: 0.8em;
    transition: color 0.3s;
    font-family: 'Metropolis-ExtraLight';
    text-transform: uppercase;
    
    /* New: Setup for underline effect */
    position: relative; 
    overflow: hidden; /* Hide the sliding line */
    padding-bottom: 5px; /* Add space for the line */
}
.slider-header nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px; /* Line thickness */
    background-color: #d59576; /* Gold color */
    transform: translateX(-100%); /* Start off-screen to the left */
    transition: transform 0.3s ease-out;
}
.slider-header nav a:hover::after {
    transform: translateX(0); /* Slide in */
}
.slider-header nav a:hover {
    color: #d59576; 
}

/* Submenu Styling */
.nav-item-with-submenu {
    position: relative;
    /* Ensure the wrapper respects the same padding/margin as a regular link */
    /*margin-bottom: 0.8em; */
}

.nav-item-with-submenu .main-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 5px; /* Adjust if needed */
}

.submenu-toggle-icon {
    font-size: 14px;
    margin-left: 10px;
    transition: transform 0.3s ease;
}
.nav-item-with-submenu.submenu-open .submenu-toggle-icon {
    transform: rotate(90deg); /* Rotate arrow when submenu is open */
}

.submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, opacity 0.3s ease;
    opacity: 0;
    padding-left: 20px; /* Indent submenu links */
    margin-top: 5px;
}

.submenu a {
    font-size: 15px; /* Smaller font for submenu links */
    margin-bottom: 0.4em;
    padding-bottom: 3px;
}

.nav-item-with-submenu.submenu-open .submenu {
    max-height: 200px; /* Sufficient height to show all links */
    opacity: 1;
}

/* Remove slide-in effect for the submenu links themselves */
.submenu a::after {
    display: none;
}
.submenu a:hover::after {
    transform: translateX(-100%);
}

/* * FIX: Restructure pointer-events CSS to enable clicking on submenu links
 */
.main-nav-link .submenu-toggle-icon {
    /* Prevents the arrow from being part of the 'a' hover effect if needed */
    pointer-events: none; 
}

.main-nav-link {
    pointer-events: auto; /* Re-enable pointer events for the main link text */
}

.submenu a {
    /* ENSURE submenu links are fully clickable */
    pointer-events: auto; 
}

/* On mobile, adjust the main-nav-link padding */
@media (max-width: 768px) {
    .slider-header nav a {
        padding-bottom: 3px;
        font-size: 15px !important;
        text-transform: uppercase;
    }
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 50;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
}

.overlay.is-open {
    visibility: visible;
    opacity: 1;
} 
.footer-content {
    width: 100%;
    height: 100%;
    min-height: 50vh; 
    padding: 5% 5% 2% 5%;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    text-align: center;
    font-family: "Metropolis-ExtraLight";
    font-size: 1.1rem;
    color: #cccccc;
    text-transform: none;
}
.footer-content a {
    color: #d59576;
    text-decoration: none;
    margin: 0 10px;
    text-transform: uppercase;
    font-size: 0.9em;
}
.footer-content .logo {
    font-family: "Metropolis-Regular";
    font-size: 2em;
    letter-spacing: 0.2em;
    color: white;
    margin-bottom: 20px;
    margin-top: 50px;
}
.footer-content .links a {
    letter-spacing: 0.1em;
}
.footer-content .copyright {
    margin-top: 40px;
    font-size: 0.85em;
    color: #888888;
} 
/* --- END NEW CSS: Footer Style --- */

/* On mobile, adjust the main-nav-link padding */
@media (max-width: 768px) {
    .slider-header nav a {
        padding-bottom: 3px;
    }
    .hero-content .sub-text {
        padding-bottom: 65px;
    }
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 50;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
}

.overlay.is-open {
    visibility: visible;
    opacity: 1;
}

section {
  height: 100vh; 
  width: 100%;
  top: 0;
  position: fixed;
  visibility: hidden;
  will-change: transform;
}
section .outer,
section .inner {
  width: 100%;
  height: 100%;
  overflow-y: hidden;
  will-change: transform;
}
section .bg {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  background-size: cover;
  background-position: center;
}

/* --- Custom Hero Content Styles (Applied to all sections) --- */
.hero-content {
    position: absolute;
    bottom: 0;
    left: 5%;
    transform: translateY(-25%);
    max-width: 45%;
    z-index: 2;
    padding-right: 20px;
}

.hero-content.align-right {
    left: auto; 
    right: 5%; 
    text-align: left !important;
}
.hero-content.align-right .main-heading,
.hero-content.align-right .sub-text {
    text-align: left !important;
}

.hero-content .main-heading {
  font-family: "Metropolis-ExtraLight";
  font-weight: 100;
  font-size: clamp(2rem, 5vw, 3rem); 
  line-height: 1.1;
  letter-spacing: 0.1em;
  color: white; 
  text-align: left;
  margin: 0 0 1em 0; 
}
.sub-text.sub-text-to-animate.sub-sections p {
    width: 32%;
    display: inline-block;
    font-size: 12px;
    margin: 0;
    padding: 0;
    margin-bottom: 12px;
}

.hero-content .sub-text {
  font-family: "Metropolis-ExtraLight";
  /*font-size: clamp(0.9rem, 1.5vw, 1.1rem);*/
  font-weight: 100;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: #eee; 
  text-transform: none; 
  text-align: left;
  margin: 0;
}
.hero-content .sub-text a{
    text-decoration: none;
    color: #eee;
    font-size: 1.3em;
}

.sub-text-to-animate {
    opacity: 0;
    transform: translateY(20px); 
}

/* --- Background Video/Image Styles --- */
/* FIX: Corrected video CSS for responsiveness and to prevent scroll-x */
.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  object-fit: cover; 
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 2; /* Increased z-index for the overlay */
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
}

/* --- Background Images: Removed all background-image properties from video sections --- */
.first .bg {
  background-image: none; 
}
.second .bg {
  background-image: none; 
}
.third .bg {
  background-image: none;
}
.fourth .bg {
  background-image: none;
}
.fifth .bg {
  background-image: none;
}
.sixth .bg {
  background-image: none;
}

/* --- Seventh/Footer Section Styles --- */
.seventh .bg {
    background-color: #0d0d0d;
    background-image: none;
}
.footer-content {
    width: 100%;
    height: 100%;
    min-height: 50vh; 
    padding: 5% 5% 2% 5%;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    text-align: center;
    font-family: "Metropolis-ExtraLight";
    font-size: 1.1rem;
    color: #cccccc;
    text-transform: none;
}
.footer-content a {
    color: #d59576;
    text-decoration: none;
    margin: 0 10px;
    text-transform: uppercase;
    font-size: 0.9em;
}
.footer-content .logo {
    font-family: "Metropolis-Regular";
    font-size: 2em;
    letter-spacing: 0.2em;
    color: white;
    margin-bottom: 20px;
    margin-top: 50px;
}
.footer-content .links a {
    letter-spacing: 0.1em;
}
.footer-content .copyright {
    margin-top: 40px;
    font-size: 0.85em;
    color: #888888;
} 
/* --- END NEW CSS: Footer Style --- */


@media (max-width: 768px) {
    img.header-logo {
        width: 70px;
        margin-left: 0; 
        margin-top: 5px;
    }
    img.footer-logo {
        width: 80px;
        margin-left: calc(50% - 40px);  
    }
    .burger-menu {width: 35px;}
    header {
        height: 4em;
    }
    .hero-content .main-heading { 
        font-size: 25px;
        margin-bottom: 10px;
    }
    .sub-text-to-animate span,
    .sub-text-to-animate br{
        display: none;
    }
    .sub-text-to-animate a{
        display: block;
    }
  .hero-content {
    max-width: 100%;
    top: auto;
    bottom: 5%; 
    left: 5%;
    transform: translateY(0);
    text-align: left !important;
  }
  .hero-content.align-right {
    right: 1%;
    padding: 0;
    left: 4%;
  }
  .hero-content .main-heading,
  .hero-content .sub-text {
      text-align: left !important;
  }
    .sub-text.sub-text-to-animate.sub-sections p {
    width: 99%;
    margin-bottom: 4px;
    font-size: 15px;
    }
    .footer-content p {
        line-height: 25px;
    }
    .footer-content .links a {
        font-size: 14px;
        line-height: 1.5rem;
    }
    .bg-video{
        height: 100vh;
    }
    section .bg{
        position: relative;
    } 
    .nav-item-with-submenu .main-nav-link { 
        padding-right: 10px;
    }
    .sub-text.sub-text-to-animate.sub-sections p a.link  {
        display: inline;
    }
}