/*
Theme Name: New Level Mechanical
Theme URI: https://example.com/
Author: New Level Mechanical
Description: A custom block theme for New Level Mechanical (dark industrial style).
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 8.0
Version: 0.1.0
Text Domain: new-level-mechanical
*/

/* Base layout helpers */
.nlm-site {
  min-height: 100vh;
  background: #071a2a;
  color: #ffffff;
}

.nlm-container {
  max-width: 72rem; /* ~1152px */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.nlm-muted { color: rgba(255,255,255,0.80); }
.nlm-muted-70 { color: rgba(255,255,255,0.70); }
.nlm-muted-60 { color: rgba(255,255,255,0.60); }

/* Header */
.nlm-header-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 26, 42, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.nlm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
  gap: 1rem;
}

.nlm-brand-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nlm-logo img {
  border-radius: 8px;
}

.nlm-brand {
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.1rem;
}

.nlm-nav {
  display: none;
  gap: 1.25rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.80);
}

.nlm-nav a { color: inherit; text-decoration: none; transition: color 0.2s; }
.nlm-nav a:hover { color: #fff; }

@media (min-width: 1024px) {
  .nlm-nav { display: flex; }
}

.nlm-header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nlm-phone {
  display: none;
  font-weight: 600;
  font-size: 1rem;
  margin: 0;
}

.nlm-phone a {
  color: #fff;
  text-decoration: none;
}

.nlm-phone a:hover {
  opacity: 0.9;
}

@media (min-width: 768px) {
  .nlm-phone { display: block; }
}

/* Buttons */
.nlm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  text-decoration: none;
}

.nlm-btn-primary {
  background: #ffffff;
  color: #071a2a;
}

.nlm-btn-primary:hover { opacity: 0.92; }

.nlm-btn-secondary {
  border: 1px solid rgba(255,255,255,0.25);
  color: #ffffff;
}

.nlm-btn-secondary:hover { border-color: rgba(255,255,255,0.40); }

/* Hero */
.nlm-hero {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.nlm-hero-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .nlm-hero-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding-top: 1rem;
  }
}

.nlm-kicker {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.70);
}

.nlm-h1 {
  margin-top: 1rem;
  font-size: 2.25rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
}

@media (min-width: 768px) {
  .nlm-h1 { font-size: 3rem; }
}

.nlm-lead {
  margin-top: 1rem;
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.80);
}

.nlm-cta-row {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .nlm-cta-row { flex-direction: row; }
}

/* Cards */
.nlm-card {
  border-radius: 1.5rem;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  padding: 1.5rem;
}

.nlm-card-tight {
  border-radius: 1.25rem;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.20);
  padding: 1.5rem;
}

.nlm-feature-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .nlm-feature-grid { grid-template-columns: repeat(3, 1fr); }
}

.nlm-feature-title { font-weight: 700; }
.nlm-feature-sub { margin-top: 0.25rem; font-size: 0.85rem; color: rgba(255,255,255,0.60); }

/* Sections */
.nlm-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.nlm-h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nlm-p {
  margin-top: 0.5rem;
  max-width: 42rem;
  color: rgba(255,255,255,0.80);
  line-height: 1.7;
}

.nlm-services-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .nlm-services-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Footer */
.nlm-footer {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.nlm-footer-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
  justify-content: space-between;
  color: rgba(255,255,255,0.70);
}

@media (min-width: 768px) {
  .nlm-footer-row {
    flex-direction: row;
    align-items: center;
  }
}

/* Make core blocks blend into the theme */
.wp-site-blocks { background: transparent; }
.wp-block-site-title a { color: inherit; text-decoration: none; }
.wp-block-site-title a:hover { opacity: 0.92; }
