/* Μόνο για τη σελίδα: home */

:root {
  --primary-blue: #004d99;
  --accent-orange: #f27405;
  --dark-gray: #4a4e51;
  --header-bg: #2d3134;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Ubuntu", sans-serif;
  margin: 0;
  background-color: var(--dark-gray);
  color: var(--white);
  line-height: 1.6;
  text-align: center;
}

.hero {
  background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.85)), url("https://www.techteamservice.gr/wp-content/uploads/2021/04/cropped-techteam-bg.jpg");
  background-size: cover;
  background-position: center;
  padding: 100px 5%;
  color: #222;
}

.hero h1 {
  font-size: 3rem;
  margin: 0 auto;
  line-height: 1.2;
  max-width: 900px;
}

.hero h1 span {
  color: var(--accent-orange);
}

.hero p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 25px auto;
  font-weight: 500;
}

.hero-cta {
  background: var(--primary-blue);
  color: white;
  padding: 16px 40px;
  font-weight: bold;
  border-radius: 5px;
  display: inline-block;
  transition: 0.3s;
  text-decoration: none;
}

.hero-cta:hover {
  background: var(--accent-orange);
  transform: scale(1.05);
}

.services-title {
  padding: 60px 5% 10px;
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  padding: 40px 10% 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.card h3 {
  color: var(--primary-blue);
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.brands-section {
  background: #333;
  padding: 60px 5%;
}

.brands-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 30px;
}

.brand-item {
  background: white;
  padding: 15px;
  border-radius: 5px;
  width: 160px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

footer {
  background: #1a1c1e;
  padding: 70px 5%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  border-top: 6px solid #ffbd00;
}

.footer-col h4 {
  color: var(--accent-orange);
  margin-bottom: 25px;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.footer-col p {
  font-size: 1rem;
  color: #bbb;
  margin: 10px 0;
}

.footer-col a {
  color: var(--white);
  font-weight: 700;
  font-size: 1.3rem;
  text-decoration: none;
}

.markes {
  background-color: #ffbd00;
  color: #393939;
  padding: 10px;
  width: 100%;
  height: auto;
  border: none;
  text-align: absolute;
  letter-spacing: .5px;
  outline: none;
  font-size: 90%;
  border-radius: 10px;
}

.active1, .markes:hover {
  background-color: #858585;
  color: #000000;
  width: 100%;
  padding: 10px;
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
  transition: 0.2s;
}

.button {
  justify-content: space-evenly;
  background-color: #ffbd00c7;
  color: #393939;
  padding-right: 5px;
  padding-left: 5px;
  padding-bottom: 5px;
  width: 100%;
  box-shadow: #858585 1px 1px 5px 0px;
  border-style: outset;
  border-color: navajowhite;
  text-align: center;
  letter-spacing: .1px;
  outline: none;
  font-size: 80%;
  border-radius: 3px;
  margin: 5px;
  display: flex;
  align-items: center;
  line-height: .5;
}

.button h2 {
  padding: .1%;
  color: #313131;
  line-height: 1;
}

.button:hover {
  transform: translateY(-4px);
  transition: 0.4s;
  background-color: #858585;
  color: #fafafa;
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

.imag {
  border-radius: 20px;
  border: none;
  transition: 0.3s;
  transition: transform .2s;
}

.imag:hover {
  border-radius: 20px;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.24), 0 4px 8px 0 rgba(0,0,0,0.19);
  transition: 0.3s;
  border: none;
  transform: scale(0.98);
}

.zoom {
  transition: transform .4s;
  margin-left: 10px;
  font-size: 20px;
  color: rgb(2, 126, 235);
}

.zoom:hover {
  transform: scale(2);
  text-align: center;
  float: center;
  transition: .3s;
  font-size: 28px;
}

.tts-service-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border-left: 4px solid #1a5f7a;
  border-radius: 6px;
  padding: 14px 18px;
  text-decoration: none;
  color: #2c2c2a;
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  margin-bottom: 10px;
}

.tts-service-item:hover {
  transform: translateX(4px);
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.tts-service-item::after {
  content: "›";
  margin-left: auto;
  font-size: 20px;
  color: #888780;
  flex-shrink: 0;
}

.tth-box, .tth-box *, .tth-box *::before, .tth-box *::after {
  box-sizing: border-box;
}

.tth-box {
  position: fixed;
  right: 16px;
  bottom: calc(16px + var(--tth-off, 0px));
  width: 400px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px - var(--tth-off, 0px));
  overflow-y: auto;
  background: #f1efe4;
  color: #333;
  text-align: left;
  border-top: 6px solid #ffbd00;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  padding: 18px 18px 20px;
  z-index: 9990;
  display: none;
}

.tth-box.is-open {
  display: block;
  animation: tthIn 0.22s ease;
}

@keyframes tthIn {
  from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; }
}

.tth-fab {
  position: fixed;
  right: 16px;
  bottom: calc(16px + var(--tth-off, 0px));
  z-index: 9990;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffbd00;
  color: #222;
  border: none;
  border-radius: 999px;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  animation: tthPulse 2s ease-out 3;
  transition: transform 0.15s ease, background 0.15s ease;
}

.tth-fab:hover {
  background: #d9a300;
  transform: translateY(-2px);
}

.tth-fab.is-hidden {
  display: none;
}

.tth-fab__short {
  display: none;
}

@keyframes tthPulse {
  0%   { box-shadow: 0 6px 18px rgba(0,0,0,0.3), 0 0 0 0 rgba(255,189,0,0.65); }
  70%  { box-shadow: 0 6px 18px rgba(0,0,0,0.3), 0 0 0 16px rgba(255,189,0,0); }
  100% { box-shadow: 0 6px 18px rgba(0,0,0,0.3), 0 0 0 0 rgba(255,189,0,0); }
}

.tth-backdrop {
  display: none;
}

.tth-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.tth-title {
  font-size: 19px;
  font-weight: 700;
  color: #1a5f7a;
  line-height: 1.3;
}

.tth-sub {
  font-size: 13.5px;
  color: #6b6b6b;
  margin-top: 3px;
}

.tth-close {
  flex-shrink: 0;
  background: transparent;
  border: none;
  font-size: 20px;
  line-height: 1;
  color: #888780;
  cursor: pointer;
  padding: 4px 6px;
  font-family: inherit;
}

.tth-close:hover {
  color: #242424;
}

.tth-body:focus {
  outline: none;
}

.tth-q {
  font-size: 17px;
  font-weight: 600;
  color: #242424;
  margin: 0 0 12px;
  line-height: 1.35;
}

.tth-opts {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.tth-opt {
  display: block;
  width: 100%;
  text-align: left;
  background: #fff;
  color: #242424;
  border: 2px solid #ddd8c9;
  border-radius: 8px;
  padding: 13px 15px;
  min-height: 48px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.tth-opt small {
  display: block;
  font-weight: 500;
  color: #777;
  font-size: 12.5px;
  margin-top: 2px;
}

.tth-opt:hover {
  border-color: #ffbd00;
  transform: translateY(-1px);
}

.tth-back {
  background: none;
  border: none;
  color: #1a5f7a;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 10px 0 0;
  font-family: inherit;
}

.tth-back:hover {
  text-decoration: underline;
}

.tth-crumb {
  font-size: 12.5px;
  color: #888780;
  margin: 0 0 12px;
  line-height: 1.4;
}

.tth-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.tth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 16px;
  border-radius: 8px;
  border: 2px solid transparent;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
  transition: all 0.2s ease;
}

.tth-btn--primary {
  background: #ffbd00;
  color: #222;
  border-color: #ffbd00;
}

.tth-btn--primary:hover {
  background: #d9a300;
  border-color: #d9a300;
}

.tth-btn--ghost {
  background: transparent;
  color: #1a5f7a;
  border-color: #1a5f7a;
}

.tth-btn--ghost:hover {
  background: #1a5f7a;
  color: #fff;
}

.tth-notice {
  background: #fff;
  border-left: 4px solid #ffbd00;
  border-radius: 6px;
  padding: 11px 13px;
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #444;
}

.tth-fine {
  font-size: 12.5px;
  color: #777;
  line-height: 1.5;
  margin: 10px 0 0;
}

.tth-price {
  background: #fff7d6;
  border: 2px solid #ffbd00;
  border-radius: 8px;
  padding: 12px 14px;
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.5;
  color: #333;
}

.tth-price b {
  font-size: 16px;
}

.tth-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  background: #fff;
  border-radius: 8px;
  padding: 10px 13px;
  margin: 0 0 10px;
}

.tth-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #9a9a95;
  flex-shrink: 0;
}

