/* banner section */
.modelBanner {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modelBanner h1 {
    font-size: 50px;
    margin: 0;
    position: relative;
}

.modelBanner h1::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--text);
}

/* model specs section */
.modelSpecs {
    padding: 30px;
}

.modelSpecs h1 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 20px;
}

.specsDetails {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    text-align: left;
    justify-items: start;
}

.specsDetails p {
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 5px;
}

.specsDetails p:last-child {
    margin-bottom: 0;
}

.specsDetails p i {
    margin-right: 5px;
}

.price {
    font-size: 16px;
    font-weight: 300;
    margin-top: 15px;
    margin-bottom: 0;
    display: none;
}

/* model floorplan section */
.modelFloorplan {
    padding: 0px;
    background-color: var(--sectionLight);
}

.modelFloorplan img {
    width: 100%;
}

/* model features section */
.modelFeatures {
    background-color: var(--sectionDark);
    padding: 30px;
}

.modelFeatures h1 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 20px;
}

.modelFeatures ul {
    margin-bottom: 0;
    list-style: none;
}

.modelFeatures ul li {
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 10px;
    display: flex;
    align-items: start;
}

.modelFeatures ul li::before {
    content: '•';
    margin-right: 10px;
}

.modelFeatures ul li:last-child {
    margin-bottom: 0;
}

/* model gallery section */
.modelGallery {
    padding: 30px;
    background-color: var(--sectionLight);
}

.modelGallery img {
    width: 100%;
    margin-bottom: 30px;
}

.modelGallery img:last-child {
    margin-bottom: 0;
}

/* model contact section */
.modelContact {
    padding: 30px;
    text-align: center;
    background-color: var(--sectionDark);
}

.modelContact p {
    font-size: 18px;
    font-weight: 500;
}

.modelContact a {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    background-color: transparent;
    border: 2px solid var(--text); /* Border color */
    border-radius: 25px; /* Adjust this value for the button's roundness */
    color: var(--text); /* Text color */
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
  
.modelContact a:hover {
    background-color: var(--yellow); /* Background color on hover */
    border: 2px solid var(--yellow) !important; /* Border color */
    color: #fff; /* Text color on hover */
    transform: scale(1.05); /* Scale the button on hover for a cool animation */
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {

    .modelBanner {
        height: 300px;
    }

	.modelSpecs,
    .modelFloorplan,
    .modelFeatures,
    .modelGallery,
    .modelContact {
        padding: 40px 100px;
    }

}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 1024px) {
    
    .modelSpecs,
    .modelFloorplan,
    .modelFeatures,
    .modelGallery,
    .modelContact {
        padding: 50px 200px;
    }

    .modelGallery {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-content: space-between;
        gap: 20px;
    }

    .modelGallery img {
        width: 100%;
        margin-bottom: 0;
    }

}

/* Extra large devices (large laptops) */
@media only screen and (min-width: 1440px) {

    .modelBanner {
        height: 350px;
    }

    .modelSpecs,
    .modelFloorplan,
    .modelFeatures,
    .modelGallery,
    .modelContact {
        padding: 60px 400px;
    }

}

/* Extra large devices (Desktops) */
@media only screen and (min-width: 1920px) {

    .modelBanner {
        height: 400px;
    }

    .modelSpecs,
    .modelFloorplan,
    .modelFeatures,
    .modelGallery,
    .modelContact {
        padding: 60px 500px;
    }

    .modelSpecs p,
    .specsDetails p,
    .modelFeatures ul li,
    .modelContact p,
    .modelContact a {
        font-size: 20px;
    }

    .modelSpecs h1,
    .modelFeatures h1 {
        font-size: 40px;
    }

}

/* Extra large devices (Large Desktops) */
@media only screen and (min-width: 2560px) {

    .modelBanner {
        height: 500px;
    }

    .modelGallery,
    .modelContact {
        padding: 60px 600px;
    }

    .modelSpecs,
    .modelFeatures,
    .modelFloorplan {
        padding: 60px 800px;
    }

}