/*
Theme Name: Shortz Theme
Theme URI: https://shortzelectrical.com
Author: Edward
Description: Custom WordPress theme for Shortz Electrical & Solar
Version: 1.2
*/

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

:root {
  --header-height: 145px;
  --lime: #7fffa6;
  --cyan: #00e5ff;
  --dark: #081018;
  --panel: #111824;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
  font-family: Arial, sans-serif;
  background: #081018;
  color: #ffffff;
}

body {
  margin: 0;
  padding-top: var(--header-height);
}

body.admin-bar {
  padding-top: calc(var(--header-height) + 32px);
}

@media screen and (max-width: 782px) {
  body.admin-bar {
    padding-top: calc(var(--header-height) + 46px);
  }
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(1240px, 92%);
  margin: 0 auto;
}

/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 9999;
  display: flex;
  align-items: center;
  background: #06111d;
  border-bottom: 1px solid rgba(127,255,166,0.35);
  box-shadow:
    0 2px 0 rgba(127,255,166,0.20),
    0 6px 24px rgba(127,255,166,0.14);
}

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

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: min(1240px, 92%);
  margin: 0 auto;
}

.site-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-brand img {
  height: 120px !important;
  width: auto !important;
  max-height: none !important;
  transition: transform 0.25s ease;
}

.site-brand img:hover {
  transform: scale(1.04);
}

/* NAV */
.main-nav {
  margin-left: auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex: 1;
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(6, 16, 28, 0.95);
  border: 1px solid rgba(127,255,166,0.35);
  box-shadow:
    0 0 10px rgba(127,255,166,0.22),
    0 0 28px rgba(0,229,255,0.12);
}

.nav-menu li {
  list-style: none;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.nav-menu a:hover {
  color: #081018;
  background: linear-gradient(90deg, #00e5ff, #52ff8f);
}

.nav-menu .current-menu-item a,
.nav-menu .current_page_item a {
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.05);
}

.nav-menu li:last-child a {
  background: linear-gradient(90deg, #42e95d, #7dff57);
  color: #081018;
  border-color: transparent;
  padding: 0 28px;
}

/* PAGE BASE */
.inner-page {
  background: #0b0f14;
  min-height: calc(100vh - var(--header-height));
  padding: 50px 0 80px;
}

.content-section {
  padding: 60px 0;
}

.section-mini-title,
.home-eyebrow,
.review-label,
.shortz-contact-title span {
  color: #7fffa6;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
}

.inner-title,
.section-heading {
  font-size: 42px;
  margin-bottom: 18px;
}

.inner-text {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  max-width: 850px;
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.95fr);
  gap: 32px;
  align-items: start;
}

.about-card,
.service-card {
  background: #111824;
  border-radius: 18px;
  padding: 28px;
}

.about-image-card {
  background: #0d1622;
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 24px;
}

.about-image-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* GALLERY */
.gallery-intro {
  padding-bottom: 30px;
}

.gallery-work-section {
  padding-top: 20px;
}

.premium-gallery-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.filter-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-buttons button {
  background: #121a25;
  color: #ffffff;
  border: 1px solid rgba(127,255,166,0.35);
  padding: 12px 18px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
}

.filter-buttons button.active,
.filter-buttons button:hover {
  background: linear-gradient(90deg, #00e5ff, #52ff8f);
  color: #081018;
  border-color: transparent;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 18px;
  background: #111824;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 30px;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 14px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #ffffff;
  font-size: 40px;
  cursor: pointer;
}

/* CONTACT */
.shortz-contact-page {
  background: #0b0f14;
}

.shortz-card,
.shortz-contact-card {
  background: rgba(5,12,20,0.92);
  border-radius: 20px;
}

/* FOOTER */
.site-footer {
  background: #081018;
  padding: 24px 0;
}

.footer-row {
  display: flex;
  justify-content: center;
  text-align: center;
}

/* CONTROLLED NEON BLOCK BORDERS */
.hero-panel,
.home-info-card,
.home-review-card,
.shortz-info,
.shortz-review,
.review-card,
.service-card,
.about-card,
.about-image-card,
.gallery-item,
.shortz-card,
.shortz-contact-card {
  border: 2px solid rgba(127,255,166,0.45) !important;
  box-shadow:
    0 0 10px rgba(127,255,166,0.22),
    0 0 26px rgba(127,255,166,0.14),
    inset 0 0 14px rgba(127,255,166,0.04) !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.hero-panel:hover,
.home-info-card:hover,
.home-review-card:hover,
.shortz-info:hover,
.shortz-review:hover,
.review-card:hover,
.service-card:hover,
.about-card:hover,
.about-image-card:hover,
.gallery-item:hover,
.shortz-card:hover,
.shortz-contact-card:hover {
  border-color: #7fffa6 !important;
  box-shadow:
    0 0 14px rgba(127,255,166,0.65),
    0 0 38px rgba(127,255,166,0.28),
    inset 0 0 18px rgba(127,255,166,0.07) !important;
  transform: translateY(-2px);
}

/* FORM */
input,
textarea {
  border: 1px solid rgba(127,255,166,0.28) !important;
}

input:focus,
textarea:focus {
  outline: none !important;
  border-color: #7fffa6 !important;
  box-shadow: 0 0 14px rgba(127,255,166,0.35) !important;
}

/* MOBILE */
@media (max-width: 1100px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 155px;
  }

  .header-row {
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }

  .site-brand img {
    height: 72px !important;
  }

  .main-nav {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }

  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 26px;
    padding: 10px;
    gap: 8px;
  }

  .nav-menu a {
    min-height: 42px;
    padding: 0 16px;
    font-size: 15px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    height: 240px;
  }

  .inner-title,
  .section-heading {
    font-size: 34px;
  }
}