/*
Theme Name: HighLift
Theme URI: https://highliftcranehire.com
Author: TechPeer
Author URI: https://techpeer.web.app
Description: Custom WordPress theme for High Lift Crane Hire - Steel Blue concept
Version: 1.0
License: Private
Text Domain: highlift
*/

:root {
  --navy: #0D1B2A;
  --navy-mid: #132236;
  --navy-light: #1a2f45;
  --steel: #4FC3F7;
  --steel-dark: #0288D1;
  --steel-glow: rgba(79, 195, 247, 0.15);
  --white: #ffffff;
  --off-white: #E8EEF4;
  --gray: #8BA3BC;
  --orange: #FF6B35;
  --font-display: 'Bebas Neue', sans-serif;
  --font-condensed: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--steel); border-radius: 2px; }

/* ── NAVBAR ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 5%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13, 27, 42, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(79, 195, 247, 0.1);
  transition: all 0.3s ease;
}

nav.scrolled {
  background: rgba(13, 27, 42, 0.99);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--steel);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--navy);
}

.logo-text {
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 2px;
  color: var(--white);
  text-transform: uppercase;
}

.logo-text span { color: var(--steel); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--gray);
  text-decoration: none;
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--steel);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--steel) !important;
  color: var(--navy) !important;
  padding: 8px 22px !important;
  border-radius: 2px;
  font-weight: 700 !important;
  letter-spacing: 1px;
  transition: all 0.3s ease !important;
}

.nav-cta:hover {
  background: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(79, 195, 247, 0.4) !important;
}

.nav-cta::after { display: none !important; }

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0; bottom: 0;
  background: rgba(13, 27, 42, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu a {
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: 4px;
  transition: color 0.3s;
  position: relative;
}

.mobile-menu a:hover { color: var(--steel); }

.mobile-menu-cta {
  margin-top: 1rem;
  background: var(--steel);
  color: var(--navy) !important;
  padding: 12px 40px;
  border-radius: 2px;
  font-family: var(--font-condensed) !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  letter-spacing: 2px;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(13,27,42,0.97) 0%, rgba(13,27,42,0.75) 50%, rgba(13,27,42,0.9) 100%),
    url('https://v0-high-lift-crane-hire-website.vercel.app/cranes/crane-1.jpg') center/cover no-repeat;
  transform: scale(1.05);
  animation: heroZoom 12s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

/* Grid overlay */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79,195,247,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,195,247,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 5%;
  padding-top: 70px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-condensed);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.3s forwards;
}

.hero-tag::before {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--steel);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 9rem);
  line-height: 0.9;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.5s forwards;
}

.hero-title .highlight {
  color: var(--steel);
  display: block;
  text-shadow: 0 0 60px rgba(79,195,247,0.3);
}

.hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--gray);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.7s forwards;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.9s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--steel);
  color: var(--navy);
  padding: 14px 32px;
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.3s ease;
  border: 2px solid var(--steel);
}

.btn-primary:hover {
  background: transparent;
  color: var(--steel);
  box-shadow: 0 0 30px rgba(79,195,247,0.3);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  border: 2px solid rgba(255,255,255,0.2);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: var(--steel);
  color: var(--steel);
  transform: translateY(-2px);
}

/* Stats bar */
.stats-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(79,195,247,0.08);
  border-top: 1px solid rgba(79,195,247,0.15);
  backdrop-filter: blur(10px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  z-index: 2;
}

.stat-item {
  padding: 1.5rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(79,195,247,0.1);
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}

.stat-item:nth-child(1) { animation-delay: 1.1s; }
.stat-item:nth-child(2) { animation-delay: 1.3s; }
.stat-item:nth-child(3) { animation-delay: 1.5s; }
.stat-item:nth-child(4) { animation-delay: 1.7s; border-right: none; }

.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--steel);
  line-height: 1;
  letter-spacing: 2px;
}

.stat-label {
  font-family: var(--font-condensed);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 4px;
}

/* ── SECTIONS COMMON ── */
section {
  padding: 6rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-condensed);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 1rem;
}

.section-tag::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--steel);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--gray);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 3.5rem;
}

/* ── SERVICES ── */
.services-section {
  background: var(--navy-mid);
  max-width: 100%;
  padding: 6rem 0;
}

.services-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(79,195,247,0.08);
  border: 1px solid rgba(79,195,247,0.08);
}

.service-card {
  background: var(--navy-mid);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 3px;
  background: var(--steel);
  transition: width 0.4s ease;
}

.service-card:hover::before { width: 100%; }

.service-card:hover {
  background: var(--navy-light);
  transform: translateY(-4px);
}

.service-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: rgba(79,195,247,0.08);
  line-height: 1;
  margin-bottom: 1rem;
  transition: color 0.4s;
}

.service-card:hover .service-num { color: rgba(79,195,247,0.15); }

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--steel-glow);
  border: 1px solid rgba(79,195,247,0.2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
  transition: all 0.3s;
}

