/*
Theme Name: ALX Lift Services
Theme URI: https://alxliftservices.com
Description: Professional lift services website with complete SEO optimization, CMS, and social media features
Version: 1.0.0
Author: ALX Lift Services
Author URI: https://alxliftservices.com
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alx-lift-services
Domain Path: /languages
Requires at least: 5.0
Requires PHP: 7.4
*/

/* ═══════════════════════════════════════════════════ */
/* RESET & BASE */
/* ═══════════════════════════════════════════════════ */

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

:root {
  --navy:       #0d1b3e;
  --navy-mid:   #1a2b5e;
  --steel:      #8c9aab;
  --steel-light:#c4cdd8;
  --yellow:     #f5c200;
  --off-white:  #f0f2f5;
  --text:       #1a1a2e;
  --muted:      #5a6476;
  --px: clamp(20px, 5vw, 60px);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════ */
/* TOPBAR */
/* ═══════════════════════════════════════════════════ */

.topbar {
  background: var(--navy);
  padding: 7px var(--px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  gap: 12px;
}

.topbar a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}

.topbar a:hover {
  color: var(--yellow);
}

.topbar-left {
  flex: 1;
}

.topbar-right {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .topbar-left {
    display: none;
  }
  .topbar {
    justify-content: center;
  }
  .topbar-right {
    gap: 14px;
  }
}

/* ═══════════════════════════════════════════════════ */
/* NAV */
/* ═══════════════════════════════════════════════════ */

nav {
  background: rgba(13,27,62,0.98);
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  align-items: center;
  column-gap: 20px;
  padding: 10px var(--px);
  min-height: 64px;
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.nav-brand {
  grid-column: 2;
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  line-height: 1;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-brand-name {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 900;
  color: white;
  letter-spacing: 2px;
}

.nav-brand-tagline {
  color: var(--steel);
  font-weight: 400;
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-brand:hover .nav-brand-name {
  color: var(--yellow);
}

.nav-links {
  grid-column: 1;
  justify-self: start;
  list-style: none;
  display: flex;
  gap: 0;
}

.nav-links li a {
  display: block;
  padding: 20px 16px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-links li a:hover,
.nav-links li a.current {
  color: white;
  border-bottom-color: var(--yellow);
}

.nav-actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-phone {
  color: rgba(255,255,255,0.8);
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
}

.nav-btn {
  background: var(--yellow);
  color: var(--navy);
  padding: 8px 18px;
  font-weight: 800;
  font-size: 0.8rem;
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s;
  display: inline-block;
}

.nav-btn:hover {
  background: #e5b800;
  transform: translateY(-2px);
}

.hamburger {
  grid-column: 4;
  justify-self: end;
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 300;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.25s;
}

.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 {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--navy);
  z-index: 150;
  padding: 0 0 24px;
  border-bottom: 3px solid var(--yellow);
  transform: translateY(-10px);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  pointer-events: none;
}

.mobile-menu.open {
  display: block;
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu ul li a {
  display: block;
  padding: 14px var(--px);
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.15s;
}

.mobile-menu ul li a:hover {
  background: rgba(255,255,255,0.05);
  color: var(--yellow);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .nav-phone {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}

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

/* ═══════════════════════════════════════════════════ */
/* HERO */
/* ═══════════════════════════════════════════════════ */

.hero {
  background: #f4f6f9;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: clamp(40px, 8vw, 80px) var(--px) clamp(80px, 14vw, 110px);
  border-bottom: 3px solid var(--navy);
  min-height: clamp(480px, 70vw, 680px);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,43,94,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,43,94,0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: min(700px, 120vw);
  height: min(700px, 120vw);
  background: radial-gradient(circle, rgba(245,194,0,0.15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 4vw, 40px);
  max-width: 800px;
}

.hero-logo {
  display: flex;
  justify-content: center;
}

.hero-logo img {
  max-height: clamp(90px, 15vw, 160px);
  width: auto;
  display: block;
}

.hero-logo .site-title {
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--navy);
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--steel);
}

.hero-title {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.5px;
  color: var(--navy);
}

.hero-tagline {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 1px;
}

.hero-copy {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  line-height: 1.6;
  color: var(--text);
  max-width: 600px;
  margin: 0 auto;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-bold,
.btn-outline {
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9rem;
  display: inline-block;
  transition: all 0.25s;
}

.btn-bold {
  background: var(--navy);
  color: white;
  padding: 14px 32px;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.btn-bold:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--navy);
  color: var(--navy);
  padding: 12px 30px;
  background: transparent;
}

.btn-outline:hover {
  background: var(--navy);
  color: white;
}

.hero-regions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.hero-region {
  background: white;
  border: 1px solid rgba(13,27,62,0.1);
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  border-radius: 6px;
  text-align: center;
}

/* ═══════════════════════════════════════════════════ */
/* TICKER */
/* ═══════════════════════════════════════════════════ */

.ticker {
  background: var(--navy);
  color: white;
  padding: 20px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ticker-inner {
  display: flex;
  gap: 40px;
  animation: scroll 30s linear infinite;
  white-space: nowrap;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.ticker-item {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}

.ticker-dot {
  color: var(--yellow);
  margin: 0 20px;
}

/* ═══════════════════════════════════════════════════ */
/* SERVICES */
/* ═══════════════════════════════════════════════════ */

.services {
  padding: clamp(60px, 10vw, 100px) var(--px);
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: clamp(40px, 8vw, 60px);
  gap: 30px;
  flex-wrap: wrap;
}

.s-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 12px;
}

.services-header h2 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.1;
  max-width: 400px;
}

.services-header a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.25s;
}

.services-header a:hover {
  color: var(--yellow);
}

.services-list {
  display: grid;
  gap: 2px;
  background: #e8ebf0;
}

.service-item {
  background: white;
  padding: clamp(24px, 5vw, 40px);
  display: flex;
  gap: 30px;
  align-items: center;
  transition: all 0.25s;
  cursor: pointer;
}

.service-item:hover {
  background: #f4f6f9;
  padding-left: clamp(30px, 7vw, 50px);
}

.si-num {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--steel-light);
  flex-shrink: 0;
  min-width: 70px;
}

.si-content {
  flex: 1;
}

.si-title {
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 8px;
}

.si-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}

.si-arrow {
  font-size: 1.5rem;
  color: var(--steel);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════ */
/* SPLIT BAND */
/* ═══════════════════════════════════════════════════ */

.split-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.split-left,
.split-right {
  padding: clamp(60px, 10vw, 100px) var(--px);
}

.split-left {
  background: #f4f6f9;
  border-right: 1px solid #e8ebf0;
}

.split-right {
  background: white;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 12px;
}

.split-left h2,
.split-right h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--navy);
}

.split-left > p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.regions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.rg-item {
  background: white;
  border: 1px solid #e8ebf0;
  padding: 14px 16px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}

.creds-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cred-row {
  display: flex;
  gap: 16px;
}

.cred-icon-sm {
  font-size: 2rem;
  flex-shrink: 0;
}

.cred-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.cred-text p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .split-band {
    grid-template-columns: 1fr;
  }
  .split-left {
    border-right: none;
    border-bottom: 1px solid #e8ebf0;
  }
}

