/*
Theme Name: Hughes Software Theme
Author: Hughes Software
Description: Custom modern theme for Hughes Software based on circuit board visual identity.
Version: 1.1.1
*/

:root {
  --bg-dark: #05152a;
  --bg-card: #0a2240;
  --accent-blue: #5cb3eb;
  --accent-glow: #8ad3ff;
  --text-main: #e2f1f8;
  --text-muted: #8caec4;
  --border-color: #1a3c66;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-glow);
}

header {
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-main);
}

.site-title span {
  color: var(--accent-blue);
}

nav a {
  margin-left: 1.5rem;
  font-weight: 500;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.hero {
  text-align: center;
  padding: 4rem 1rem;
  background: radial-gradient(circle at center, #0f315a 0%, var(--bg-dark) 70%);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  margin-bottom: 4rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.hero p {
  color: var(--text-muted);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--accent-blue);
  padding-left: 0.75rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-blue);
}

.card-thumbnail {
  margin: -1.5rem -1.5rem 1rem;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}

.card-thumbnail img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.card h3 {
  margin-bottom: 0.5rem;
  color: var(--accent-blue);
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  background: var(--accent-blue);
  color: var(--bg-dark);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
}

.btn:hover {
  background: var(--accent-glow);
  color: var(--bg-dark);
}

.contact-section {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 4rem;
}