/*
Theme Name: Inmate.com
Theme URI: https://inmate.com-mn.co
Author: Arafat Haider Akash
Author URI: https://arafatthaiderakash.netlify.app
Description: Custom WordPress theme for Inmate.com. Secure storage and support services for incarcerated individuals in Minnesota.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Private
Text Domain: inmate-com
Tags: dark, single-page, business
*/

/* ============================================================
   IMPORTS & VARIABLES
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600;700&family=Source+Serif+4:wght@300;400;600&family=Inter:wght@300;400;500&display=swap');

:root {
  --navy: #080D1A;
  --navy-mid: #0F1829;
  --steel: #1A2E4A;
  --orange: #E8501A;
  --orange-light: #FF6B35;
  --gold: #C8972A;
  --cream: #F2EDE4;
  --grey: #8A96A3;
  --white: #FFFFFF;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--cream);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================================================
   NAV
   ============================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: rgba(8,13,26,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232,80,26,0.15);
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { height: 44px; object-fit: contain; }
.nav-site-name {
  font-family: 'Oswald', sans-serif;
  font-size: 14px; font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.2;
}
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  color: var(--grey); text-decoration: none;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--orange-light); }
.nav-cta {
  background: var(--orange); color: var(--white) !important;
  padding: 10px 24px; border-radius: 4px; font-weight: 600 !important;
}
.nav-cta:hover { background: var(--orange-light); color: var(--white) !important; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  padding: 120px 48px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 60% 40%, rgba(26,46,74,0.6) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(232,80,26,0.08) 0%, transparent 60%);
}
.hero-texture {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cellipse cx='20' cy='20' rx='14' ry='8' fill='none' stroke='%23ffffff' stroke-width='2'/%3E%3Cellipse cx='40' cy='40' rx='14' ry='8' fill='none' stroke='%23ffffff' stroke-width='2'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}
.hero-content { position: relative; max-width: 700px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--orange-light); margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: ''; display: block; width: 32px; height: 2px; background: var(--orange-light);
}
.hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 700; line-height: 1.0;
  letter-spacing: -0.01em; text-transform: uppercase;
  color: var(--white); margin-bottom: 8px;
}
.hero h1 span { color: var(--orange-light); font-style: italic; }
.hero-sub {
  font-family: 'Source Serif 4', serif;
  font-size: 20px; font-weight: 300; color: var(--grey);
  max-width: 520px; margin: 24px 0 40px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--orange); color: var(--white);
  text-decoration: none; padding: 16px 36px;
  font-family: 'Oswald', sans-serif;
  font-size: 16px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; border-radius: 4px;
  transition: background 0.2s, transform 0.2s; display: inline-block;
}
.btn-primary:hover { background: var(--orange-light); transform: translateY(-2px); }
.btn-ghost {
  color: var(--cream); text-decoration: none; padding: 16px 36px;
  font-family: 'Oswald', sans-serif;
  font-size: 16px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px; transition: border-color 0.2s, color 0.2s; display: inline-block;
}
.btn-ghost:hover { border-color: var(--orange-light); color: var(--orange-light); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(232,80,26,0.12); border: 1px solid rgba(232,80,26,0.3);
  color: var(--orange-light); padding: 6px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; margin-left: 8px;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 20px 48px;
  display: flex; align-items: center; gap: 48px; overflow-x: auto;
}
.trust-label {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--grey); white-space: nowrap; flex-shrink: 0;
}
.trust-items { display: flex; gap: 48px; align-items: center; flex-wrap: wrap; }
.trust-item {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.5); font-size: 13px; font-weight: 500; white-space: nowrap;
}
.trust-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }

/* ============================================================
   SHARED SECTION STYLES
   ============================================================ */
section { padding: 96px 48px; }
.section-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 16px;
}
.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700; line-height: 1.05;
  text-transform: uppercase; color: var(--white); margin-bottom: 20px;
}
.section-body {
  font-family: 'Source Serif 4', serif;
  font-size: 17px; font-weight: 300; color: var(--grey);
  max-width: 560px; line-height: 1.8;
}
.max-w { max-width: 1180px; margin: 0 auto; }

