/* =========================
   WORDPRESS CLEANUP
========================= */

body,
.site,
.site-content,
.entry-content,
.wp-site-blocks,
main {
  margin: 0 !important;
  padding: 0 !important;
  background: #02081d !important;
  color: white;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

.site-header,
.site-footer,
.entry-header,
.wp-block-post-title,
.page-title,
#masthead,
#colophon {
  display: none !important;
}

.wp-block-html,
.entry-content,
.entry-content > *,
.wp-site-blocks,
main {
  max-width: none !important;
  width: 100% !important;
}

/* =========================
   HEADER
========================= */

.hero-header {
  text-align: center;
  padding: 30px 20px 10px;
  background: linear-gradient(to bottom, #06112f 0%, #02081d 100%);
  width: min(100%, 1200px) !important;
  margin: 0 auto !important;
}

.hero-header .main-logo,
.hero-header img,
img.main-logo,
.wp-block-html img.main-logo {
  width: 1200px !important;
  max-width: 95vw !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto 40px auto !important;
}

.top-nav {
  display: flex !important;
  justify-content: center !important;
  flex-direction: row !important;
  gap: 28px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.top-nav a {
  color: #ffe600 !important;
  text-decoration: none !important;
  font-size: 1.1rem;
  font-weight: bold;
}

.top-nav a:hover {
  color: #00d9ff !important;
  text-shadow:
    0 0 8px rgba(0,217,255,0.8),
    0 0 18px rgba(0,217,255,0.5);
}

.map-guide {
  text-align: center;
  margin-top: 40px;
  margin-bottom: -40px;
}

.helper-text {
  margin-top: 70px;
  margin-bottom: 10px;
  color: #9ed8ff;
  font-size: clamp(1.3rem, 2.2vw, 2.2rem) !important;
  line-height: 1.4;
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.25);
}

.down-arrow {
  font-size: 2.2rem;
  color: #00e5ff;
  margin-top: -10px;
  animation: bounceArrow 1.8s infinite;
  text-shadow:
    0 0 10px rgba(0,229,255,0.7),
    0 0 22px rgba(0,229,255,0.35);
}

@keyframes bounceArrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* =========================
   HOME MAP
========================= */

.hero {
  text-align: center;
  padding: 40px 20px;
  width: 100% !important;
  margin: 0 auto !important;
  box-sizing: border-box;
}

.property-map {
  position: relative;
  width: min(92vw, 1100px) !important;
  max-width: 1100px !important;
  margin: 40px auto !important;
  overflow: visible !important;
}

.map-image {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  border-radius: 20px;
  margin: 0 auto !important;
}

.map-hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 217, 255, 0.28);
  opacity: .98;
  cursor: pointer;
  box-shadow:
    0 0 12px #00d9ff,
    0 0 28px rgba(0,217,255,.9),
    0 0 52px rgba(0,217,255,.55);
  backdrop-filter: blur(2px);
  animation: pulseGlow 2s infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-hotspot img,
.hotspot-icon {
  width: 70px;
  height: 70px;
  max-width: none;
  max-height: none;
  object-fit: contain;
  pointer-events: none;
  opacity: 0.95;
  transform: scale(1.6);
  filter:
    drop-shadow(0 0 6px rgba(255,255,255,0.7))
    drop-shadow(0 0 14px rgba(0,217,255,0.8));
}

.access-control-hotspot .hotspot-icon {
  transform: scale(1.6) translate(2px, 2px);
}

/* Hotspot locations */
.camera-hotspot { top: 69%; left: 62.5%; }
.access-control-hotspot { top: 65.5%; left: 45%; }
.garage-gate-hotspot { top: 79%; left: 21%; }
.appliances-hotspot { top: 41%; left: 59%; }
.water-hotspot { top: 46%; left: 18%; }
.indoor-tv-hotspot { top: 40%; left: 29%; }
.outdoor-tv-hotspot { top: 25%; left: 59%; }
.indoor-audio-hotspot { top: 41%; left: 42%; }
.outdoor-audio-hotspot { top: 20%; left: 73%; }
.indoor-lighting-hotspot { top: 58%; left: 62%; }
.outdoor-lighting-hotspot { top: 12%; left: 60%; }
.networking-hotspot { top: 48%; left: 25%; }
.wireless-bridge-hotspot { top: 60%; left: 73%; }
.power-hotspot { top: 60%; left: 30%; }
.life-safety-hotspot { top: 20%; left: 20%; }
.climate-hotspot { top: 54%; left: 47%; }
.blinds-hotspot { top: 58%; left: 37%; }
.pool-hotspot { top: 16%; left: 48%; }
.pet-access-hotspot { top: 28%; left: 43%; }

@keyframes pulseGlow {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: .82;
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

/* =========================
   MODALS
========================= */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 9999;
}

