/*
Theme Name: GeekTech Pro
Theme URI: https://example.com/geektech-pro
Author: Codex
Description: Navy blue WordPress theme for IT service shops and WooCommerce stores, inspired by modern computer-service websites without copying any proprietary design.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: geektech-pro
Tags: e-commerce, custom-logo, featured-images, translation-ready, blog, two-columns
*/

:root {
  --gt-navy-950: #07111f;
  --gt-navy-900: #0b1728;
  --gt-navy-800: #10243d;
  --gt-navy-700: #18375c;
  --gt-blue-500: #1e6bff;
  --gt-cyan-400: #2dd4ff;
  --gt-mint-400: #34d399;
  --gt-amber-400: #f6c453;
  --gt-ink: #101828;
  --gt-muted: #667085;
  --gt-line: #d8e0ec;
  --gt-surface: #ffffff;
  --gt-soft: #f4f7fb;
  --gt-radius: 8px;
  --gt-shadow: 0 18px 45px rgba(7, 17, 31, 0.18);
  --gt-wrap: min(1180px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--gt-ink);
  background: var(--gt-soft);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

a {
  color: var(--gt-blue-500);
  text-decoration: none;
}

a:hover {
  color: var(--gt-navy-700);
}

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

.gt-wrap {
  width: var(--gt-wrap);
  margin-inline: auto;
}

.gt-topbar {
  background: var(--gt-navy-950);
  color: #d8e7ff;
  font-size: 0.9rem;
}

.gt-topbar__inner,
.gt-header__inner,
.gt-footer__grid {
  width: var(--gt-wrap);
  margin-inline: auto;
}

.gt-topbar__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}

.gt-topbar a {
  color: #ffffff;
}

.gt-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(16, 36, 61, 0.12);
  backdrop-filter: blur(14px);
}

.admin-bar .gt-header {
  top: 32px;
}

.gt-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 76px;
}

.gt-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gt-navy-950);
  font-weight: 800;
  letter-spacing: 0;
}

.gt-brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--gt-navy-900), var(--gt-blue-500));
  border-radius: var(--gt-radius);
  box-shadow: 0 10px 24px rgba(30, 107, 255, 0.25);
}

.gt-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gt-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 11px;
  color: var(--gt-navy-800);
  border-radius: var(--gt-radius);
  font-weight: 700;
  font-size: 0.94rem;
}

.gt-nav a:hover,
.gt-nav .current-menu-item > a {
  color: var(--gt-blue-500);
  background: #ecf3ff;
}

.gt-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gt-lang {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  background: #edf3fb;
  border: 1px solid var(--gt-line);
  border-radius: var(--gt-radius);
}

.gt-lang a,
.gt-lang button {
  min-width: 36px;
  min-height: 32px;
  padding: 5px 8px;
  color: var(--gt-navy-800);
  background: transparent;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.gt-lang .is-active,
.gt-lang a:hover,
.gt-lang button:hover {
  color: #ffffff;
  background: var(--gt-navy-800);
}

.gt-cart {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 42px;
  color: var(--gt-navy-950);
  border: 1px solid var(--gt-line);
  border-radius: var(--gt-radius);
}

.gt-cart__count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  color: #06111f;
  background: var(--gt-amber-400);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 20px;
  text-align: center;
}

.gt-mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  background: var(--gt-navy-900);
  border: 0;
  border-radius: var(--gt-radius);
  color: #fff;
}

.gt-hero {
  color: #ffffff;
  background:
    radial-gradient(circle at 22% 18%, rgba(45, 212, 255, 0.24), transparent 28%),
    linear-gradient(135deg, var(--gt-navy-950) 0%, var(--gt-navy-900) 48%, #123c62 100%);
}

.gt-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
  align-items: center;
  gap: 46px;
  width: var(--gt-wrap);
  min-height: 650px;
  margin-inline: auto;
  padding: 66px 0 56px;
}

.gt-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #aeeeff;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gt-kicker::before {
  width: 10px;
  height: 10px;
  content: "";
  background: var(--gt-mint-400);
  border-radius: 999px;
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.7);
}

.gt-hero h1 {
  max-width: 760px;
  margin: 16px 0;
  font-size: clamp(2.45rem, 5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.gt-hero p {
  max-width: 690px;
  margin: 0 0 28px;
  color: #d7e8ff;
  font-size: 1.12rem;
}

.gt-button,
.button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  color: #06111f;
  background: var(--gt-amber-400);
  border: 0;
  border-radius: var(--gt-radius);
  font-weight: 900;
  line-height: 1.15;
  text-decoration: none;
  cursor: pointer;
}

.gt-button:hover,
.button:hover,
.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  color: #06111f;
  background: #ffd978;
}

.gt-button--ghost {
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.gt-button--ghost:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.gt-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.gt-hero__visual {
  position: relative;
  min-height: 420px;
  border-radius: var(--gt-radius);
  overflow: hidden;
  background: #0c1d31 url("assets/images/hero-tech.svg") center / cover no-repeat;
  box-shadow: var(--gt-shadow);
  isolation: isolate;
}

.gt-hero__visual::after {
  position: absolute;
  inset: auto 24px 24px 24px;
  min-height: 112px;
  padding: 18px;
  content: attr(data-panel);
  color: #e9f5ff;
  background: rgba(7, 17, 31, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--gt-radius);
  backdrop-filter: blur(10px);
  font-weight: 800;
}

.gt-strip {
  color: #d8e7ff;
  background: var(--gt-navy-900);
}

.gt-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: var(--gt-wrap);
  margin-inline: auto;
  padding: 0;
}

.gt-stat {
  padding: 22px 18px;
  background: rgba(255, 255, 255, 0.04);
}