/* ============================================================
   SERVICES
   ============================================================ */
#services { background: var(--navy-mid); }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px; margin-top: 56px; border: 1px solid rgba(255,255,255,0.06);
}
.service-card {
  background: var(--navy); padding: 40px 36px;
  border: 1px solid rgba(255,255,255,0.04);
  transition: background 0.2s, border-color 0.2s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.service-card:hover { background: var(--steel); border-color: rgba(232,80,26,0.2); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { font-size: 32px; margin-bottom: 20px; display: block; }
.service-card h3 {
  font-family: 'Oswald', sans-serif; font-size: 22px; font-weight: 600;
  color: var(--white); text-transform: uppercase; margin-bottom: 12px; letter-spacing: 0.02em;
}
.service-card p { font-size: 14px; color: var(--grey); line-height: 1.7; }

/* ============================================================
   ABOUT
   ============================================================ */
#about { background: var(--navy); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center; margin-top: 16px;
}
.about-img-wrap { position: relative; }
.about-img-wrap img {
  width: 100%; max-width: 420px; object-fit: cover;
  display: block; filter: grayscale(20%) contrast(1.05); border-radius: 2px;
}
.about-name-tag {
  position: absolute; bottom: 24px; left: 24px;
  background: rgba(8,13,26,0.92); backdrop-filter: blur(8px);
  border-left: 3px solid var(--orange); padding: 12px 20px;
}
.about-name-tag strong {
  display: block; font-family: 'Oswald', sans-serif; font-size: 18px; font-weight: 600;
  color: var(--white); text-transform: uppercase;
}
.about-name-tag span { font-size: 12px; color: var(--orange-light); letter-spacing: 0.06em; text-transform: uppercase; }
.about-text ul { list-style: none; margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.about-text ul li {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 15px; color: var(--grey); line-height: 1.6;
}
.about-text ul li::before { content: '→'; color: var(--orange); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ============================================================
   CONTACT
   ============================================================ */
#contact { background: var(--navy); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; margin-top: 56px; align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  width: 48px; height: 48px;
  background: rgba(232,80,26,0.08); border: 1px solid rgba(232,80,26,0.2);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background 0.2s, border-color 0.2s;
}
.contact-icon:hover { background: rgba(232,80,26,0.18); border-color: rgba(232,80,26,0.5); }
.contact-item-text strong {
  display: block; font-size: 13px; font-weight: 600; color: var(--orange-light);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px;
}
.contact-item-text span { font-size: 15px; color: var(--cream); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  background: var(--navy-mid); border: 1px solid rgba(255,255,255,0.1);
  color: var(--cream); padding: 14px 18px;
  font-family: 'Inter', sans-serif; font-size: 14px;
  border-radius: 4px; outline: none; width: 100%; transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { border-color: var(--orange); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form select option { background: var(--navy-mid); }
.contact-form label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--grey); display: block; margin-bottom: 6px;
}
.form-field { display: flex; flex-direction: column; }
.contact-form .btn-primary { align-self: flex-start; cursor: pointer; border: none; font-size: 15px; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #050810;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 48px 48px 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand img { height: 48px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--grey); line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  font-family: 'Oswald', sans-serif; font-size: 14px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: var(--grey); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--orange-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px; display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 12px; color: var(--grey); }
.footer-bottom a { color: var(--orange-light); text-decoration: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  nav { padding: 16px 24px; }
  .nav-links { display: none; }
  section { padding: 72px 24px; }
  .hero { padding: 100px 24px 60px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-img-wrap img { max-width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; align-items: center; }
  .footer-bottom p { font-size: 13px; line-height: 1.6; }
  .trust-bar { padding: 16px 24px; }
  .form-row { grid-template-columns: 1fr; }
}
