@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');


* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    margin-top: 0;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    transition: background-image 1.5s ease-in-out;
}

/* ================================================= */
/* navbar section */
.nav {
    background-color: rgba(255, 193, 6, 0.8);
}

.nav > a {
    color: rgb(0, 0, 0);
    transition: scale 0.1s ease;
    font-size: larger;
}

.nav > a:hover {
    scale: 1.1;
    color: rgb(0, 0, 0);
}


/* ================================================= */
/* "back-to-top" floating side button */
#back-to-top {
    position: fixed;
    right: 5%;
    background-color: rgba(235, 235, 235, 0.8);
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    border: none;
    border-radius: 5px;
    border: 2px solid rgba(134, 8, 8, 0.5);
    box-shadow: 0 0 5px 3px rgba(250, 250, 250, 0.6);
    z-index: 1000;
    opacity: 0;
    transition: all 0.2s ease;
    bottom: 6%;
}

#back-to-top.show-arrow {
    font-size: 1.4rem;
    opacity: 1;
    visibility: visible;
}

#back-to-top > p {
    font-size: 0.8rem;
    font-weight: bold;
}

#back-to-top:hover {
    scale: 1.1;
}

@media screen and (max-width: 1200px) {
    #back-to-top {
        right: 10px;
        bottom: 44px;
        background-color: rgba(235, 235, 235, 0.9);
        box-shadow: none;
    }

    #back-to-top:hover {
        scale: none;
    }
}


/* ================================================= */
/* main section */
.main {
    margin-top: 0px;
    background-color: rgba(0, 0, 0, 0.4);
}

.background-sections {
    background-position: top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

#bg-section-1 {
    max-width: 100vw;
    background-image: url("../media/backgrounds/title-background-1.jpg");
}

@media screen and (max-width: 600px) {
    #bg-section-1 {
        background-image: url("../media/backgrounds/title-background-3.jpg");
    }
}

#bg-section-2 {
    padding: 4rem;
    max-width: 100vw;
    background-color: rgb(248, 249, 250);
    border-bottom: 1px solid rgb(0, 0, 0);
}

@media screen and (max-width: 800px) {
    #bg-section-2 {
        padding: 3rem 0.5rem;
    }
    
}

#bg-section-3 {
    position: relative;
    overflow: hidden;
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    transition: opacity 1.7s ease;
    opacity: 0;
    z-index: 0;
}

#bg-image1 {
    opacity: 1;
}

.services-section {
    position: relative;
    z-index: 10; /* Ensures content is above the background images */
    padding: 20px;
}
/* ================================================= */

.title {
    max-width: 600px;
    margin: 3rem auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 3px;
    box-shadow: 0 0 5px rgb(0, 0, 0);
    box-shadow: 0 0 5px rgb(0, 0, 0), 0 0 10px 3px rgb(255, 255, 255);
}

#logo {
    max-width: 250px;
    margin-bottom: 1rem;
}

#company-name {
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
    text-shadow: 1px 1px 2px rgb(255, 255, 255), 2px 2px 3px rgba(0, 0, 0, 0.6);
}

#twenty-four-seven {
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

/* contact-options */
.contact-options {
    padding: 0.8rem 1.5rem;
}

.contact-options > a {
    text-decoration: none;
    padding-left: 0.1rem;
    padding-right: 0.1rem;
    padding: auto 0.1rem;
    max-width: 50px;
}

.contact-options > a > svg {
    transition: transform 0.2s ease;
}

.contact-options > a > svg:hover {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 9px;
    
}

#about-us {
    margin-bottom: 1.2rem;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.7);
    color: rgb(255, 255, 255);
    border-radius: 10px;
    box-shadow: 0px 0px 5px rgb(0, 0, 0);
}

#check-services-button {
    background-color: rgba(251, 189, 3, 0.5);
    border-radius: 5px;
    box-shadow: 0 0 4px rgb(0, 0, 0);
    transition: scale 0.2s ease;
}

#check-services-button:hover {
    scale: 1.1;
}

@media screen and (max-width: 900px) {
    .title {
        background-color: rgba(255, 255, 255, 0.8);
    }

    #about-us {
        text-shadow: 0 0 2px rgb(0, 0, 0);
    }
}


