/* 
 * R&R Tampa - Site Navigation
 * Professional navigation menu for all pages
 */

/* =================================================================
   MAIN NAVIGATION
   ================================================================= */

.main-nav {
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 0;
  text-decoration: none;
}

.nav-logo {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: contain;
  background: rgba(255,255,255,0.06);
  padding: 4px;
}

.nav-brand-text {
  text-align: left;
}

.nav-brand-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: #ffffff;
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.nav-brand-name span {
  color: var(--teal-light);
}

.nav-tagline {
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  margin-top: 0.1rem;
}

/* Navigation Links */
.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.5rem;
}

.nav-links li {
  margin: 0;
}

.nav-link {
  display: block;
  padding: 0.65rem 1rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.nav-link.active {
  background: #0d9488;
  color: #ffffff;
}

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

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle:hover span {
  background: var(--teal-light);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

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

/* Mobile Menu */
.nav-links.mobile-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-links.mobile-open .nav-link {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-links.mobile-open .nav-link:last-child {
  border-bottom: none;
}

/* CTA Button in Nav */
.nav-cta {
  display: none;
  background: #0d9488;
  color: #ffffff;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3);
}

.nav-cta:hover {
  background: var(--teal-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.4);
}

/* Desktop Navigation */
@media (min-width: 768px) {
  .nav-container {
    padding: 0 2rem;
  }

  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
    flex-direction: row;
    position: static;
    background: transparent;
    padding: 0;
    box-shadow: none;
    animation: none;
  }

  .nav-links .nav-link {
    border-bottom: none;
  }

  .nav-cta {
    display: inline-block;
  }
}

@media (min-width: 1024px) {
  .nav-links {
    gap: 0.25rem;
  }

  .nav-link {
    padding: 0.65rem 1.25rem;
  }
}

/* Ensure nav doesn't interfere with skip link */
.main-nav {
  position: relative;
  z-index: 100;
}

/* Remove old header styling if present */
.header {
  display: none;
}
