:root {
    --primary-red: #E53E3E;
    --navy-blue: #1A365D;
    --text-gray: #4A5568;
    --light-gray: #F7FAFC;
    --border-gray: #E2E8F0;
    --dark-blue: #2D3748;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-gray);
}

/* Header */
.navbar {
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--navy-blue) !important;
}

.navbar-nav .nav-link {
    color: var(--navy-blue) !important;
    font-weight: 500;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-red) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('images/residential-hero.png');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    color: white;
    margin-top: 76px;
    position: relative;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 400;
    background: var(--primary-red);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.6;
}

.btn-primary-red {
    background-color: var(--primary-red);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-red:hover {
    background-color: #C53030;
    transform: translateY(-2px);
    color: white;
}

/* Main Content */
.main-content {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

/* Service Cards */
.service-card {
    background: var(--light-gray);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
    border: 1px solid var(--border-gray);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--navy-blue);
}

/* How It Works Section */
.how-it-works {
    background: var(--light-gray);
    padding: 4rem 0;
}

.how-it-works .row {
    display: flex;
    align-items: stretch;
}

.step-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    background: var(--primary-red);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.step-description {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Commercial Services */
.commercial-services {
    background: var(--light-gray);
    padding: 4rem 0;
}

.services-list {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-gray);
    display: flex;
    align-items: center;
}

.service-item:last-child {
    border-bottom: none;
}

.service-item i {
    color: var(--navy-blue);
    font-size: 1.5rem;
    margin-right: 1rem;
    width: 30px;
}

.service-item span {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--navy-blue);
}

/* Reviews Section */
.reviews-section {
    padding: 4rem 0;
    background: white;
}

.review-card {
    background: var(--light-gray);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stars {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-text {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-style: italic;
    line-height: 1.6;
}

.review-author {
    font-weight: 600;
    color: var(--navy-blue);
}

/* Photo Gallery Styles */
.photo-gallery {
    background: white;
    padding: 4rem 0;
}

.gallery-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.05);
}

.owl-carousel .item {
    padding: 0 10px;
}

.owl-nav button {
    background: var(--primary-red) !important;
    color: white !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    font-size: 18px !important;
}

.owl-dots .owl-dot span {
    background: var(--primary-red) !important;
}

@media (max-width: 768px) {
    .gallery-image {
        height: 200px;
    }
}

/* Footer */
.footer {
    background: var(--navy-blue);
    color: white;
    padding: 3rem 0 2rem;
}

.footer h5 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer a {
    color: #CBD5E0;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 0.5rem;
}

.footer a:hover {
    color: white;
}

.footer p {
    color: #CBD5E0;
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .navbar-nav .nav-link {
        margin: 0 0.5rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-card,
    .step-card,
    .review-card {
        padding: 1.5rem;
    }

    .hero-section {
        height: 50vh;
    }

    .quote-box {
        margin-top: 2rem;
    }

    .btn-primary-red {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .service-item {
        padding: 0.8rem 0;
    }
}