/*
Theme Name: ASi Business Expo
Theme URI: https://asicayman.interamerica.org
Description: A premium, dynamic, and fully customizable WordPress theme for the ASi Business & Career Expo. Features editable homepage sections via Customizer and dynamic custom post type lists for exhibitors.
Version: 1.0.0
Author: nlinksolution team
Author URI: https://www.nlinksolution.com
Text Domain: asi-business-expo
*/

/* ── DESIGN TOKENS (VARIABLES) ── */
:root {
  --navy: #0a1a3a;
  --blue: #1565c0;
  --sky: #29b6f6;
  --gold: #ffc107;
  --orange: #ff6f00;
  --white: #ffffff;
  --light: #e8f4fd;
  --gray: #607d8b;
  
  /* Exhibitor page specifics */
  --ex-sky: #0288d1;
  --ex-gold: #ff9100;
  --ex-orange: #e65100;
  --ex-light: #d9ecf5;
  --ex-gray: #64748b;
  --dark-blue: #071428;
  --card-bg: #ffffff;
  --card-border: rgba(10, 26, 58, 0.06);
  --text-primary: #0f172a;
  --text-secondary: #475569;
}

/* ── RESET & BASE SETUP ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  overflow-x: hidden;
}

/* ── GLOBAL NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 48px;
  background: rgba(10,26,58,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--gold);
}
.nav-logo { 
  font-family: 'Bebas Neue', sans-serif; 
  font-size: 1.8rem; 
  color: var(--gold); 
  letter-spacing: 3px; 
  text-decoration: none;
}
.nav-logo span { color: var(--sky); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { 
  color: var(--white); 
  text-decoration: none; 
  font-weight: 600; 
  font-size: .85rem; 
  letter-spacing: 1.5px; 
  text-transform: uppercase; 
  transition: color .2s; 
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-cta {
  background: var(--gold); color: var(--navy); font-weight: 800;
  padding: 10px 24px; border-radius: 4px; text-decoration: none;
  font-size: .85rem; letter-spacing: 1px; text-transform: uppercase;
  transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--orange); transform: translateY(-1px); }

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  padding: 4px;
  z-index: 200;
}
.hamburger span {
  display: block; width: 26px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(7,20,40,0.98);
  backdrop-filter: blur(16px);
  z-index: 150;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}
.mobile-menu a {
  color: var(--white); text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 1.4rem;
  letter-spacing: 3px; text-transform: uppercase;
  padding: 14px 32px; border-radius: 8px;
  transition: color .2s, background .2s;
  width: 80%; text-align: center;
}
.mobile-menu a:hover { color: var(--gold); background: rgba(255,193,7,.08); }
.mobile-menu .mobile-cta {
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: var(--navy) !important;
  font-weight: 900;
  margin-top: 16px;
  box-shadow: 0 8px 32px rgba(255,193,7,.35);
}
.mobile-menu .mobile-cta:hover { background: linear-gradient(135deg, var(--orange), var(--gold)); }
.mobile-divider {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--sky), var(--gold));
  border-radius: 2px; margin: 8px 0;
}

/* ── GLOBAL FOOTER ── */
footer {
  background: #040d1e;
  padding: 48px 24px 32px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-logo { 
  font-family: 'Bebas Neue', sans-serif; 
  font-size: 2rem; 
  color: var(--gold); 
  letter-spacing: 4px; 
  margin-bottom: 8px; 
}
footer p { color: rgba(255,255,255,.3); font-size: .8rem; letter-spacing: 1px; }
footer a { color: var(--sky); text-decoration: none; }

@media (max-width: 768px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
}

/* ── NAVIGATION DROPDOWN ── */
.nav-links li.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.nav-dropdown-toggle .arrow {
  font-size: 0.6rem;
  transition: transform 0.3s ease;
  display: inline-block;
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: rgba(10, 26, 58, 0.98);
  border: 1px solid var(--gold);
  border-radius: 6px;
  list-style: none;
  min-width: 200px;
  padding: 10px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
  z-index: 200;
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent var(--gold) transparent;
}
.nav-dropdown-menu li {
  width: 100%;
}
.nav-dropdown-menu li a {
  display: block !important;
  padding: 12px 24px !important;
  font-size: 0.75rem !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase;
  color: var(--white) !important;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  text-align: left;
}
.nav-dropdown-menu li a:hover {
  background: rgba(255, 193, 7, 0.12) !important;
  color: var(--gold) !important;
}

/* Hover effects */
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(5px);
}
.nav-dropdown:hover .nav-dropdown-toggle {
  color: var(--gold) !important;
}
.nav-dropdown:hover .nav-dropdown-toggle .arrow {
  transform: rotate(180deg);
  color: var(--gold);
}

/* ── MOBILE MENU SUBMENU ── */
.mobile-submenu-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80%;
  margin: 15px 0;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}
.mobile-submenu-title {
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.mobile-submenu-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}
.mobile-submenu-links .mobile-link.sub-link {
  font-size: 1.1rem;
  padding: 6px 0;
  font-weight: 600;
  color: var(--white);
  opacity: 0.85;
  width: 100%;
  text-align: center;
  border-radius: 6px;
  transition: all 0.2s;
}
.mobile-submenu-links .mobile-link.sub-link:hover {
  opacity: 1;
  color: var(--gold);
  background: rgba(255, 193, 7, 0.05);
}
