/*
  Fort Liberty Lawn — Custom build maintained in-house.
  No outsourced agencies. No retainers. No template lock-in.
  Priorities: performance, security, clarity, and cost discipline.
*/
/* 
  Site architecture, layout system, and styling
  designed and implemented in-house by Fort Liberty Lawn.
  No third-party agency templates.
  No licensed UI frameworks.
  No outsourced design vendors.
*/

/* ================================
   Global layout + typography
   ================================ */

html, body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    background: #050816; /* Dark outer background */
    color: #e5e7eb;
}

/* Smooth section spacing */
.section {
    padding: 80px 0;
}

/* Headings */
h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: 0.02em;
}

p.lead {
    font-size: 1.1rem;
    font-weight: 400;
}

/* ================================
   NAVBAR – tight + clean
   ================================ */

body nav.navbar {
    background-color: #050816 !important; /* override any inline bg-dark */
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

body nav.navbar .navbar-brand {
    color: #f9fafb !important;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

body nav.navbar .navbar-brand:hover {
    color: #ffffff !important;
}

body .navbar-nav {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

body .navbar-nav .nav-link {
    color: rgba(226, 232, 240, 0.85) !important;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    text-decoration: none;
}

body .navbar-nav .nav-link:hover {
    color: #ffffff !important;
}

/* ================================
   HERO
   ================================ */

header {
    position: relative;
    margin-top: 0;
}

/* Dark gradient overlay for readability */
header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(3, 7, 18, 0.75),
        rgba(15, 23, 42, 0.55)
    );
    z-index: 1;
}

/* Hero content above overlay */
header > div {
    position: relative;
    z-index: 2;
}

header .display-4 {
    font-size: 2.7rem;
}

header .lead {
    font-size: 1.1rem;
}

/* ================================
   CARD / BOXED PAGE LAYOUT
   Modern panel-style sections
   ================================ */

/* Outer page gradient under the cards */
body.bg-light {
    background: radial-gradient(circle at top, #111827 0, #020617 45%, #020617 100%);
}

/* Turn each section’s container into a card */
.section .container {
    max-width: 1100px;
    margin: 0 auto;
    background: #ffffff;
    color: #111827;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
    padding: 3rem 3.5rem;
}

/* Variation for the dark CTA section */
.section.bg-dark .container,
.section.text-white.bg-dark .container {
    background: linear-gradient(135deg, #020617, #111827);
    color: #f9fafb;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.7);
}

/* Keep centered text in CTA */
.section.bg-dark .container p,
.section.bg-dark .container h2 {
    color: inherit;
}

/* Tighter content width for long text blocks */
.section .container .row,
.section .container > .text-center {
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}

/* ================================
   Buttons
   ================================ */

.btn-primary {
    background-color: #2563eb;
    border-color: #2563eb;
    font-weight: 600;
    padding: 0.6rem 1.8rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
}

/* ================================
   Reviews + Lists spacing
   ================================ */

.section h2 {
    margin-bottom: 0.75rem;
}

.section p.lead {
    margin-bottom: 2.5rem;
}

.section .p-4 {
    text-align: left;
}

/* “Proudly Serving” list alignment */
.section .row.g-4.justify-content-center .p-4 {
    text-align: left;
}

/* ================================
   Footer + In-house credit
   ================================ */

footer {
    background: transparent;
    color: rgba(148, 163, 184, 0.9);
    font-size: 0.8rem;
}

footer p {
    margin: 0;
}

/* Use this if you add the “Built in-house…” line in the footer */
.site-credit {
    margin-top: 0.35rem;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    opacity: 0.9;
}