/* banner */
#banner {
    max-width: 100%;
    padding: 0px;
    background-color: rgb(248, 249, 250);
    border-top: 1px solid rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgb(0, 0, 0);
    box-shadow: 0 -2px 5px rgba(255, 255, 255, 0.7);
}

.row {
    margin: 0;
}

.cell {
    background-color: rgb(35, 35, 35);
    color: rgb(255, 255, 255);
    min-height: 140px;
    padding-top: 1.5rem;
    padding-bottom: 1rem;
    transition: all 0.1s ease;
}

.cell:nth-child(2) {
    background-color: rgba(255, 193, 6, 0.8);
    color: rgb(0, 0, 0);
}

@media screen and (1100px <= width <= 1364px) {
    .cell {
        height: 165px;
    }
}


/* ================================================= */
/* photos carousel */
.photos {
    max-width: 800px;
    margin: auto auto;
    border: 6px ridge rgb(161, 108, 108);
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgb(194, 91, 91);
    text-align: center;
}

.photos > h2 {
    margin: 2rem;
    text-shadow: 1px 1px 2px rgb(255, 255, 255), 2px 2px 2px rgba(0, 0, 0, 0.4);
}

.carousel-inner {
    border-top: 1px solid black;
    border-radius: 5px;
}

.carousel-item {
    max-height: 555px;
}


/* ================================================= */
/* services cards */
.services-section {
    margin: auto auto;
    padding: 2rem;
    padding-bottom: 4rem;
    background-color: rgba(0, 0, 0, 0.5);
}

#services-boxes {
    margin: 2rem auto;
    padding: 2rem;
    max-width: 400px;
    background-color: rgb(255, 255, 255);
    border: 6px ridge rgb(161, 108, 108);
    box-shadow: 0px 0px 15px rgb(255, 255, 255);
    border-radius: 10px;
    text-align: center;
}

#services-boxes > h2 {
    text-shadow: 1px 1px 2px rgb(255, 255, 255), 2px 2px 2px rgba(0, 0, 0, 0.4);
}

.services-details {
    margin: auto auto;
    max-width: 1600px;
}

.card-service {
    margin: 0.5rem;
    padding: 0;
    padding-bottom: 1.5rem;
    width: 30rem;
    border: 2px solid rgba(0, 0, 0, 0.7);
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgb(255, 255, 255);
    transition: scale 0.2s ease;
}

.card-service:hover {
    scale: 1.02;
}

.card-service > img {
    margin: auto auto;
    max-width: 490px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 2px 2px 0 0;
}

.card-service > .card-body {
    min-height: 112px;
}

.card-title {
    text-align: center;
    text-transform: capitalize;
}


/* ================================================= */
/* reviews-section */
.reviews {
    margin: auto auto;
    max-width: 1000px;
    padding: 3rem;
    text-align: center;
}

.reviews > h2 {
    text-shadow: 1px 1px 2px rgb(255, 255, 255), 2px 2px 2px rgba(0, 0, 0, 0.4);
}

#google-reviews {
    margin-top: 2rem;
    margin-bottom: 2rem;
    background-color: rgba(251, 189, 3, 0.4);
    border: 2px solid rgba(0, 0, 0, 0.4);
    transition: scale 0.2s ease;
}

#google-reviews:hover {
    scale: 1.1;
}

.card-review {
    margin: 2rem auto;
    padding: 1rem;
    background-color: rgb(252, 252, 252);
    box-shadow: 0px 0px 5px rgb(5, 5, 5);
    transition: scale 0.3s ease;
}

.card-review:hover {
    scale: 1.06;
}

.card-review > .card-body > p, #google-reviews, #check-services-button {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.bi-star-fill {
    color: rgb(251, 189, 3);
}


/* ================================================= */
/* footer */
footer {
    background-color: rgb(51, 51, 51);
    color: rgb(255, 255, 255);;
    text-align: center;
}

#web-designer {
    font-size: 0.95rem;
    font-style: italic;
}

#websiteReferal {
    font-style: italic;
    font-weight: bold;
    background: linear-gradient(to top, rgb(255, 217, 0), rgb(255, 255, 255));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#websiteReferal:hover {
    border-bottom: 1px solid rgb(255, 255, 255);;
}

.superscript {
    vertical-align: super;
    font-size: 0.8em;
}