/* Sentinel Machine Solutions - Professional Industrial Theme */
:root {
  --bg-dark: #0a0a0a;
  --bg-navy: #0d1b2a;
  --bg-card: #111827;
  --bg-section: #0f172a;
  --blue-primary: #1e40af;
  --blue-accent: #3b82f6;
  --blue-light: #60a5fa;
  --silver: #e5e7eb;
  --silver-dark: #9ca3af;
  --metallic: #d1d5db;
  --text-white: #f9fafb;
  --text-muted: #94a3b8;
  --red-accent: #dc2626;
  --border-blue: #1e3a8a;
  --gradient-blue: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  --radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: 0.5px;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-transform: uppercase;
  letter-spacing: 3px;
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 1.5rem;
  position: relative;
}

h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--blue-accent);
  margin-top: 0.5rem;
}

h3 {
  font-size: 1.35rem;
  color: var(--blue-light);
  margin-bottom: 0.75rem;
}

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

a {
  color: var(--blue-light);
  text-decoration: none;
  transition: color 0.3s;
}

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

/* Header & Navigation */
.site-header {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  padding: 0.75rem 0;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-link img {
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.logo-text {
  display: none; /* Full logo image already includes company name */
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  color: var(--silver);
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: 0.25rem 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-accent);
  transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--text-white);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.75rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(ellipse at center, #0f172a 0%, #0a0a0a 70%);
  position: relative;
  padding: 6rem 1.5rem 4rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/logo.png') center/contain no-repeat;
  opacity: 0.03;
  pointer-events: none;
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 1;
}

.hero-logo {
  max-width: 320px;
  width: 100%;
  margin: 0 auto 2rem;
  filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.3));
}

.hero h1 {
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .tagline {
  font-size: 1.25rem;
  color: var(--blue-light);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.services-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin: 1.5rem 0 2rem;
  font-size: 0.9rem;
  color: var(--silver-dark);
  letter-spacing: 1px;
}

.services-bar span {
  position: relative;
}

.services-bar span:not(:last-child)::after {
  content: '|';
  margin-left: 1.25rem;
  color: var(--blue-accent);
  opacity: 0.6;
}

.veteran-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(30, 64, 175, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  margin-top: 1rem;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.veteran-banner .stars {
  color: var(--blue-accent);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient-blue);
  color: white;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--silver);
  border: 2px solid var(--blue-accent);
}

.btn-outline:hover {
  background: rgba(59, 130, 246, 0.1);
  color: white;
}

/* Sections */
.section {
  padding: 5rem 1.5rem;
}

.section-dark {
  background: var(--bg-navy);
}

.section-alt {
  background: var(--bg-section);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Feature Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--blue-accent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: var(--shadow);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(59, 130, 246, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  color: var(--blue-accent);
}

.feature-card h3 {
  color: var(--text-white);
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.check-list {
  list-style: none;
  margin-top: 1rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.check-list li::before {
  content: '✓';
  color: var(--blue-accent);
  font-weight: bold;
  flex-shrink: 0;
}

/* About specific */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-content p {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-box {
  background: rgba(30, 64, 175, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.stat-box .number {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--blue-accent);
  display: block;
}

.stat-box .label {
  font-size: 0.85rem;
  color: var(--silver-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Services detailed */
.service-item {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--blue-accent);
  transition: all 0.3s;
}

.service-item:hover {
  background: #1a2332;
}

.service-item h3 {
  color: var(--text-white);
  margin-bottom: 0.75rem;
}

.equipment-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.equipment-list li {
  background: rgba(59, 130, 246, 0.08);
  padding: 0.6rem 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--silver);
  list-style: none;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-card);
  cursor: pointer;
  group: true;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 6px;
  box-shadow: 0 0 50px rgba(0,0,0,0.8);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info h3 {
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

.owner-card {
  background: var(--bg-card);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

.owner-card h4 {
  font-size: 1.25rem;
  color: var(--text-white);
  margin-bottom: 0.25rem;
}

.owner-card .role {
  color: var(--blue-accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.owner-card .contact-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.owner-card .contact-line a {
  color: var(--blue-light);
}

.owner-card .contact-line svg {
  width: 18px;
  height: 18px;
  color: var(--blue-accent);
  flex-shrink: 0;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  color: var(--silver);
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #0a0f1a;
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 6px;
  color: var(--text-white);
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue-accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.checkbox-item input {
  width: auto;
  accent-color: var(--blue-accent);
}

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
}

/* Footer */
.site-footer {
  background: #050505;
  border-top: 1px solid rgba(59, 130, 246, 0.15);
  padding: 3rem 1.5rem 1.5rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand img {
  height: 60px;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-links h4 {
  color: var(--text-white);
  margin-bottom: 1rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--silver-dark);
}

.veteran-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--blue-light);
  font-size: 0.8rem;
  letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(59,130,246,0.2);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .form-row,
  .checkbox-group {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 5rem;
  }
  
  .hero-logo {
    max-width: 220px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Utility */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* Page specific hero smaller */
.page-hero {
  padding: 8rem 1.5rem 4rem;
  background: linear-gradient(180deg, var(--bg-navy) 0%, var(--bg-dark) 100%);
  text-align: center;
}

.page-hero h1 {
  margin-bottom: 1rem;
}

.page-hero p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.15rem;
}