.gt-stat strong {
  display: block;
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1.2;
}

.gt-section {
  padding: 76px 0;
}

.gt-section--white {
  background: #ffffff;
}

.gt-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.gt-section__head h2,
.gt-content h1,
.gt-content h2,
.woocommerce-products-header__title {
  margin: 0;
  color: var(--gt-navy-950);
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.14;
  letter-spacing: 0;
}

.gt-section__head p {
  max-width: 560px;
  margin: 0;
  color: var(--gt-muted);
}

.gt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gt-card,
.woocommerce ul.products li.product,
.gt-content,
.gt-sidebar .widget,
.comment-body {
  background: #ffffff;
  border: 1px solid var(--gt-line);
  border-radius: var(--gt-radius);
  box-shadow: 0 10px 28px rgba(16, 36, 61, 0.06);
}

.gt-card {
  padding: 24px;
}

.gt-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  color: #ffffff;
  background: var(--gt-navy-800);
  border-radius: var(--gt-radius);
}

.gt-card h3 {
  margin: 0 0 10px;
  color: var(--gt-navy-950);
  font-size: 1.18rem;
}

.gt-card p {
  margin: 0;
  color: var(--gt-muted);
}

.gt-feature {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 36px;
  align-items: center;
}

.gt-feature__panel {
  padding: 30px;
  color: #d8e7ff;
  background: var(--gt-navy-900);
  border-radius: var(--gt-radius);
}

.gt-checks {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.gt-checks li {
  display: flex;
  gap: 10px;
}

.gt-checks li::before {
  content: "OK";
  flex: 0 0 auto;
  color: var(--gt-mint-400);
  font-weight: 900;
  font-size: 0.75rem;
}

.gt-products-row {
  margin-top: 12px;
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}

.woocommerce ul.products li.product {
  float: none;
  width: auto;
  margin: 0;
  padding: 16px;
}

.woocommerce ul.products li.product a img {
  margin: 0 0 14px;
  border-radius: var(--gt-radius);
  background: var(--gt-soft);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 0;
  color: var(--gt-navy-950);
  font-size: 1rem;
}

.woocommerce ul.products li.product .price {
  color: var(--gt-blue-500);
  font-weight: 900;
}

.woocommerce span.onsale {
  min-height: auto;
  min-width: auto;
  padding: 6px 9px;
  background: var(--gt-mint-400);
  border-radius: var(--gt-radius);
  color: #06111f;
  font-weight: 900;
  line-height: 1;
}

.gt-main {
  width: var(--gt-wrap);
  margin: 42px auto 76px;
}

.gt-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
}

.gt-content {
  padding: clamp(22px, 4vw, 42px);
}

.gt-content > *:first-child {
  margin-top: 0;
}

.gt-content > *:last-child {
  margin-bottom: 0;
}

.gt-entry-meta {
  color: var(--gt-muted);
  font-size: 0.94rem;
}

.gt-sidebar {
  display: grid;
  align-content: start;
  gap: 18px;
}

.gt-sidebar .widget {
  padding: 22px;
}

.gt-footer {
  color: #d8e7ff;
  background: var(--gt-navy-950);
}

.gt-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 34px;
  padding: 54px 0;
}

.gt-footer h2,
.gt-footer h3 {
  margin: 0 0 12px;
  color: #ffffff;
}

.gt-footer a {
  color: #d8e7ff;
}

.gt-footer__bottom {
  width: var(--gt-wrap);
  margin-inline: auto;
  padding: 18px 0;
  color: #98add0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
}

.gt-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gt-footer li + li {
  margin-top: 8px;
}

input,
textarea,
select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--gt-ink);
  background: #ffffff;
  border: 1px solid var(--gt-line);
  border-radius: var(--gt-radius);
  font: inherit;
}

textarea {
  min-height: 130px;
}

.woocommerce div.product div.images .woocommerce-product-gallery__wrapper,
.woocommerce div.product .summary,
.woocommerce-cart-form,
.cart_totals,
.woocommerce-checkout-review-order,
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--gt-line);
  border-radius: var(--gt-radius);
}

.woocommerce div.product .product_title {
  color: var(--gt-navy-950);
}

.woocommerce table.shop_table {
  overflow: hidden;
  border-color: var(--gt-line);
  border-radius: var(--gt-radius);
}

@media (max-width: 940px) {
  .gt-header__inner {
    grid-template-columns: auto auto;
  }

  .gt-mobile-toggle {
    display: inline-grid;
    place-items: center;
    justify-self: end;
  }

  .gt-nav {
    display: none;
    grid-column: 1 / -1;
  }

  .gt-nav.is-open {
    display: block;
    padding-bottom: 16px;
  }

  .gt-nav ul {
    display: grid;
    justify-content: stretch;
  }

  .gt-actions {
    grid-column: 1 / -1;
    justify-content: space-between;
    padding-bottom: 14px;
  }

  .gt-hero__inner,
  .gt-feature,
  .gt-layout,
  .gt-footer__grid {
    grid-template-columns: 1fr;
  }

  .gt-hero__inner {
    min-height: auto;
  }

  .gt-grid,
  .woocommerce ul.products,
  .gt-strip__inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  :root {
    --gt-wrap: min(100vw - 24px, 1180px);
  }

  .admin-bar .gt-header {
    top: 0;
  }

  .gt-topbar__inner,
  .gt-section__head,
  .gt-hero__cta {
    display: grid;
  }

  .gt-hero__inner {
    padding: 42px 0;
  }

  .gt-hero__visual {
    min-height: 310px;
  }

  .gt-grid,
  .woocommerce ul.products,
  .gt-strip__inner {
    grid-template-columns: 1fr;
  }

  .gt-section {
    padding: 52px 0;
  }
}
