/*
Theme Name: High Desert Laser Works Multi-Page (Email Buttons)
Theme URI: https://highdesertlaserworks.com
Author: High Desert Laser Works
Description: Custom multi-page WordPress theme for High Desert Laser Works with global email buttons.
Version: 1.1
Text Domain: hdlw
*/

:root {
  --bg: #050816;
  --bg-alt: #0b1020;
  --card: #101629;
  --accent: #f59e0b;
  --accent-soft: rgba(245, 158, 11, 0.1);
  --text: #f9fafb;
  --muted: #9ca3af;
  --border: #1f2933;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, #1f2937 0, transparent 55%),
    radial-gradient(circle at bottom right, #f59e0b22 0, transparent 55%),
    var(--bg);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(5, 8, 22, 0.95), rgba(5, 8, 22, 0.8));
  border-bottom: 1px solid rgba(15,23,42,0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-logo {
  height: 52px;
  width: auto;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.brand-text-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.brand-text-name {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.9rem;
}

.main-nav a {
  color: var(--muted);
  padding-bottom: 0.1rem;
  position: relative;
}

.main-nav a:hover {
  color: var(--text);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #f59e0b, #f97316);
  border-radius: 999px;
  transition: width 0.2s ease;
}

.main-nav a:hover::after,
.main-nav .current-menu-item > a::after {
  width: 100%;
}

.main-nav .current-menu-item > a {
  color: var(--text);
}

.menu-toggle {
  display: none;
  border: 1px solid #374151;
  background: rgba(15,23,42,0.95);
  color: var(--text);
  border-radius: 0.7rem;
  padding: 0.45rem 0.7rem;
  font-size: 0.8rem;
}

.header-email-btn {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.9);
  font-size: 0.8rem;
  color: var(--text);
  background: rgba(15,23,42,0.96);
  white-space: nowrap;
}

.header-email-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #111827;
}

.main {
  padding-bottom: 4rem;
}

.hero {
  padding: 3.4rem 0 2.3rem;
  display: grid;
  grid-template-columns: minmax(0, 3.2fr) minmax(0, 2.5fr);
  gap: 2.4rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(55, 65, 81, 0.8);
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.eyebrow-pill {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #fbbf24, #f97316);
  box-shadow: 0 0 0 6px rgba(248,181,36,0.25);
}

.hero h1 {
  font-size: clamp(2.35rem, 3.2vw + 1.6rem, 3.6rem);
  line-height: 1.05;
  margin: 0 0 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
  background: linear-gradient(120deg, #fef9c3, #facc15, #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 32rem;
  font-size: 0.98rem;
  color: var(--muted);
  margin-bottom: 1.6rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.9rem;
  font-size: 0.78rem;
}

.hero-badge {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(75, 85, 99, 0.9);
  background: rgba(15, 23, 42, 0.95);
  color: var(--muted);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 0.6rem;
}

.hero-email-cta {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-email-cta a {
  text-decoration: underline;
}

.btn-primary {
  padding: 0.85rem 1.55rem;
  border-radius: 999px;
  border: none;
  background: radial-gradient(circle at 0% 0%, #fef9c3 0, #f59e0b 40%, #f97316 100%);
  color: #111827;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
}

.btn-outline {
  padding: 0.82rem 1.35rem;
  border-radius: 999px;
  border: 1px solid rgba(75,85,99,1);
  background: transparent;
  color: var(--text);
  font-size: 0.9rem;
  cursor: pointer;
}

.hero-note {
  font-size: 0.78rem;
  color: var(--muted);
}

.hero-note span {
  color: #fbbf24;
  font-weight: 500;
}

.hero-right {
  position: relative;
}

.hero-card {
  border-radius: 1.1rem;
  border: 1px solid rgba(55,65,81,0.85);
  background: radial-gradient(circle at 0% 0%, rgba(248, 181, 36, 0.12), transparent 50%), var(--bg-alt);
  padding: 1.3rem 1.2rem 1.4rem;
  box-shadow: 0 18px 45px rgba(0,0,0,0.55);
}

.hero-card h2 {
  margin: 0 0 0.6rem;
  font-size: 1rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}

.metric {
  padding: 0.45rem 0.5rem;
  border-radius: 0.8rem;
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(31,41,55,0.9);
  font-size: 0.78rem;
}

.metric strong {
  display: block;
  margin-bottom: 0.1rem;
}

.section {
  padding: 2.4rem 0 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.section-heading h2 {
  margin: 0;
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
  max-width: 26rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.1rem;
}

.card {
  border-radius: 1.1rem;
  padding: 1.1rem 1.1rem 1.2rem;
  background: rgba(15,23,42,0.94);
  border: 1px solid rgba(31,41,55,0.95);
  box-shadow: 0 12px 28px rgba(0,0,0,0.5);
  font-size: 0.84rem;
}

.card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.card p {
  margin: 0 0 0.6rem;
  color: var(--muted);
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.card ul li {
  margin-bottom: 0.18rem;
  padding-left: 0.9rem;
  position: relative;
}

.card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.content-area {
  padding: 2.4rem 0 0;
}

.page-header {
  margin-bottom: 1.5rem;
}

.page-title {
  font-size: 1.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.4rem;
}

.page-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
}

.entry-content {
  max-width: 760px;
}

.entry-content p {
  line-height: 1.7;
  color: var(--muted);
}

.entry-content h2,
.entry-content h3 {
  margin-top: 1.6rem;
}

.contact-card {
  border-radius: 1.1rem;
  border: 1px solid rgba(31,41,55,0.95);
  background: rgba(10,15,30,0.96);
  box-shadow: 0 16px 38px rgba(0,0,0,0.6);
  padding: 1.4rem 1.4rem 1.6rem;
  margin-top: 1rem;
}

.contact-card form label {
  font-size: 0.78rem;
  color: var(--muted);
  display: block;
  margin-bottom: 0.15rem;
}

.contact-card form input,
.contact-card form textarea {
  width: 100%;
  border-radius: 0.7rem;
  border: 1px solid rgba(55,65,81,0.95);
  background: rgba(15,23,42,0.96);
  padding: 0.55rem 0.7rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.82rem;
  margin-bottom: 0.7rem;
}

.contact-card form textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-extra-email {
  margin-top: 0.8rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid rgba(15,23,42,0.95);
  margin-top: 3rem;
  padding: 1.3rem 0 2.2rem;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

.site-footer a {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 2.6rem;
  }
  .hero-right {
    order: -1;
  }
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 720px) {
  .main-nav {
    display: none;
  }
  .menu-toggle {
    display: inline-block;
  }
  .cards-grid {
    grid-template-columns: minmax(0,1fr);
  }
  .header-right {
    gap: 0.6rem;
  }
  .header-email-btn {
    padding: 0.4rem 0.7rem;
    font-size: 0.78rem;
  }
}
