/* 
 * React-Only Styles for Front Page
 * Minimal CSS to support WordPress header only
 * Everything else comes from React/Tailwind
 */

/* CRITICAL: NO CSS should affect #root and its children */
/* This file should ONLY style WordPress header - nothing else! */

/* WordPress body reset */
.home.page,
.home.page body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}

/* Remove ALL WordPress containers */
.home.page .site,
.home.page #content,
.home.page .site-content,
.home.page #primary,
.home.page .ast-container,
.home.page .content-area {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Site main - pure container for React */
.home.page .site-main {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  background: none !important;
}

/* React root - Minimal container, Tailwind handles rest */
#root {
  width: 100%;
  min-height: 100vh;
}

/* WordPress Header Styles Only */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: #1a4da1;
}

.site-nav {
  padding: 0.9rem 0;
}

@media (min-width: 1025px) {
  .site-nav {
    padding: 0.55rem 0;
  }
}

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

.brand {
  display: flex;
  align-items: center;
  min-height: 40px;
}

.brand img {
  height: 24px;
  width: auto;
  display: block;
}

@media (min-width: 601px) {
  .brand img {
    height: 40px;
  }
}

.brand-placeholder {
  height: 36px;
  width: 80px;
  border-radius: 6px;
  background: #d1d5db;
  display: inline-block;
  margin-right: 0.75rem;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
}

.btn-cta {
  background: #fff;
  color: #474747;
  font-weight: 600;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.2;
  transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.btn-cta:hover {
  transform: scale(0.95);
  color: #474747;
}

.icon-btn {
  padding: 0.5rem;
  border-radius: 10px;
  color: #fff;
  background: transparent;
  transition: background-color 0.2s ease;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}



.only-desktop {
  display: none;
}

.only-mobile {
  display: inline-flex;
}

@media (min-width: 1024px) {
  .only-desktop {
    display: block;
  }
  .only-mobile {
    display: none !important;
  }
}

.desktop-menu .menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-menu .menu img {
  height: 20px;
  width: auto;
  display: block;
}

.menu-link {
  display: flex;
  align-items: center;
  font-size: 16px;
  gap: 0.5rem;
  margin-right: 32px;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateZ(0);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.desktop-menu .menu .menu-item:last-child {
  margin-right: 0;
}

.menu-link:hover {
  color: #fff;
  transform: scale(0.9);
}

@media (min-width: 1025px) {
  .menu-link {
    padding: 0.75rem 1rem;
    margin-right: 0;
  }
}

/* Mobile drawer */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: saturate(120%) blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 55;
}

.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 280px;
  background: linear-gradient(135deg, #1a4da1, #0d2b5e);
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  z-index: 60;
}

.nav-drawer.is-open {
  transform: translateX(0);
}

.drawer-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.drawer-logo {
  max-width: 100px;
  height: auto;
}

.drawer-body {
  flex: 1;
  overflow: auto;
  padding: 1.25rem 0;
}

.drawer-menu {
  list-style: none;
  margin: 0;
  padding: 0 0.75rem;
}

.drawer-menu li:first-child a {
  display: flex !important;
  align-items: center;
  gap: 15px;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.drawer-menu li a,
.drawer-menu li a:hover {
  color: #fff !important;
}

.drawer-menu .menu-image-title-hide {
  display: inline !important;
}

.nav-drawer .drawer-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  color: #fff;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.nav-drawer .drawer-link:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1);
}

.icon-home-lg {
  height: 24px;
  width: 24px;
  object-fit: contain;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  display: inline-block;
  transition: all 0.2s ease;
}

.nav-drawer .drawer-link:hover .dot {
  background: #fff;
  transform: scale(1.4);
}

.drawer-foot {
  padding: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-primary {
  background: #fff;
  color: #1a4da1;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
  width: 100%;
  text-align: center;
}

.btn-primary:hover {
  transform: scale(0.98);
  color: #1a4da1;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.admin-bar .site-header {
  top: 32px;
}

