/* ----------------------------------- */
/* 🔥 HEADER LOGO & NAVIGATION */
/* ----------------------------------- */
#main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  #brand-logo img {
    height: 60px;
    display: block;
  }
  
  .nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
  }
  
  .nav-links li {
    display: flex;
    align-items: center;
    line-height: 1;
  }

  /* 🔥 Nav Link Base Style - Forced Globally */
.nav-links a, .nav-links li a {
  font-family: 'Playfair Display', serif !important;
  font-size: 1rem !important;
  color: #36302A !important;
  text-decoration: none !important;
  letter-spacing: 1.2px !important;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* CTA Button Specific Styles */
.nav-links .nav-cta-button {
  font-family: 'Playfair Display', serif !important;
  font-size: 1rem !important;
  text-decoration: none !important;
  letter-spacing: 1.2px !important;
  color: #fff !important; /* White text */
  background-color: #d14b00;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
  
.nav-links li a:hover {
  color: #d14b00;
}
  
.nav-links .nav-cta-button:hover {
  background-color: #a63b00;
  transform: scale(1.05);
  color: #fff !important; /* Keep text white on hover */
}
  
/* ----------------------------------- */
/* 🔥 HAMBURGER MENU */
/* ----------------------------------- */
#hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  padding: 10px;
  margin-right: -10px;
  z-index: 30;
}

#hamburger span {
  width: 28px;
  height: 3px;
  background: #d14b00;
  display: block;
  border-radius: 2px;
  transition: all 0.3s ease;
}

#hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

#hamburger.active span:nth-child(2) {
  opacity: 0;
}

#hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ----------------------------------- */
/* 🔥 RESPONSIVE - MOBILE OPTIMIZATION */
/* ----------------------------------- */
@media screen and (max-width: 768px) {
    #main-header {
      padding: 15px 20px;
      position: fixed;
      background-color: rgba(255, 253, 250, 0.95);
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
  
    #hamburger {
      display: flex;
    }
  
    .nav-right {
      flex: 1;
      justify-content: flex-end;
    }
  
    .nav-links {
      position: fixed;
      top: 70px;
      right: -100%;
      width: 250px;
      background-color: rgba(255, 250, 245, 0.98);
      flex-direction: column;
      align-items: flex-start;
      gap: 20px;
      padding: 25px;
      box-shadow: -4px 0 12px rgba(0,0,0,0.1);
      transition: right 0.4s ease;
      z-index: 20;
      border-top-left-radius: 12px;
      border-bottom-left-radius: 12px;
      height: auto;
      max-height: calc(100vh - 70px);
      overflow-y: auto;
    }
  
    .nav-links.show {
      right: 0;
      display: flex;
      animation: menuFadeIn 0.4s ease-out forwards;
    }
  
    .nav-links li {
      width: 100%;
      margin: 6px 0;
    }
  
    .nav-links a, .nav-links li a {
      font-size: 1.1rem !important;
      padding: 10px 0;
      display: block;
      width: 100%;
    }
  
    .nav-links .nav-cta-button {
      display: block;
      width: 100%;
      text-align: center;
      background-color: #d14b00;
      padding: 12px 24px;
      border-radius: 8px;
      font-weight: 700;
      letter-spacing: 1.1px;
      transition: background-color 0.3s ease, transform 0.3s ease;
      white-space: nowrap;
      margin-top: 10px;
      color: #fff !important;
    }
  
    #brand-logo img {
      height: 40px;
    }
  
    #background-video {
      object-fit: cover;
      object-position: 60% center;
      height: 100vh;
      width: 100%;
    }
    
    /* Decrease video quality on mobile for performance */
    video {
      max-height: 100vh;
      max-width: 100vw;
    }
}

/* Tablet specific adjustments */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    #main-header {
      padding: 20px 30px;
    }
    
    #brand-logo img {
      height: 50px;
    }
    
    .nav-links {
      gap: 30px;
    }
    
    .nav-links a, .nav-links li a {
      font-size: 0.95rem !important;
    }
    
    .nav-links .nav-cta-button {
      padding: 10px 20px;
    }
}

/* Optimize background video for all devices */
.background-video-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
}

#background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

