
/* Hero Section Styles */
.hero-section {
    position: relative;
    background-image: url("../images/houses.jpg");
    background-repeat: no-repeat;
    background-position: center;    
    background-size: cover;
    background-color: #ffffff;
    height: 450px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: baseline;
    margin-bottom: 50px;
    border-bottom: 1px solid var(--light-blue);
    box-shadow: 0px 4px 8px #efefef;
    width: 100%;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(42, 37, 37, 0.55);
    z-index: 1;
}

.hero-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: baseline;
    justify-content: flex-start;
    padding: 10px 100px;
    position: relative;
    z-index: 2;
    color: white;
}

.hero-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 20px;
}

.hero-logo {
    width: 250px
}

.hero-header h1 {
    font-size: 2.9em;
    font-weight: 700;
    margin-left: 14px;
    transform: translateY(9px);
}

.hero-content p {
    font-size: 1.3em;
    margin-bottom: 20px;
}

@media (max-width: 768px) {

    .hero-section {
        height: 400px;
        justify-content: center;
    }

    .hero-content {
        text-align: center;
        align-items: center;
        padding: 10px 20px;
    }
    
    .hero-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 40px;
    }

    .hero-header h1 {
        font-size: 1.8em;
        font-weight: 700;
    }

    .hero-header h1 span{
        display: none;
    }

}

/* Page title */
.page-title-section {
    background-repeat: no-repeat;
    background-position: top;    
    background-size: auto;
    background-color: var(--light-blue);
    height: 250px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--light-blue);
    box-shadow: 0px 4px 8px #efefef;
    display: flex;
    justify-content: center;
}

.page-title-content {
    width: 100%;
    transform: translateY(0px);
    color: white;
    padding: 0px 50px;
}

.page-title-image {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}

.page-title-icon {
    width: 100%;
    height: 100%;
}

.page-title-icon path {
    fill: white;
}

.page-title-header {
    margin-bottom: 10px;
}

.page-title-header h1 {
    font-size: 2.9em;
    font-weight: 700;
}

.page-title-content p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .page-title-content {
        padding: 0px 20px;
    }

    .page-title-header h1 {
        font-size: 2.2em;
    }

    .page-title-content p {
        font-size: 1em;
    }
}