/* ========================================
   NAVIGATION HEADER
   Sticky header with gold accents
   ======================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-normal);
  background: transparent;
}

/* Solid background on scroll */
.header--scrolled {
  background: var(--dark-header);
  box-shadow: var(--shadow-md);
}

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

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform var(--transition-fast);
}

.header__logo:hover {
  transform: scale(1.05);
}

.header__logo-img {
  height: 50px;
  width: auto;
}

.header__logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-left: 0.5rem;
  letter-spacing: 1px;
}

/* Navigation Menu */
.header__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__menu-item {
  position: relative;
}

.header__menu-link {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-white);
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
  position: relative;
}

.header__menu-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-primary);
  transition: width var(--transition-normal);
}

.header__menu-link:hover {
  color: var(--gold-primary);
}

.header__menu-link:hover::after {
  width: 100%;
}

.header__menu-link--active {
  color: var(--gold-primary);
}

/* Contact Info (Top right) */
.header__contact {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 2rem;
}

.header__phone {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.header__phone:hover {
  color: var(--gold-light);
}

/* Mobile Menu Toggle */
.header__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.header__mobile-toggle-line {
  width: 30px;
  height: 3px;
  background: var(--text-white);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Mobile Menu Toggle Active State */
.header__mobile-toggle--active .header__mobile-toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.header__mobile-toggle--active .header__mobile-toggle-line:nth-child(2) {
  opacity: 0;
}

.header__mobile-toggle--active .header__mobile-toggle-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Styles */
@media (max-width: 992px) {
  .header__nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--dark-header);
    flex-direction: column;
    padding: 2rem;
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
    overflow-y: auto;
  }

  .header__nav--open {
    transform: translateX(0);
  }

  .header__menu {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .header__menu-item {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .header__menu-link {
    display: block;
    width: 100%;
    padding: 1.25rem 0;
    font-size: 1.1rem;
  }

  .header__contact {
    margin-left: 0;
    margin-top: 2rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .header__mobile-toggle {
    display: flex;
  }

  .header {
    background: var(--dark-header);
  }
}

/* Tablet Styles */
@media (min-width: 993px) and (max-width: 1200px) {
  .header__menu {
    gap: 1.5rem;
  }

  .header__container {
    padding: 1rem 1.5rem;
  }
}

/* Prevent scroll when mobile menu is open */
body.menu-open {
  overflow: hidden;
}

/* Header Top Bar (Optional - for phone/location) */
.header__top-bar {
  background: var(--gold-primary);
  padding: 0.5rem 2rem;
  text-align: center;
}

.header__top-bar-text {
  font-size: 0.9rem;
  color: var(--text-white);
  font-weight: 500;
}

.header__top-bar-link {
  color: var(--text-white);
  text-decoration: underline;
  font-weight: 600;
}

.header__top-bar-link:hover {
  color: var(--dark-header);
}
