/* ============================================================
   Lee's Pro Transport LLC — Shared Stylesheet v2
   REPLACE the old styles.css on the server with this file.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@500;600;700&display=swap');

/* ── VARIABLES ── */
:root {
    --primary:      #1b4d3e;
    --primary-dark: #123329;
    --accent:       #2e8b57;
    --light-green:  #e8f5e9;
    --text-main:    #1f2937;
    --text-muted:   #6b7280;
    --bg-body:      #f9fafb;
    --white:        #ffffff;
    --radius:       12px;
    --shadow-sm:    0 1px 2px 0 rgba(0,0,0,.05);
    --shadow-md:    0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
    --shadow-lg:    0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
}

/* ── HARD RESET ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', Arial, sans-serif;
    background-color: var(--bg-body) !important;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

ul  { list-style: none; }
img { max-width: 100%; display: block; }

a {
    text-decoration: none !important;
    transition: all 0.2s ease;
    color: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', Arial, sans-serif;
    color: var(--text-main);
    line-height: 1.2;
}

/* Neutralize the old stylesheet's "main" box */
main {
    padding: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    background: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    animation: none !important;
}

/* Kill old fadeIn flash */
@keyframes fadeIn { from { opacity: 1; } to { opacity: 1; } }

/* ── HEADER ── */
header {
    background-color: var(--white) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid #e5e7eb;
    padding: 0 !important;
    text-align: left !important;
    color: var(--text-main) !important;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-area img { height: 55px; width: auto; }

.logo-text h1 {
    font-size: 1.25rem !important;
    font-weight: 700;
    color: var(--primary) !important;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    font-family: 'Poppins', Arial, sans-serif;
}

.logo-text span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted) !important;
    font-weight: 500;
}

/* ── NAV ── */
nav {
    display: flex !important;
    gap: 5px;
    background: var(--bg-body) !important;
    padding: 5px !important;
    border-radius: 50px !important;
    border: 1px solid #e5e7eb !important;
    /* Override old sticky green nav */
    position: static !important;
    top: auto !important;
    z-index: auto !important;
    box-shadow: none !important;
    flex-wrap: wrap;
    justify-content: flex-end;
}

nav a {
    color: var(--text-main) !important;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px !important;
    border-radius: 50px !important;
    margin: 0 !important;
    background: transparent;
    display: inline-block;
    text-decoration: none !important;
}

nav a:hover {
    color: var(--primary) !important;
    background-color: var(--white) !important;
    box-shadow: var(--shadow-sm);
}

nav a.active {
    background-color: var(--primary) !important;
    color: var(--white) !important;
    box-shadow: var(--shadow-md);
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
    position: relative;
    background: linear-gradient(rgba(18,51,41,.9), rgba(18,51,41,.8)), url('Designer.png');
    background-size: cover !important;
    background-position: center !important;
    padding: 70px 20px;
    text-align: center;
    color: white;
}

.page-hero h2 {
    font-size: 2.5rem;
    color: white !important;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 1.1rem;
    color: #d1d5db !important;
    max-width: 700px;
    margin: 0 auto;
}

/* ── SECTIONS ── */
.section  { padding: 70px 20px; }
.bg-white { background-color: var(--white) !important; }
.bg-light { background-color: var(--bg-body) !important; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.section-header {
    margin-bottom: 45px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ── BADGE ── */
.badge {
    display: inline-block;
    background-color: var(--light-green);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title    { font-size: 2rem; margin-bottom: 10px; }
.section-subtitle { font-size: 1rem; color: var(--text-muted); }

/* ── BUTTONS ── */
.btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    font-family: 'Inter', Arial, sans-serif;
    text-decoration: none !important;
}

.btn-primary {
    background-color: #2ecc71 !important;
    color: #0c3322 !important;
    box-shadow: 0 4px 15px rgba(46,204,113,.4);
}
.btn-primary:hover {
    background-color: #27ae60 !important;
    transform: translateY(-2px);
    color: #0c3322 !important;
}

.btn-outline {
    background: transparent !important;
    border: 2px solid rgba(255,255,255,.6) !important;
    color: var(--white) !important;
}
.btn-outline:hover {
    border-color: var(--white) !important;
    background: rgba(255,255,255,.15) !important;
    color: var(--white) !important;
}

/* ── SERVICE CARDS ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    border: 1px solid #f3f4f6;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: #a7f3d0;
}

.icon-wrapper {
    width: 50px;
    height: 50px;
    background-color: var(--light-green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.service-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.service-card p  { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; flex-grow: 1; }

.service-footer {
    border-top: 1px solid #f3f4f6;
    padding-top: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
}

/* ── CTA BOX ── */
.cta-box {
    background: var(--primary) !important;
    border-radius: 20px;
    padding: 45px 40px;
    text-align: center;
    color: white;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-lg);
}

.cta-box h3 { color: white !important; font-size: 1.5rem; margin-bottom: 5px; }
.cta-box p  { color: #a7f3d0 !important; margin-bottom: 10px; }

.cta-link {
    background: white !important;
    color: var(--primary) !important;
    padding: 13px 28px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    margin: 5px;
    transition: all 0.2s ease;
    text-decoration: none !important;
}
.cta-link:hover { background: #f0fdf4 !important; transform: scale(1.02); }

.cta-link-outline {
    background: transparent !important;
    border: 2px solid white !important;
    color: white !important;
    padding: 13px 28px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    margin: 5px;
    transition: all 0.2s ease;
    text-decoration: none !important;
}
.cta-link-outline:hover { background: rgba(255,255,255,.12) !important; transform: scale(1.02); }

/* ── FOOTER ── */
footer {
    background-color: #111827 !important;
    color: #9ca3af !important;
    padding: 60px 20px 30px !important;
    font-size: 0.9rem;
    /* Override old fixed footer */
    position: static !important;
    width: auto !important;
    bottom: auto !important;
    text-align: left !important;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    border-bottom: 1px solid #374151;
    padding-bottom: 40px;
    margin-bottom: 20px;
}

.footer-brand h4  { color: white !important; font-size: 1.2rem; margin-bottom: 15px; }
.footer-contact p { margin-bottom: 8px; color: #9ca3af; }
.footer-contact a { color: #fff !important; opacity: 0.8; }
.footer-contact a:hover { opacity: 1; color: #4ade80 !important; }

.footer-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #9ca3af;
}
.footer-right p:last-child { opacity: 0.6; }

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    font-size: 0.8rem;
    color: #6b7280;
}

/* ── BACK TO TOP ── */
#back-to-top {
    position: fixed !important;
    bottom: 25px !important;
    right: 25px !important;
    background-color: var(--primary) !important;
    color: white !important;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,.3);
    display: none;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
    z-index: 999;
}
#back-to-top:hover {
    transform: translateY(-3px);
    background-color: var(--accent) !important;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .services-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    nav {
        width: 100%;
        justify-content: center;
    }
    .page-hero h2 { font-size: 1.8rem; }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-right { text-align: center; }
    .cta-box { padding: 30px 20px; }
}

@media (max-width: 500px) {
    .services-grid { grid-template-columns: 1fr; }
}
