/*
Theme Name: Pulxbridge One Page
Author: Your Name
Description: One-page centered theme with adjustable logo sizing, spacing, footer menu, and full-screen mobile nav.
Version: 2.0
*/

*,
*::before,
*::after{
  box-sizing:border-box;
}

html,body{
  height:100%;
  margin:0;
  padding:0;
}

body{
  background:#fff;
  color:#111;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

/*************************************************
 MAIN CENTER LAYOUT
*************************************************/

.px-onepage-wrapper{
  min-height: calc(100vh - 70px);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:40px 20px;
}

/*************************************************
 LOGO
*************************************************/

.px-logo-area{
  width:100%;
  display:flex;
  justify-content:center;
}

.px-logo-area img{
  width:100%;
  height:auto;
  object-fit:contain;
}

/*************************************************
 PAGE CONTENT
*************************************************/

.px-page-content{
  max-width:800px;
  width:100%;
}

.px-page-title{
  margin-bottom:15px;
  font-size:1.7rem;
}

.px-page-body{
  line-height:1.6;
  text-align:left;
}

/*************************************************
 DESKTOP BUTTON MENU
*************************************************/

.px-bottom-nav{
  width:100%;
  display:flex;
  justify-content:center;
}

.px-menu{
  list-style:none;
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:22px;
  margin:0;
  padding:0;
}

.px-menu li{
  margin:0;
}

.px-menu a{
  background:#000;
  color:#fff;
  padding:14px 42px;
  font-size:.9rem;
  border-radius:5px;
  text-decoration:none;
  transition:
    transform .12s ease,
    box-shadow .12s ease,
    background-color .12s ease;
}

.px-menu a:hover{
  opacity:.9;
  transform: translateY(-2px);
  box-shadow:0 4px 8px rgba(0,0,0,0.15);
}

.px-menu a:active{
  transform: translateY(0) scale(.97);
  box-shadow:0 2px 4px rgba(0,0,0,0.2) inset;
}

/*************************************************
 FOOTER
*************************************************/

.px-footer{
  border-top:1px solid #eee;
  padding:20px 15px;
}

.px-footer-row{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:14px;
  text-align:center;
  font-size:.85rem;
}

.px-footer-copy{
  color:#555;
}

.px-footer-menu{
  list-style:none;
  display:flex;
  gap:16px;
  margin:0;
  padding:0;
}

.px-footer-menu a{
  color:#555;
  text-decoration:none;
}

.px-footer-menu a:hover{
  text-decoration:underline;
}

/*************************************************
 HAMBURGER BUTTON (TOP RIGHT)
*************************************************/

.px-hamburger{
  display:none; /* shown only on mobile via media query */
  border:none;
  background:rgba(255,255,255,0.9);
  padding:8px;
  cursor:pointer;
  position:fixed;
  top:16px;
  right:16px;
  z-index:1001;
  border-radius:999px;
  box-shadow:0 2px 6px rgba(0,0,0,0.15);
}

.px-hamburger-box{
  width:24px;
  height:18px;
  position:relative;
}

.px-hamburger-line{
  position:absolute;
  left:0;
  right:0;
  height:2px;
  background:#000;
  border-radius:2px;
  transition:transform .18s ease, opacity .18s ease, top .18s ease, bottom .18s ease;
}

.px-hamburger-line:nth-child(1){
  top:0;
}

.px-hamburger-line:nth-child(2){
  top:8px;
}

.px-hamburger-line:nth-child(3){
  bottom:0;
}

/* X state when open */
.px-hamburger[aria-expanded="true"] .px-hamburger-line:nth-child(1){
  top:8px;
  transform:rotate(45deg);
}

.px-hamburger[aria-expanded="true"] .px-hamburger-line:nth-child(2){
  opacity:0;
}

.px-hamburger[aria-expanded="true"] .px-hamburger-line:nth-child(3){
  bottom:8px;
  transform:rotate(-45deg);
}

/*************************************************
 FULL-SCREEN MOBILE MENU OVERLAY
*************************************************/

.px-mobile-nav{
  display:none;
  position:fixed;
  inset:0; /* top:0; right:0; bottom:0; left:0 */
  background:rgba(255,255,255,0.98);
  z-index:1000;
  padding:80px 20px 24px;
}

.px-mobile-nav.is-open{
  display:flex;
  justify-content:center;
  align-items:flex-start; /* menu near top */
}

.px-mobile-menu{
  list-style:none;
  margin:0;
  padding:0;
  width:100%;
  max-width:320px;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.px-mobile-menu li{
  width:100%;
}

.px-mobile-menu a{
  display:block;
  width:100%;
  padding:14px 18px;
  border-radius:6px;
  background:#000;
  color:#fff;
  text-decoration:none;
  font-size:1rem;
  text-align:center;
}

/*************************************************
 RESPONSIVE BEHAVIOR
*************************************************/

@media(max-width:768px){

  /* Use hamburger + overlay on mobile */
  .px-hamburger{
    display:inline-flex;
  }

  .px-bottom-nav{
    display:none; /* hide desktop buttons on mobile */
  }
}
