/* ========================================
   UPDATES v2 — Dropdown Nav, Hero Images,
   Logo, Schema, Admin Portal
   ======================================== */


/* ============================
   HERO SECTION 4-IMAGE GRID (#2)
   ============================ */
.hero-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-hot);
  position: relative;
}

.hero-img-cell {
  position: relative;
  overflow: hidden;
  background: var(--steel);
}

.hero-img-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.hero-img-cell:hover img { transform: scale(1.04); }

.hero-img-cell .cell-label {
  position: absolute;
  bottom: 6px;
  left: 8px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--live);
  letter-spacing: 0.08em;
  background: rgba(0,0,0,0.6);
  padding: 2px 6px;
  border-radius: 3px;
}

.hero-img-cell .cell-rec {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fire);
  animation: pulse-dot 2s ease-in-out infinite;
}

/* CCTV scan line overlay on image grid */
.hero-img-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 3px,
    rgba(0,0,0,0.04) 3px, rgba(0,0,0,0.04) 4px
  );
  pointer-events: none;
  z-index: 2;
}

.hero-img-grid .dvr-strip {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  border-radius: 0 0 12px 12px;
}



/* ============================
   SERVICE CARD IMAGES
   ============================ */

.service-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  margin: -1.75rem -1.75rem 1.25rem;
  width: calc(100% + 3.5rem);
  display: block;
}

/* ============================
   CONTACT PAGE — no line break fix
   ============================ */
.contact-subline {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 600px) {
  .contact-subline { white-space: normal; }
}

/* ============================
   ADMIN PORTAL STYLES
   ============================ */

.admin-body {
  background: #0f1117;
  font-family: 'Saira', sans-serif;
  min-height: 100vh;
  color: #c8d0dc;
}

.admin-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.admin-login-box {
  background: #141820;
  border: 1px solid rgba(255,77,0,0.2);
  border-radius: 16px;
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 0 40px rgba(255,77,0,0.1);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.admin-table th {
  background: #1e2430;
  padding: 0.8rem 1rem;
  text-align: left;
  color: #f0f4fa;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-bottom: 2px solid rgba(255,77,0,0.2);
  white-space: nowrap;
}

.admin-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(200,208,220,0.06);
  vertical-align: top;
}

.admin-table tr:hover td { background: rgba(255,77,0,0.04); }

/* ============================
   FOOTER SOCIAL ICONS
   ============================ */
.social-icons {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--smoke, #c8d0dc);
  font-size: 1.1rem;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.social-icons a:hover {
  background: var(--fire, #ff4d00);
  color: #fff;
  transform: translateY(-2px);
}
