/* ═══════════════════════════════════════════════════════
   KRIDHA PRODUCTIONS — Navigation Styles
   ═══════════════════════════════════════════════════════ */

.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 24px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: transparent;
}

.main-nav.scrolled {
  background: rgba(5, 10, 9, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gold);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Logo ── */
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
  z-index: 1001;
}

.nav-logo .logo-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.15em;
}

.nav-logo .logo-sub {
  font-family: var(--font-display);
  font-size: 0.55rem;
  color: var(--gold);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ── Nav Links ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--white);
}

.nav-links a.active::after {
  width: 100%;
}

/* ── Nav CTA ── */
.nav-cta {
  margin-left: 16px;
}

.nav-cta .btn {
  padding: 10px 24px;
  font-size: 0.75rem;
}

/* ── Hamburger ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
  cursor: none;
}

.nav-hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--green);
  transition: all 0.4s ease;
  transform-origin: center;
}

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

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

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

/* ── Mobile Menu Overlay ── */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 9, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  transform: translateY(30px);
  opacity: 0;
  transition: color var(--transition), transform 0.6s ease, opacity 0.6s ease;
}

.mobile-menu.active a {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu a:hover,
.mobile-menu a:focus-visible {
  color: var(--green);
}

.mobile-menu a.active {
  color: var(--gold);
}

/* Stagger reveal */
.mobile-menu.active a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active a:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active a:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active a:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.active a:nth-child(6) { transition-delay: 0.35s; }
.mobile-menu.active a:nth-child(7) { transition-delay: 0.4s; }

/* ── Footer ── */
.main-footer {
  background: var(--surface);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}

.footer-brand .footer-logo-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--green);
  letter-spacing: 0.15em;
  margin-bottom: 4px;
}

.footer-brand .footer-logo-sub {
  font-family: var(--font-display);
  font-size: 0.6rem;
  color: var(--gold);
  letter-spacing: 0.35em;
  margin-bottom: 16px;
}

.footer-brand .footer-tagline {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1rem;
  transition: all var(--transition);
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px var(--green-glow);
}

.footer-column h4 {
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}

.footer-column ul li a:hover,
.footer-column ul li a:focus-visible {
  color: var(--green);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-contact-item i {
  color: var(--green);
  margin-top: 3px;
  width: 16px;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  opacity: 0.6;
}

.footer-bottom .crafted {
  color: var(--gold);
  opacity: 0.6;
  font-size: 0.8rem;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .nav-links {
    gap: 20px;
  }

  .nav-cta {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .main-nav {
    padding: 0 16px;
  }
}
