/* Custom Branding for Northridge Facility Services */

:root {
    --primary-blue: #35383b;    /* Deep Professional Navy */
    --accent-blue: #28a745;     /* Brighter Blue for Links/Buttons */
    --industrial-gray: #4a4a4a; /* Slate for text and secondary elements */
    --light-bg: #f8f9fa;        /* Light Gray for sections */
    --white: #ffffff;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--industrial-gray);
    line-height: 1.6;
}

/* Navbar Customization */
.navbar {
    background-color: var(--primary-blue) !important;
    border-bottom: 3px solid var(--accent-blue);
}

.navbar-brand {
    letter-spacing: 1px;
    font-weight: 700;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(10, 46, 92, 0.8), rgba(10, 46, 92, 0.8)), 
                url('../images/hero-bg.jpg') no-repeat center center;
    background-size: cover;
    color: var(--white);
    padding: 120px 0;
}

.btn-primary {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Service Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card-title {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 15px;
}

/* Section Headings */
h2 {
    color: var(--primary-blue);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background-color: var(--accent-blue);
}

.text-center h2::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Service List Styling */
ul {
    padding-left: 1.2rem;
}

ul li {
    margin-bottom: 8px;
}

/* Footer */
footer {
    background-color: #1a1a1a !important;
    border-top: 5px solid var(--primary-blue);
}

.text-primary {
    color: var(--primary-blue) !important; /* Uses your deep navy from the style.css we made */
}

.card i {
    transition: transform 0.3s ease;
}

.card:hover i {
    transform: scale(1.1); /* Icons grow slightly when the card is hovered */
}

/* Custom Green for Northridge Font Awesome Icons */
.fa-screwdriver-wrench,
.fa-bucket,
.fa-trowel-bricks,
.fa-circle-check,
.fa-check {
    color: #28a745 !important; /* Use the exact green from image_4.png */
}

/* Northridge Branding - Logo Green */
.icon-green {
    color: #28a745 !important; /* The exact green from your logo */
}

/* Optional: Make them grow slightly when you hover over a card */
.card:hover .icon-green {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Hero Carousel Image Handling */
.hero-img {
    height: 600px; /* Standard height for Desktop */
    width: 100%;
    object-fit: cover; /* Keeps image from stretching */
    object-position: center; /* Keeps the center of the photo visible */
}

.carousel-item {
    position: relative;
}

/* Dark overlay so text is readable */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* 50% dark overlay */
    z-index: 1;
}

.carousel-caption {
    z-index: 2; /* Keeps text above the overlay */
}

/* Adjust height for Tablets/Mobile so the images don't look too thin */
@media (max-width: 992px) {
    .hero-img {
        height: 450px;
    }
}

@media (max-width: 576px) {
    .hero-img {
        height: 350px;
    }
}