/* Venus Technologies - Software Consulting & Contractor Placement
   Customize colors in :root and content in HTML files. See CUSTOMIZATION.md */

:root {
  --color-bg: #0b0f19;
  --color-surface: #111827;
  --color-surface-light: #1f2937;
  --color-text: #f3f4f6;
  --color-text-muted: #9ca3af;
  --color-accent: #38bdf8;
  --color-accent-hover: #7dd3fc;
  --color-border: #374151;
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --container: min(1120px, 92vw);
  --radius: 8px;
  --transition: 0.2s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

.container {
  width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 25, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text);
  text-decoration: none;
}

.logo img {
  height: 32px;
  width: auto;
  display: block;
}

.site-header .logo img {
  height: 60px;
}

.logo span {
  color: var(--color-accent);
}

.nav-toggle {
  display: none;
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
}

.nav-toggle::before,
.nav-toggle::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
}

.nav-toggle::before { top: 8px; }
.nav-toggle::after { bottom: 8px; }

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
}

.main-nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-accent);
}

/* Hero */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 4rem 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
    background:
        linear-gradient(90deg, rgba(11,15,25,0.92) 0%, rgba(11,15,25,0.6) 50%, rgba(11,15,25,0.2) 100%),
    url("../images/hero.webp") center / cover no-repeat;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem;
  max-width: 18ch;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 42ch;
  margin: 0 0 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-bg);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: var(--color-bg);
}

.btn-secondary {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn-secondary:hover {
  background: rgba(56, 189, 248, 0.15);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.0625rem;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-light {
  background: var(--color-surface);
}

.section-title {
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
}

.section-lead {
  color: var(--color-text-muted);
  margin: 0 0 2.5rem;
  max-width: 40ch;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--color-surface-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color var(--transition);
}

.service-card:hover {
 border-color: var(--color-accent);
}

.service-img {
  display: block;
  width: calc(100% + 3.5rem);
  margin: -1.75rem -1.75rem 1.25rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.service-card h3 {
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
}

.service-card p {
  color: var(--color-text-muted);
  margin: 0 0 1rem;
  font-size: 0.9375rem;
}

.link-arrow {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
}

.link-arrow:hover {
  text-decoration: underline;
}

/* Features row */
.features-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.feature strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--color-accent);
}

.feature p {
  color: var(--color-text-muted);
  margin: 0;
  font-size: 0.9375rem;
}

/* CTA strip */
.cta-strip {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 3rem 0;
  text-align: center;
}

.cta-strip h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.cta-strip p {
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--color-border);
}

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin: 0 0 0.5rem;
}

.page-lead {
  color: var(--color-text-muted);
  margin: 0;
  font-size: 1.125rem;
}

/* Content block */
.content-block {
  max-width: 720px;
}

.content-block h2 {
  font-size: 1.375rem;
  margin: 0 0 1rem;
}

.content-block p {
  color: var(--color-text-muted);
  margin: 0 0 1rem;
}

.service-detail {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.service-detail .btn {
  margin-top: 1rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.check-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-muted);
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.values-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.values-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

.values-list li:last-child {
  border-bottom: none;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.team-card {
  text-align: center;
}

.team-photo {
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-surface-light);
  border: 2px solid var(--color-border);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  font-size: 1rem;
  margin: 0 0 0.25rem;
}

.team-card p {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin: 0;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h2 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
}

.contact-info p {
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
}

.contact-details p {
  margin-bottom: 1rem;
}

.contact-details a {
  color: var(--color-accent);
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-weight: 500;
  font-size: 0.9375rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-surface-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.7;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 2rem 0;
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand p {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin: 0.5rem 0 0;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
}

.footer-nav a:hover {
  color: var(--color-accent);
}

/* Mobile */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.2s, opacity 0.2s, visibility 0.2s;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}