.modal-card {
  width: 100%;
  max-width: 360px;
  background: #111a2e;
  border: 1px solid #00d9ff;
  border-radius: 22px;
  padding: 28px 22px;
  color: white;
  text-align: center;
  box-shadow: 0 0 30px rgba(0, 217, 255, 0.35);
  position: relative;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 14px;
  background: transparent;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
}

.modal-logo {
  font-size: 13px;
  letter-spacing: 2px;
  color: #00d9ff;
  margin-bottom: 12px;
  font-weight: bold;
}

.explore-btn {
  margin-top: 18px;
  background: #00d9ff;
  color: black;
  border: none;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: bold;
  cursor: pointer;
}

/* =========================
   ABOUT PAGE
========================= */

.about-page {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 40px 20px 90px;
  box-sizing: border-box;
}

.about-container {
  width: min(92vw, 1050px);
  margin: 0 auto;
}

.about-card {
  background: rgba(4, 12, 34, 0.9);
  border: 1px solid rgba(0, 229, 255, 0.22);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 46px);
  box-shadow:
    0 0 28px rgba(0, 229, 255, 0.12),
    0 0 70px rgba(0, 0, 0, 0.55);
}

.about-card h1 {
  text-align: center;
  color: #9ed8ff;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.1;
  margin: 0 0 28px;
  text-shadow:
    0 0 10px rgba(0, 229, 255, 0.55),
    0 0 24px rgba(0, 229, 255, 0.25);
}

.about-card p {
  color: #dbe7ff;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.85;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 24px;
}

.highlight {
  color: #00e5ff;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(0,229,255,0.45);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.service-box {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(0,229,255,0.18);
  border-radius: 18px;
  padding: 22px;
  text-align: center;
  box-shadow: 0 0 18px rgba(0,229,255,0.08);
}

.service-box h3 {
  color: #ffe600;
  margin-top: 0;
}

.service-box p {
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* =========================
   CONTACT PAGE
========================= */

.contact-page {
  width: min(92vw, 1200px);
  margin: 0 auto;
  padding: 30px 20px 80px;
  box-sizing: border-box;
}

.terminal-bar {
  width: fit-content;
  margin: 20px auto 40px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(0,217,255,0.35);
  background:
    linear-gradient(
      90deg,
      rgba(0,217,255,0.1),
      rgba(0,217,255,0.04)
    );
  color: #00d9ff;
  font-size: 0.95rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  box-shadow: 0 0 12px rgba(0,217,255,0.15);
  animation: pulseTerminal 3s infinite ease-in-out;
}

@keyframes pulseTerminal {
  0%,100% { opacity: 1; }
  50% { opacity: 0.65; }
}

.contact-card {
  background:
    linear-gradient(
      180deg,
      rgba(8,18,45,0.96),
      rgba(2,8,29,0.98)
    );
  border: 1px solid rgba(0,217,255,0.2);
  border-radius: 28px;
  padding: 60px 50px;
  box-shadow: 0 0 35px rgba(0,217,255,0.08);
  text-align: center;
}

.contact-card h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  margin-bottom: 25px;
  color: #b7e8ff;
  text-shadow:
    0 0 12px rgba(0,217,255,0.25),
    0 0 24px rgba(0,217,255,0.12);
}

.contact-intro,
.contact-response-time,
.form-note {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #d9ecff;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 0 10px rgba(0,217,255,0.08);
}

.contact-intro {
  margin-bottom: 24px;
}

.contact-response-time {
  margin-bottom: 50px;
}

.form-title,
.service-types-title {
  margin-top: 50px;
  margin-bottom: 20px;
  font-size: 2rem;
  color: #9ed8ff;
  text-shadow: 0 0 12px rgba(0,217,255,0.22);
}

.call-box {
  margin: 50px auto;
  max-width: 700px;
  padding: 40px 30px;
  border-radius: 24px;
  border: 1px solid rgba(0,217,255,0.18);
  background:
    linear-gradient(
      180deg,
      rgba(0,217,255,0.08),
      rgba(0,217,255,0.03)
    );
  box-shadow: 0 0 30px rgba(0,217,255,0.08);
}

.call-box h2 {
  font-size: 2rem;
  margin-bottom: 14px;
  color: white;
}

.call-box p {
  color: #c8e7ff;
  line-height: 1.7;
  margin-bottom: 30px;
}

.call-button {
  display: inline-block;
  padding: 18px 34px;
  border-radius: 999px;
  background:
    linear-gradient(
      135deg,
      #00d9ff,
      #007bff
    );
  color: white !important;
  text-decoration: none !important;
  font-weight: bold;
  font-size: 1.1rem;
  box-shadow:
    0 0 18px rgba(0,217,255,0.45),
    0 0 40px rgba(0,217,255,0.2);
  transition: 0.3s ease;
}

.call-button:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 0 24px rgba(0,217,255,0.75),
    0 0 50px rgba(0,217,255,0.4);
}

/* =========================
   WORDPRESS FORM STYLING
========================= */

.wpforms-container,
.wpcf7 {
  margin-top: 30px;
}

