:root {
    --brand-navy: #0f2241;
    --brand-blue: #0046be;
    --brand-light-gray: #f9fafb;
    --text-main: #374151;
    --border-color: #e5e7eb;
}

/* BASE STYLES */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    scroll-behavior: smooth;
}

.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--brand-light-gray);
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--text-main);
}

main.flex-grow {
    flex: 1 0 auto;
}

/* NAVIGATION */
.nav-container {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-size: 1.875rem;
    font-weight: 900;
    color: var(--brand-navy);
    letter-spacing: -0.02em;
}

.nav-link {
    transition: all 0.2s ease;
    text-decoration: none;
    color: #4b5563;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}

.nav-link:hover { color: var(--brand-blue); }

.nav-link.active {
    color: var(--brand-blue);
    border-bottom-color: var(--brand-blue);
}

/* HERO SECTION */
.hero-section {
    background: linear-gradient(rgba(15, 34, 65, 0.8), rgba(15, 34, 65, 0.8)), 
                url("/assets/images/hero-warehouse.jpg");
    background-size: cover;
    background-position: center;
    color: white;
    padding: clamp(4rem, 10vh, 8rem) 0 clamp(6rem, 12vh, 10rem);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* SERVICE CARDS */
/* Fix Transparency & Stacking */
#side-menu {
    background-color: #ffffff !important;
    opacity: 1 !important;
    display: flex !important;
}

.nav-container {
    background-color: white !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Fix Desktop Layout & Wrapping */
.service-card {
    background: white;
    padding: 2.25rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    border-top: 4px solid #bfdbfe;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0; /* Forces text to wrap */
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--brand-navy);
    margin-bottom: 1rem;
    white-space: normal;
    overflow-wrap: break-word;
}

.service-card p {
    flex-grow: 1;
    white-space: normal;
    word-wrap: break-word;
}

.whitespace-nowrap {
    white-space: nowrap;
}


/* BUTTONS */
.btn-primary {
    background-color: var(--brand-navy);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    font-weight: 700;
}

.btn-hero {
    background-color: var(--brand-blue);
    color: white;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 700;
}

.btn-outline {
    border-bottom: 2px solid white;
    color: white;
    padding: 1rem 0.5rem;
    font-weight: 700;
}

/* FOOTER */
.footer-heading {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--brand-navy);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
}

.footer-list a {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-list li { margin-bottom: 0.75rem; }

.footer-subtext {
    font-size: 10px !important;
    color: #9ca3af;
    display: block;
    margin-top: 6px;
}

@media (max-width: 1279px) {
    .hero-section { padding: 4rem 0 6rem; }
}