/* static/css/main.css */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  background-color: #0a0a12;
  color: #e0e0e0;
  font-family: 'Arial', sans-serif;
}

nav {
  background: #000000;
  padding: 10px 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1000;
}
.video-container,
.background-video,
.section-bg {
  pointer-events: none !important;
}


.menu-button {
  font-size: 24px;
  cursor: pointer;
  color: #fff;
  background: none;
  border: none;
  text-shadow: 0 0 5px #ffffff;
}

.logo {
  color: #ffffff;
  font-size: 1.5em;
  font-weight: bold;
  text-shadow: 0 0 5px #ffffff;
  text-align: center;
  flex-grow: 1;
  transition: 3s ease;
}

/* Brand Intro Section */
.brand-intro {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  z-index: 2;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
}

.background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
}

.background-text {
  text-align: center;
  margin-top: 2%;
  font-weight: bold;
  margin-bottom: 20px;
  z-index: 4;
  opacity: 1;
}
.brand-intro .content {
  position: relative;
  z-index: 3; /* Higher than nav bar */
  transform: none; /* Remove previous transform */
  padding-top: 80px; /* Space below nav */
}

.background-text .hs {
  font-size: 6rem;
  font-family: 'Pacifico';
  color: #8C4C38;
  animation: colorChange 5s infinite alternate, fadeInOut 3s infinite alternate;
  display: inline-block;
}

.background-text .fragrances {
  font-size: 2.5rem;
  color: #fff;
}

@keyframes colorChange {
  0% { color: #8C4C38; }
  100% { color: #fff; }
}

@keyframes fadeInOut {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

/* Scroll Sections */
.scroll-container {
  position: relative;
  height: calc(200vh + 5vh); /* 2 sections + small spacing */
}



.fragrance-section:last-child {
  margin-bottom: 0;
}

/* Update section-bg positioning */
.section-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: -1;
}

/* Ensure sections stack properly */
.fragrance-section {
  position: relative;
  height: 100vh;
  margin-bottom: 5vh;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

#men .section-bg {
  background-image: url('videos/man.gif');
}

#women .section-bg {
  background-image: url('videos/woman.gif');
}

.fragrance-section .content,
.fragrance-section .content1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(20, 20, 40, 0.3);
  border: 1px solid #444;
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 15px;
  max-width: 600px;
  width: 90%;
  font-family: 'Tangerine', cursive;
  z-index: 2;
}

.fragrance-section .content1 {
  margin-top: 0;
}

.fragrance-section h2 {
  color: #b388ff;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 5px rgba(179, 136, 255, 0.5);
}

.fragrance-section p {
  color: #d1c4e9;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#men .btn {
  background: linear-gradient(45deg, #3a7bd5, #00d2ff);
  color: white;
  box-shadow: 0 0 15px rgba(58, 123, 213, 0.6);
}

#women .btn {
  background: linear-gradient(45deg, #c471f5, #fa71cd);
  color: white;
  box-shadow: 0 0 15px rgba(196, 113, 245, 0.6);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px;
}




/* Footer */
.footer {
    text-align: center;
    color: #888;
    font-size: 0.8rem;
}

.footer p {
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .brand-intro h1 {
    font-size: 3rem;
  }
  
  .fragrance-section h2 {
    font-size: 2rem;
  }

  .fragrance-section .content,
  .fragrance-section .content1 {
    padding: 1.5rem;
  }
}