/* ============================================================
   SupportArmenian — Shared Nav & Footer Styles
   Edit once here; applies to every page automatically.
   ============================================================ */

/* ── SKIP LINK ── */
.skip-link {
  position: absolute; left: -9999px; top: 1rem;
  background: #FF3D7F; color: #fff;
  padding: 0.5rem 1rem; border-radius: 8px;
  font-weight: 700; z-index: 9999;
}
.skip-link:focus { left: 1rem; }

/* ── TOP UTILITY BAR ── */
.top-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 101;
  height: 36px;
  background: #12112A;
  display: flex; align-items: center; justify-content: flex-end;
  gap: 0.75rem;
  padding: 0 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.top-bar-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem; font-weight: 700;
  color: rgba(255,255,255,0.65);
  background: none; border: none; cursor: pointer;
  padding: 0; text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.top-bar-btn:hover { color: #fff; }
.top-bar-add {
  background: #FF3D7F;
  color: #fff !important;
  padding: 0.2rem 0.75rem;
  border-radius: 6px;
  transition: background 0.2s !important;
}
.top-bar-add:hover { background: #e02f6e !important; color: #fff !important; }
.top-bar-advertise {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem; font-weight: 500;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  margin-right: 0.25rem;
  transition: color 0.2s;
}
.top-bar-advertise:hover { color: #fff; }
.top-bar-divider {
  width: 1px; height: 14px;
  background: rgba(255,255,255,0.15);
}

/* ── NAV ── */
nav {
  position: fixed; top: 36px; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem; height: 68px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #e0e0e0;
}
.nav-logo {
  font-family: 'League Spartan', sans-serif;
  font-size: 1.75rem; font-weight: 900; letter-spacing: -0.5px;
  color: #000; text-decoration: none;
}
.nav-logo span { color: #FF3D7F; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a {
  color: #666; text-decoration: none;
  font-size: 1rem; font-weight: 600;
  transition: color 0.2s;
}
.nav-links a:hover { color: #000; }
.nav-links a.nav-active { color: #000; font-weight: 700; }
.nav-cta {
  background: #FF3D7F; color: #fff !important;
  padding: 0.5rem 1.2rem; border-radius: 8px;
  font-weight: 700 !important; font-size: 0.82rem !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: #e02f6e !important; }
.nav-hamburger {
  display: none; flex-direction: column;
  justify-content: center; align-items: center;
  gap: 5px; width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  border-radius: 8px; transition: background 0.15s; padding: 0;
}
.nav-hamburger:hover { background: #f5f5f5; }
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: #000; border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none; position: fixed; top: 104px; left: 0; right: 0; z-index: 99;
  background: rgba(255,255,255,0.98); backdrop-filter: blur(16px);
  border-bottom: 1px solid #e0e0e0;
  padding: 1.2rem 1.5rem 1.5rem;
  flex-direction: column; gap: 0.25rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  max-height: calc(100vh - 104px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open { display: flex; }
.mobile-menu a, .mobile-menu span {
  display: block; padding: 0.85rem 1rem;
  color: #000; text-decoration: none;
  font-size: 1rem; font-weight: 600;
  border-radius: 10px; transition: background 0.15s; cursor: pointer;
}
.mobile-menu a:hover, .mobile-menu span:hover { background: #f5f5f5; }
.mobile-menu .mobile-cta {
  background: #FF3D7F !important; color: #fff !important;
  text-align: center; margin-top: 0.5rem; font-weight: 700 !important;
}
.mobile-menu .mobile-cta:hover { background: #e02f6e !important; }
.mobile-menu-divider { height: 1px; background: #e0e0e0; margin: 0.4rem 0; }
/* Mobile accordion sections for Directory / Weddings */
.mobile-section-trigger {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 1rem; font-size: 1rem; font-weight: 600;
  color: #000; border-radius: 10px; cursor: pointer;
  transition: background 0.15s; user-select: none;
}
.mobile-section-trigger:hover { background: #f5f5f5; }
.mobile-section-trigger .ms-chevron {
  transition: transform 0.22s; font-size: 0.75rem; opacity: 0.5;
}
.mobile-section.is-open .ms-chevron { transform: rotate(180deg); opacity: 1; }
.mobile-section-body {
  display: none; flex-direction: column; gap: 0;
  padding: 0 0 0.3rem 0.75rem;
}
.mobile-section.is-open .mobile-section-body { display: flex; }
.mobile-section-body a {
  font-size: 0.9rem !important; font-weight: 500 !important;
  color: #444 !important; padding: 0.55rem 1rem !important;
  border-radius: 8px !important;
}
.mobile-section-body a:hover { background: #F4F3FF !important; color: #12112A !important; }

/* ── FOOTER ── */
footer {
  background: #12112A; border-top: none;
  padding: 5rem 2rem 2.5rem; margin-top: 0;
}
.footer-inner { max-width: 1400px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand .logo {
  font-family: 'League Spartan', sans-serif; font-size: 1.8rem;
  font-weight: 900; letter-spacing: -0.5px; color: #fff;
}
.footer-brand .logo span { color: #FF3D7F; }
.footer-brand p {
  color: rgba(255,255,255,0.45); font-size: 0.875rem;
  margin-top: 0.75rem; line-height: 1.7; max-width: 280px;
}
.footer-col h4 {
  font-family: 'League Spartan', sans-serif; font-size: 0.82rem;
  font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 1.2rem; color: rgba(255,255,255,0.5);
}
.footer-col a {
  display: block; color: rgba(255,255,255,0.65); font-size: 0.9rem;
  text-decoration: none; margin-bottom: 0.65rem;
  transition: color 0.2s; font-weight: 500;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-social { display: flex; gap: 0.75rem; }
.social-btn {
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); text-decoration: none;
  font-size: 1rem; transition: all 0.2s;
}
.social-btn:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); }
/* Instagram — brand color by default, muted on hover */
.social-btn-insta { background: #E1306C; border-color: #E1306C; color: #fff; }
.social-btn-insta:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.6); }
/* Facebook — brand color by default, muted on hover */
.social-btn-fb { background: #1877F2; border-color: #1877F2; color: #fff; }
.social-btn-fb:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.6); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; }
}
@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
  nav { padding: 0.8rem 1rem; }
  .nav-logo { font-size: 1.1rem; }
  .top-bar { padding: 0 1rem; gap: 0.5rem; }
  /* Hide non-essential top-bar items on small phones */
  .top-bar-advertise { display: none; }
  .top-bar-divider { display: none; }
  .top-bar-btn:not(.top-bar-add) { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; }
  .nav-dropdown { display: none !important; }
  .nav-dropdown-chevron { display: none; }
}

/* ══════════════════════════════════════════
   DIRECTORY MEGA DROPDOWN
══════════════════════════════════════════ */
.nav-dropdown-wrap {
  position: static;
  display: inline-flex;
  align-items: center;
}
.nav-dropdown-trigger {
  display: inline-flex; align-items: center; gap: 4px;
  color: #666; text-decoration: none;
  font-size: 1rem; font-weight: 600;
  transition: color 0.2s;
  cursor: pointer;
}
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger.nav-active { color: #000; }
.nav-dropdown-chevron {
  transition: transform 0.22s;
  flex-shrink: 0;
  opacity: 0.5;
}
.nav-dropdown-wrap.is-open .nav-dropdown-chevron { transform: rotate(180deg); opacity: 1; }
.nav-dropdown {
  display: none;
  position: absolute;
  top: 68px;
  left: 0; right: 0;
  background: #fff;
  border-top: 3px solid #FF3D7F;
  border-bottom: 1px solid #e8e6f0;
  box-shadow: 0 16px 48px rgba(18,17,42,0.12);
  padding: 1.8rem 2.5rem 2rem;
  z-index: 200;
}
.nav-dropdown-wrap.is-open .nav-dropdown {
  display: block;
  animation: dropdownFade 0.18s ease;
}
@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-dropdown-inner { max-width: 1100px; margin: 0 auto; }
.nav-dropdown-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid #eeedf8;
}
.nav-dropdown-header strong {
  font-family: 'League Spartan', sans-serif;
  font-size: 0.78rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: #12112A;
}
.nav-dropdown-header a {
  font-size: 0.82rem; font-weight: 700;
  color: #FF3D7F; text-decoration: none;
  transition: opacity 0.15s;
}
.nav-dropdown-header a:hover { opacity: 0.75; }
.nav-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.15rem 0.5rem;
}
/* Directory grid: fill top-to-bottom column by column (alphabetical) */
.nav-dir-grid {
  grid-auto-flow: column;
  grid-template-rows: repeat(6, auto);
}
/* Wedding grid: simple left-to-right rows */
.nav-wedding-grid {
  grid-auto-flow: row;
}
.nav-dropdown-item {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.48rem 0.65rem;
  border-radius: 8px;
  font-size: 0.875rem; font-weight: 500;
  color: #444; text-decoration: none;
  transition: background 0.14s, color 0.14s;
  white-space: nowrap;
}
.nav-dropdown-item:hover {
  background: #F4F3FF; color: #12112A; font-weight: 600;
  text-decoration: none;
}
.nav-dropdown-item .nd-icon { font-size: 1rem; flex-shrink: 0; }
