/*
Theme Name: Altech Digital
Theme URI: https://altechdigital.co.uk
Author: Altech Digital
Author URI: https://altechdigital.co.uk
Description: Fast, modern, dark-tech WordPress theme for Altech Digital.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: altech-digital
*/

:root {
  --altech-bg: #07142b;
  --altech-bg-soft: #0d2242;
  --altech-surface: #102a52;
  --altech-primary: #2f73ff;
  --altech-accent: #39c7ff;
  --altech-text: #eef4ff;
  --altech-muted: #a8b7d6;
  --altech-border: #204578;
}

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

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  background: radial-gradient(circle at 20% 20%, #12305d 0%, var(--altech-bg) 45%, #060f21 100%);
  color: var(--altech-text);
  line-height: 1.6;
}

a {
  color: var(--altech-accent);
  text-decoration: none;
}

a:hover {
  color: #7bdcff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(7, 20, 43, 0.86);
  border-bottom: 1px solid var(--altech-border);
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}

.site-title {
  margin: 0;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-title a {
  color: var(--altech-text);
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: #d8e7ff;
  font-weight: 600;
}

.main-nav a:hover {
  color: white;
}

.hero {
  padding: 72px 0 54px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  margin: 0 0 14px;
  max-width: 16ch;
}

.hero p {
  color: var(--altech-muted);
  margin: 0 0 26px;
  max-width: 64ch;
}

.button,
button,
input[type="submit"] {
  background: linear-gradient(135deg, var(--altech-primary), var(--altech-accent));
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 11px 18px;
  font-weight: 700;
  cursor: pointer;
}

.button:hover,
button:hover,
input[type="submit"]:hover {
  filter: brightness(1.08);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 24px 0 48px;
}

.card {
  background: linear-gradient(165deg, rgba(19, 50, 95, 0.84), rgba(12, 33, 65, 0.94));
  border: 1px solid var(--altech-border);
  border-radius: 12px;
  padding: 18px;
}

.card h3 {
  margin: 0 0 8px;
}

.site-content {
  padding: 24px 0 60px;
}

.site-content h1,
.site-content h2,
.site-content h3 {
  line-height: 1.2;
}

.site-content p,
.site-content li {
  color: #d6e2f8;
}

.site-footer {
  border-top: 1px solid var(--altech-border);
  background: rgba(2, 9, 22, 0.92);
  margin-top: 34px;
}

.footer-inner {
  padding: 24px 0;
  color: #9fb2d6;
  font-size: 0.95rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #315486;
  background: #0d2242;
  color: #eef4ff;
  border-radius: 9px;
  padding: 10px 12px;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #3f8bff;
  outline-offset: 1px;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: rgba(17, 43, 82, 0.8);
  border: 1px solid var(--altech-border);
  border-radius: 12px;
  padding: 14px;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  border-radius: 9px;
}