.tth-status.is-open .tth-dot {
  background: #1f8a4c;
}

.tth-store {
  background: #fff;
  border-radius: 8px;
  padding: 12px 14px;
  margin: 0 0 10px;
}

.tth-store__name {
  font-size: 15px;
  font-weight: 700;
  color: #242424;
}

.tth-store__addr {
  font-size: 13.5px;
  color: #666;
  margin-top: 2px;
}

.tth-hours {
  background: #fff;
  border-radius: 8px;
  padding: 10px 14px;
  margin: 0 0 10px;
  font-size: 14px;
}

.tth-hours summary {
  cursor: pointer;
  font-weight: 700;
  color: #1a5f7a;
}

.tth-hours dl {
  margin: 10px 0 0;
}

.tth-hours dt {
  font-weight: 600;
  color: #333;
  margin-top: 8px;
}

.tth-hours dd {
  margin: 1px 0 0;
  color: #555;
}

.tth-list {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  background: #fff;
  border-radius: 8px;
}

.tth-list li {
  padding: 11px 14px;
  font-size: 14.5px;
  border-bottom: 1px solid #f1efe4;
}

.tth-list li:last-child {
  border-bottom: none;
}

.tth-list b {
  color: #242424;
}

@media (max-width: 1024px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 85px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 85px);
    background: var(--header-bg);
    flex-direction: column;
    padding-top: 30px;
    transition: 0.4s ease-in-out;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links a {
    font-size: 1.2rem;
    width: 100%;
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid #3d4246;
  }

  .hero h1 {
    font-size: 2.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tth-fab, .tth-box.is-open {
    animation: none;
  }
}

@media (max-width: 480px) {
  .tth-box {
    left: 0;
    right: 0;
    bottom: var(--tth-off, 0px);
    width: auto;
    max-width: none;
    max-height: calc(88vh - var(--tth-off, 0px));
    border-radius: 14px 14px 0 0;
    padding: 16px 14px 20px;
  }

  .tth-btn {
    width: 100%;
  }

  .tth-fab {
    padding: 13px 16px;
  }

  .tth-fab__long {
    display: none;
  }

  .tth-fab__short {
    display: inline;
  }

  .tth-backdrop.is-open {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 9989;
  }
}