.service-card:hover .service-icon {
  background: var(--steel);
  border-color: var(--steel);
}

.service-title {
  font-family: var(--font-condensed);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.service-text {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ── FLEET ── */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.fleet-card {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 4/3;
  cursor: pointer;
  border: 1px solid rgba(79,195,247,0.1);
}

.fleet-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: brightness(0.7) saturate(0.8);
}

.fleet-card:hover img {
  transform: scale(1.08);
  filter: brightness(0.5) saturate(0.6);
}

.fleet-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.95) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.fleet-tag {
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.4rem;
}

.fleet-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 2px;
  color: var(--white);
}

.fleet-hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.fleet-card:hover .fleet-hover { opacity: 1; }

.fleet-btn {
  background: var(--steel);
  color: var(--navy);
  padding: 10px 24px;
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s;
}

/* ── WHY US ── */
.whyus-section {
  background: var(--navy-light);
  max-width: 100%;
  padding: 6rem 0;
}

.whyus-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.whyus-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.feature-item {
  padding: 1.5rem;
  background: rgba(79,195,247,0.04);
  border: 1px solid rgba(79,195,247,0.1);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(79,195,247,0.08);
  border-color: rgba(79,195,247,0.25);
  transform: translateY(-3px);
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.feature-title {
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.feature-text {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
}

.whyus-visual {
  position: relative;
}

.whyus-img-wrap {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4/5;
}

.whyus-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8) saturate(0.7);
}

.whyus-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--steel);
  color: var(--navy);
  padding: 1.5rem;
  border-radius: 2px;
  text-align: center;
  min-width: 130px;
}

.badge-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1;
  display: block;
}

.badge-text {
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ── CTA ── */
.cta-section {
  background: linear-gradient(135deg, var(--steel-dark) 0%, var(--steel) 100%);
  max-width: 100%;
  padding: 5rem 5%;
  text-align: center;
}

.cta-inner { max-width: 700px; margin: 0 auto; }

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 3px;
  color: var(--navy);
  margin-bottom: 1rem;
}

.cta-desc {
  color: rgba(13,27,42,0.7);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-dark {
  background: var(--navy);
  color: var(--white);
  padding: 14px 32px;
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  padding: 14px 32px;
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  border: 2px solid var(--navy);
  transition: all 0.3s ease;
}

.btn-outline-dark:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }

/* ── FOOTER ── */
footer {
  background: #070f18;
  padding: 4rem 5% 2rem;
  border-top: 1px solid rgba(79,195,247,0.08);
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(79,195,247,0.08);
  margin-bottom: 2rem;
}

.footer-brand p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-condensed);
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 1.2rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--gray);
  font-size: 0.85rem;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .fleet-grid { grid-template-columns: repeat(2, 1fr); }
  .whyus-inner { grid-template-columns: 1fr; gap: 3rem; }
  .whyus-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  /* Nav */
  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero { flex-direction: column; min-height: 100svh; }
  .hero-content { padding-top: 90px; padding-bottom: 5rem; }
  .hero-title { font-size: clamp(2.8rem, 11vw, 5rem); }
  .hero-desc { font-size: 0.95rem; }

  /* Stats bar — stack to 2 columns, no longer absolute */
  .stats-bar {
    position: relative;
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid rgba(79,195,247,0.1); }
  .stat-item:nth-child(4) { border-top: 1px solid rgba(79,195,247,0.1); }
  .stat-item { padding: 1.2rem 1rem; }

  /* Sections */
  section { padding: 3.5rem 5%; }
  .services-grid { grid-template-columns: 1fr; }
  .fleet-grid { grid-template-columns: 1fr; }
  .whyus-features { grid-template-columns: 1fr 1fr; gap: 1rem; }

  /* Fleet cards — show button always on mobile (no hover) */
  .fleet-hover { opacity: 1; background: linear-gradient(to top, rgba(13,27,42,0.6) 0%, transparent 60%); }
  .fleet-btn { font-size: 0.8rem; padding: 8px 18px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  footer { padding: 3rem 5% 2rem; }
}

@media (max-width: 480px) {
  /* Hero buttons */
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }

  /* Stats — single column */
  .stats-bar { grid-template-columns: repeat(2, 1fr); }

  /* Features */
  .whyus-features { grid-template-columns: 1fr; }

  /* CTA */
  .cta-btns { flex-direction: column; align-items: center; }
  .btn-dark, .btn-outline-dark { width: 100%; text-align: center; justify-content: center; display: flex; }

  /* Section headings */
  .section-title { font-size: clamp(2rem, 8vw, 3rem); }
  .cta-title { font-size: clamp(2rem, 8vw, 3rem); }

  /* Service cards */
  .service-card { padding: 1.5rem; }

  /* Mobile menu font size */
  .mobile-menu a { font-size: 1.8rem; }
}
