/* ═══════════════════════════════════════════════════════
   TCS Solutions Ltd  —  tcs.css
   Bootstrap 5.3  |  Poppins (Google Fonts)
   No transitions · No animations · No gradients
═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* Kill every Bootstrap transition/animation globally */
*, *::before, *::after {
  transition: none !important;
  animation: none !important;
}

:root {
  --tcs-dark:    #12141D;
  --tcs-mid:     #191C2C;
  --tcs-sidebar: rgba(42,47,77,0.92);
  --tcs-accent:  #0099FF;
  --tcs-text:    #555555;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: var(--tcs-text);
  background-color: var(--tcs-dark);
  margin: 0;
}

/* ── HEADER (logo + tel bar) ───────────────────────── */
#tcs-header {
  background-color: var(--tcs-dark);
  padding: 0.65rem 0;
}
#tcs-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.header-tel {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}
.header-tel:hover { color: var(--tcs-accent); }
.header-tel .bi { margin-right: 0.25rem; }
.header-logo { flex: 1; text-align: center; line-height: 0; }
.header-logo img { max-height: 72px; width: auto; max-width: 100%; }

@media (max-width: 575.98px) {
  .header-tel { font-size: 0.82rem; }
  .header-logo img { max-height: 48px; }
}

/* ── NAVBAR ────────────────────────────────────────── */
#tcs-nav {
  background-color: var(--tcs-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 0;
}
#tcs-nav .navbar-toggler {
  border-color: rgba(255,255,255,0.25);
  margin: 0.4rem 0;
}
#tcs-nav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255%2c255%2c255%2c0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
#tcs-nav .nav-link {
  color: #dddddd;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.9rem 0.75rem;
  white-space: nowrap;
}
#tcs-nav .nav-link:hover,
#tcs-nav .nav-link[aria-current="page"] { color: #ffffff; }

/* Dropdown menu */
#tcs-nav .dropdown-menu {
  background-color: var(--tcs-mid);
  border: none;
  border-radius: 0;
  margin-top: 0;
  padding: 0.3rem 0;
  min-width: 15rem;
}
#tcs-nav .dropdown-item {
  color: #cccccc;
  font-size: 0.88rem;
  padding: 0.5rem 1rem;
}
#tcs-nav .dropdown-item:hover {
  background-color: var(--tcs-accent);
  color: #ffffff;
}

/* Desktop: show dropdown on hover */
@media (min-width: 992px) {
  #tcs-nav .dropdown:hover > .dropdown-menu { display: block; }
}

/* Login button */
.nav-login {
  display: inline-block;
  background-color: var(--tcs-accent);
  color: #ffffff !important;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 3px;
  text-decoration: none;
  white-space: nowrap;
  align-self: center;
  margin-left: 0.5rem;
}
.nav-login:hover { background-color: #007acc; }

/* Mobile nav adjustments */
@media (max-width: 991.98px) {
  .nav-login { margin: 0.6rem 0 0.85rem; display: inline-block; }
  #tcs-nav .nav-link { padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
  #tcs-nav .dropdown-menu { background-color: #0d0f18; border-top: 1px solid rgba(255,255,255,0.05); }
  #tcs-nav .dropdown-item { padding-left: 1.5rem; }
}

/* ── BANNER ────────────────────────────────────────── */
#tcs-banner { overflow: hidden; }
#tcs-banner img { width: 100%; height: auto; display: block; max-height: 170px; object-fit: cover; object-position: center; }

/* ── BODY WRAPPER ──────────────────────────────────── */
/* Dark background so no white bleeds outside the container */
#tcs-body { background-color: var(--tcs-dark); }

/* ── MAIN CONTENT ──────────────────────────────────── */
#tcs-content {
  background-color: #ffffff;
  padding: 1.75rem 1.5rem;
  height: 100%;
}
#tcs-content h1 {
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--tcs-dark);
  border-left: 4px solid var(--tcs-accent);
  padding-left: 0.65rem;
  margin-bottom: 1.2rem;
  line-height: 1.3;
}
#tcs-content h2 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--tcs-dark);
  margin-top: 1.5rem;
  margin-bottom: 0.65rem;
}
#tcs-content p  { line-height: 1.8; margin-bottom: 0.85rem; }
#tcs-content address { font-style: normal; line-height: 1.8; margin-bottom: 0.85rem; }
#tcs-content ul,
#tcs-content ol { line-height: 1.85; padding-left: 1.3rem; margin-bottom: 0.85rem; }
#tcs-content li { margin-bottom: 0.2rem; }
#tcs-content a  { color: var(--tcs-accent); text-decoration: none; }
#tcs-content a:hover { text-decoration: underline; }
#tcs-content strong { color: #333333; }
#tcs-content .bi { color: var(--tcs-accent); margin-right: 0.35rem; }

