/* style.css */

/* Custom Color Variables */
:root {
    --spr-blue: #1b3b6f; /* Dark Blue - Primary Brand Color */
    --spr-yellow: #ffcc00; /* Gold Yellow - Accent Color */
    --spr-teal: #009688; /* Teal - Action/Button Color */
    --text-dark: #333;
    --text-muted: #666;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f8f9fa;
    color: var(--text-dark);
}

/* --- Global Elements & Typography --- */
h1, h2, h3, h4, h5, h6 {
    color: var(--spr-blue);
    font-weight: 700;
}
.btn-primary-spr {
    background-color: var(--spr-teal);
    border-color: var(--spr-teal);
    color: white;
    font-weight: 600;
}
.btn-primary-spr:hover {
    background-color: #00796b;
    border-color: #00796b;
}
.text-spr-accent {
    color: var(--spr-yellow) !important;
}

/* --- Navbar Customization --- */
.navbar {
    background-color: var(--spr-blue) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.navbar-brand { /* Text-based brand name */
    color: var(--spr-yellow) !important;
    font-size: 1.8rem;
    font-weight: 900;
}
.nav-link {
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.nav-link.active {
    background-color: var(--spr-teal) !important;
}
.nav-link:hover, .dropdown-item:hover, .dropdown-item.active {
    background-color: var(--spr-teal) !important;
    color: white !important;
}

/* --- Hero Section (Truck Background FIX) --- */
.hero-section {
    /* *** IMPORTANT: CHANGE THIS URL TO YOUR ACTUAL TRUCK IMAGE PATH *** */
    background: linear-gradient(rgba(27, 59, 111, 0.75), rgba(27, 59, 111, 0.75)), url('/assets/spr_hero_truck.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed; 
    min-height: 600px;
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--spr-yellow);
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}

/* --- Tracking Form (Lifted) --- */
.tracking-form {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    padding: 35px;
    transform: translateY(50%);
    position: relative;
    z-index: 10;
}

/* --- Features and Cards --- */
.features-section {
    padding-top: 120px;
    padding-bottom: 80px;
    background-color: #f8f9fa;
}
.section-title {
    color: var(--spr-blue);
    font-weight: 900;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}
.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    height: 4px;
    width: 80px;
    background-color: var(--spr-yellow);
    border-radius: 2px;
}
.feature-box {
    padding: 30px;
    border-radius: 12px;
    border-bottom: 6px solid var(--spr-yellow);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    text-align: center;
    background-color: white;
}
.feature-box i {
    font-size: 3.5rem;
    color: var(--spr-teal);
    margin-bottom: 20px;
}

/* --- Branch Page Specific Styles --- */
.branch-card {
    border-left: 5px solid var(--spr-yellow);
}

/* --- Call to Action Section & Footer --- */
.cta-section {
    background-color: var(--spr-blue);
    color: white;
    padding: 60px 0;
    text-align: center;
}
footer {
    background-color: #222;
    color: white;
    padding: 30px 0;
    margin-top: 50px;
}
footer a {
    color: var(--spr-yellow);
    text-decoration: none;
}