/* ═══════════════════════════════════════════════════ */
/* CTA SECTION */
/* ═══════════════════════════════════════════════════ */

.cta-section {
  background: var(--navy);
  color: white;
  padding: clamp(60px, 10vw, 80px) var(--px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 60px);
  align-items: center;
}

.cta-left h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
}

.cta-left p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
}

.cta-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.cta-phone {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cta-phone small {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--yellow);
}

.cta-phone {
  font-size: 2rem;
  font-weight: 900;
  color: white;
}

.cta-btn {
  background: var(--yellow);
  color: var(--navy);
  padding: 14px 32px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9rem;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  transition: all 0.25s;
  display: inline-block;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(245,194,0,0.2);
}

@media (max-width: 900px) {
  .cta-section {
    grid-template-columns: 1fr;
  }
  .cta-right {
    align-items: flex-start;
  }
}

/* ═══════════════════════════════════════════════════ */
/* FOOTER */
/* ═══════════════════════════════════════════════════ */

footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  padding: clamp(60px, 10vw, 80px) var(--px) 20px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(40px, 8vw, 60px);
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand-name {
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: white;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.25s;
}

.footer-col a:hover {
  color: var(--yellow);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ═══════════════════════════════════════════════════ */
/* WORDPRESS SPECIFIC */
/* ═══════════════════════════════════════════════════ */

.wp-block-image {
  margin: 20px 0;
}

.wp-block-image img {
  max-width: 100%;
  height: auto;
}

/* Editor Styles */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal;
}

/* Breadcrumbs */
#breadcrumbs {
  padding: 10px var(--px);
  font-size: 0.85rem;
  background: #f4f6f9;
  border-bottom: 1px solid #e8ebf0;
}

#breadcrumbs a {
  color: var(--navy);
  text-decoration: none;
}

#breadcrumbs a:hover {
  color: var(--yellow);
}

/* Search Results */
.search-results {
  padding: 40px var(--px);
}

.search-results .no-results {
  text-align: center;
  padding: 40px;
}

/* Posts List */
.posts-list {
  display: grid;
  gap: 30px;
}

.post-item {
  padding: 30px;
  background: white;
  border: 1px solid #e8ebf0;
  border-radius: 8px;
}

.post-item h2 {
  margin-bottom: 10px;
}

.post-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 15px;
}

.post-excerpt {
  color: var(--text);
  margin-bottom: 15px;
}

.read-more {
  display: inline-block;
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
}

.read-more:hover {
  color: var(--yellow);
}