/* ── SIDEBARS ──────────────────────────────────────── */
.tcs-sidebar {
  background-color: var(--tcs-sidebar);
  color: #ffffff;
  padding: 1.25rem 1rem;
  height: 100%;
}
.tcs-sidebar h2 {
  font-size: 0.84rem;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-bottom: 2px solid var(--tcs-accent);
  padding-bottom: 0.4rem;
  margin-bottom: 0.9rem;
}
.tcs-sidebar img { max-width: 100%; height: auto; display: block; }
.tcs-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tcs-sidebar ul li {
  padding: 0.28rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 0.84rem;
}
.tcs-sidebar ul li:last-child { border-bottom: none; }
.tcs-sidebar ul li::before { content: '▸'; color: var(--tcs-accent); margin-right: 0.4rem; font-size: 0.7rem; }
.tcs-sidebar ul li a { color: #cbf6f7; text-decoration: none; }
.tcs-sidebar ul li a:hover { color: #ffffff; }

/* ── CTA STRIP ─────────────────────────────────────── */
#tcs-cta {
  background-color: var(--tcs-mid);
  border-top: 3px solid var(--tcs-accent);
  color: #bbbbbb;
  padding: 0.7rem 0;
  font-size: 0.84rem;
  font-style: italic;
}
#tcs-cta strong { color: #ffffff; font-style: normal; }
#tcs-cta a { color: var(--tcs-accent); text-decoration: none; font-weight: 600; font-style: normal; }

/* ── FOOTER ────────────────────────────────────────── */
#tcs-footer {
  background-color: var(--tcs-mid);
  color: #aaaaaa;
  padding: 1.75rem 0 1.25rem;
  font-size: 0.84rem;
}
#tcs-footer h3 {
  font-size: 0.86rem;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 0.4rem;
  margin-bottom: 0.9rem;
}
#tcs-footer p { margin-bottom: 0.35rem; line-height: 1.65; }
#tcs-footer a { color: #cbf6f7; text-decoration: none; }
#tcs-footer a:hover { color: #ffffff; }
#tcs-footer strong { color: #dddddd; }
.footer-logo { display: block; margin-bottom: 0.6rem; }
.footer-logo img { max-width: 180px; height: auto; }

/* ── COPYRIGHT ─────────────────────────────────────── */
#tcs-copyright {
  background-color: var(--tcs-dark);
  color: #505050;
  padding: 0.55rem 0;
  font-size: 0.77rem;
  text-align: center;
}

/* ── UNDERFLOOR HEATING ─────────────────────────────────── */
.ufh-section {
  border-bottom: 1px solid #eeeeee;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}
.ufh-section:last-of-type { border-bottom: none; }

/* Portrait thumbnail with play overlay */
.video-thumb-wrap {
  position: relative;
  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
  max-width: 180px;
  min-height: 160px;
  margin: 0 auto;
  display: block;
  background-color: var(--tcs-mid);
}
.video-thumb-wrap img {
  width: 100%;
  height: auto;
  display: block;
}
.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0,0,0,0.28);
}
.video-play-overlay .bi {
  font-size: 3rem;
  color: rgba(255,255,255,0.92);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.55));
}
.video-thumb-wrap:hover .video-play-overlay {
  background-color: rgba(0,153,255,0.38);
}
.video-thumb-wrap:hover .video-play-overlay .bi { color: #ffffff; }

/* Portrait video modal */
#videoModal .modal-dialog {
  max-width: min(340px, 92vw);
}
#videoModal .modal-content { background-color: #000; border: none; }
#videoModal .modal-header {
  border-bottom: none;
  padding: 0.4rem 0.75rem;
}
#videoModal .modal-body { padding: 0; }
#videoModal video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 80vh;
  object-fit: contain;
  background: #000;
}