.wpforms-form,
.wpcf7 form {
  text-align: left;
}

.wpforms-field-label,
.wpcf7 label {
  color: #dff3ff !important;
  font-weight: bold;
  margin-bottom: 8px;
  display: block;
}

.wpforms-field input,
.wpforms-field textarea,
.wpcf7 input,
.wpcf7 textarea {
  width: 100% !important;
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(0,217,255,0.2) !important;
  border-radius: 14px !important;
  color: white !important;
  padding: 16px !important;
  font-size: 1rem !important;
  margin-bottom: 22px !important;
  box-sizing: border-box;
  transition: 0.25s ease;
}

.wpforms-field input:focus,
.wpforms-field textarea:focus,
.wpcf7 input:focus,
.wpcf7 textarea:focus {
  outline: none !important;
  border-color: #00d9ff !important;
  box-shadow: 0 0 14px rgba(0,217,255,0.35);
}

.wpforms-submit,
.wpcf7-submit {
  background:
    linear-gradient(
      135deg,
      #00d9ff,
      #007bff
    ) !important;
  border: none !important;
  border-radius: 999px !important;
  color: white !important;
  padding: 16px 34px !important;
  font-size: 1rem !important;
  font-weight: bold !important;
  cursor: pointer !important;
  transition: 0.25s ease !important;
  box-shadow: 0 0 20px rgba(0,217,255,0.3);
}

.wpforms-submit:hover,
.wpcf7-submit:hover {
  transform: scale(1.03);
  box-shadow: 0 0 26px rgba(0,217,255,0.55);
}

/* =========================
   SERVICE TAGS
========================= */

.service-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.service-tags span {
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(0,217,255,0.08);
  border: 1px solid rgba(0,217,255,0.18);
  color: #bfe8ff;
  font-size: 0.95rem;
  box-shadow: 0 0 12px rgba(0,217,255,0.08);
}

/* =========================
   MOBILE
========================= */

@media screen and (max-width: 768px) {

  .hero-header {
    padding: 22px 10px 6px;
  }

  .hero-header .main-logo,
  .hero-header img,
  img.main-logo,
  .wp-block-html img.main-logo {
    max-width: 96vw !important;
    margin-bottom: 24px !important;
  }

  .top-nav {
    gap: 18px;
  }

  .top-nav a {
    font-size: 1rem;
  }

  .map-guide {
    margin-top: 20px;
    margin-bottom: -20px;
  }

  .helper-text {
    margin-top: 30px;
    font-size: 1.1rem !important;
    padding: 0 14px;
  }

  .down-arrow {
    font-size: 1.8rem;
  }

  .hero {
    padding: 24px 0 !important;
    width: 100% !important;
  }

  .property-map {
    width: 100% !important;
    max-width: 100vw !important;
    margin: 20px auto !important;
    overflow: visible !important;
  }

  .map-image {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    border-radius: 12px;
    margin: 0 auto !important;
  }

  .map-hotspot {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: rgba(0, 217, 255, 0.26) !important;
    box-shadow:
      0 0 6px #00d9ff,
      0 0 14px rgba(0,217,255,.85),
      0 0 26px rgba(0,217,255,.5) !important;
    backdrop-filter: none !important;
  }

  .map-hotspot img,
  .hotspot-icon {
    width: 55px !important;
    height: 55px !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    transform: scale(1.4) !important;
  }

  .access-control-hotspot .hotspot-icon {
    transform: scale(1.4) translate(2px, 2px) !important;
  }

  .modal-card {
    max-width: 320px;
    padding: 24px 18px;
  }

  .contact-card {
    padding: 40px 24px;
  }

  .contact-card h1 {
    font-size: 2.5rem;
  }

  .contact-intro,
  .contact-response-time,
  .form-note {
    font-size: 1rem;
    line-height: 1.7;
  }

  .call-box {
    padding: 30px 20px;
  }

  .call-box h2 {
    font-size: 1.5rem;
  }
}

/* =========================
   BACKGROUND GRID + LOGO GLOW
========================= */

body,
.site,
.site-content,
.entry-content,
.wp-site-blocks,
main {
  background:
    linear-gradient(rgba(0, 217, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 217, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at top center, rgba(0, 217, 255, 0.12), transparent 40%),
    #02081d !important;

  background-size:
    42px 42px,
    42px 42px,
    100% 100%,
    auto !important;

  background-attachment: fixed !important;
}

.hero-header {
  background:
    radial-gradient(circle at top center, rgba(0, 217, 255, 0.12), transparent 45%),
    linear-gradient(to bottom, #06112f 0%, #02081d 100%) !important;
}

.hero-header .main-logo,
.hero-header img,
img.main-logo,
.wp-block-html img.main-logo {
  filter:
    drop-shadow(0 0 12px rgba(255, 238, 30, 0.28))
    drop-shadow(0 0 20px rgba(65, 75, 199, 0.45))
    drop-shadow(0 0 28px rgba(0, 217, 255, 0.22)) !important;
}