/*
Theme Name: TTT Codes Corporate
Theme URI: https://ttt.codes/
Author: Think Tank Technologies Pvt Ltd
Author URI: https://ttt.codes/
Description: Custom dark-mode corporate theme generated from the supplied ttt.codes Stitch UI/UX export. Includes Stitch page templates, demo import, Elementor-compatible header/footer rendering, and clean WordPress defaults.
Version: 1.0.1
Requires at least: 6.7
Tested up to: 7.0
Requires PHP: 8.3
Text Domain: ttt-codes
*/

:root {
  color-scheme: dark;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #0b1326;
  color: #dae2fd;
}

a {
  text-decoration: none;
}

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

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ttt-stitch-mobile {
  display: none;
}

@media (max-width: 767px) {
  .ttt-stitch-desktop {
    display: none;
  }

  .ttt-stitch-mobile {
    display: block;
  }
}

.ttt-site-header-fallback {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(20px);
}

.ttt-site-header-fallback__inner,
.ttt-site-footer-fallback__inner {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
}

.ttt-site-header-fallback__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ttt-site-header-fallback img {
  width: auto;
  height: 40px;
}

.ttt-site-header-fallback nav,
.ttt-site-footer-fallback nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.ttt-site-header-fallback nav li,
.ttt-site-footer-fallback nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ttt-site-header-fallback a,
.ttt-site-footer-fallback a {
  color: #cbc3d7;
  font-family: Inter, sans-serif;
  font-weight: 700;
}

.ttt-site-header-fallback a:hover,
.ttt-site-footer-fallback a:hover {
  color: #d0bcff;
}

.ttt-site-header-fallback__cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: #a078ff;
  color: #340080 !important;
}

.ttt-site-footer-fallback {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #060e20;
  padding: 64px 0 32px;
}

.ttt-site-footer-fallback__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 48px;
  color: #94a3b8;
  font-family: Inter, sans-serif;
}

.ttt-site-footer-fallback img {
  width: auto;
  height: 40px;
  margin-bottom: 24px;
}

.ttt-site-footer-fallback__legal {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  font-size: 14px;
}

@media (max-width: 767px) {
  .ttt-site-header-fallback__inner {
    width: min(100% - 32px, 680px);
    min-height: 64px;
  }

  .ttt-site-header-fallback nav {
    display: none;
  }

  .ttt-site-header-fallback img {
    height: 32px;
  }

  .ttt-site-footer-fallback__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ttt-site-footer-fallback nav {
    justify-content: center;
  }
}
