/*******VARIABLES******/
/* colours: */
:root {
    --red: #9d0000;
    --darkRed: #670000;
    --black: #000000;
    --white: #ffffff;
    --yellow: #f8de22;
    --lightYellow: #FFEC5C;
    --blue: #00bbe0;
    --darkBlue: #005E70;
}


/****** STYLES ******/

body {
    font-size: 26px;
    color: var(--white);
    background-color: var(--red);
    font-family: Georgia, Times, serif;
}

h1 {
    font-size: 120px;
}

h2 {
    font-size: 80px;
}

h3 {
    font-size: 32px;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--white);
}

a:hover {
    color: var(--white);
}

/****** CLASSES ******/


/* NAVBAR */
.navbar {
    background-color: var(--red);
}

.nav-link {
    color: white;
    transition: 0.5s;
}

.nav-link:hover {
    color: var(--lightYellow);
    transform: translateY(-0.25em);
    text-shadow: 0 0.2em 0.5em var(--yellow);
}

.nav-logo {
    height: 40px;
    width: auto;
    margin-left: 20px;
}

.navbar-toggler i {
    color: var(--white);
}


/********** HERO SECTION ************/
.hero-container {
    height: 70%;
}

.hero-footer {
    height: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-footer-card {
    height: 60%;
    width: 100%;
    background-color: #67000090;
    display: flex;
    align-items: center;
    justify-content: center;
}

.first-hero-footer-card {
    border-radius: 25px 0 0 25px;
}

.middle-hero-footer-card {
    border-left: 5px solid white;
    border-right: 5px solid white;
}

.last-hero-footer-card {
    border-radius: 0 25px 25px 0;
}




/******** CONTENT CONTAINER AND CARDS **********/
.content-container {
    padding-top: 50px;
    padding-bottom: 50px;
}

.red-theme-container {
    background-color: var(--darkRed);
    color: var(--white);
}

.blue-theme-container {
    background-color: var(--darkBlue);
    color: var(--white);
}

.content-card {
    border: 7px solid var(--blue);
    border-radius: 25px;
    padding: 20px;
    background-color: var(--darkRed);
    margin-bottom: 100px;
}

.content-card-img {
    width: 90%;
    height: 400px;
    border: none;
    margin: auto;
}

.content-card-img img {
    width: 100%;
    height: 100%;
    vertical-align: middle;
    object-fit: cover;
    border-radius: 25px;
}


.email-link {
    color: var(--yellow);
    text-decoration: none;
    overflow-wrap: break-word;
}

.email-link:hover {
    color: var(--blue);
}


/******** CONTENT - FULL SCREEN (SERVICES) ******/

.services-heading {
    background-color: var(--black);
    margin-bottom: 0;
    padding-bottom: 8px;
}

.flex-wide-container {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.services-row {
    background-color: var(--black);
    height: 33.33%;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.flex-wide-item {
    height: 100%;
    width: 50%;
    /* makes padding and borders included in the width */
    box-sizing: border-box;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    overflow: hidden;

    position: relative;
}


.service-img-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.service-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.service-img-container img:hover {
    transform: scale(1.1);
}

/* Overlay with a gradient */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));


    /* Place the gradient overlay above the image: */
    z-index: 1;
}

.services-text {
    font-size: 30px;
    text-shadow: -1.3px -1.3px 0 #000, 1.3px -1.3px 0 #000, -1.3px 1.3px 0 #000, 1.3px 1.3px 0 #000;


    position: relative;

    /* text above image and gradient: */
    z-index: 2;
}



.btn-tte {
    margin-top: 20px;
    background-color: var(--blue);
    color: var(--black);
    padding: 10px 20px;
    border-radius: 25px;
    transition: 0.5s;
}

.btn-tte:hover {
    border-radius: 15px;
    background-color: var(--darkBlue);
}



/* GOOGLE MAP */
/* CONTACT CARD GOOGLE MAP */
.contact-card-map-container {
    position: relative;
    width: 70%;
    padding-bottom: 40%;
    margin: auto;
}

.contact-card-map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    border: 7px solid var(--blue) !important;
    border-radius: 25px;
}

.external-links {
    color: var(--yellow);
}

.external-links:hover {
    color: var(--blue);
}




/**************** SUB-PAGES ***************/

.service-list-container {
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
    background-color: var(--darkRed);
    border-radius: 25px;
}

.service-list-row {
    width: 100%;
    height: 300px;
    display: flex;
    flex-wrap: wrap;
}

.service-list-item {
    height: 100%;
    width: 50%;
    background-color: var(--darkBlue);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.service-list-img-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.service-list-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay with a gradient */
.service-list-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));


    /* Place the gradient overlay above the image: */
    z-index: 1;
}

.services-list-text {
    font-size: 30px;

    text-shadow: -1.3px -1.3px 0 #000, 1.3px -1.3px 0 #000, -1.3px 1.3px 0 #000, 1.3px 1.3px 0 #000;

    position: relative;

    /* text above image and gradient: */
    z-index: 2;
}







/******* IDs ******/
#heroSection {
    height: 93vh;
    width: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-color: var(--blue);
}

#mainContentArea {
    min-height: 100vh;
    padding-top: 60px;
    padding-bottom: 60px;
    /* background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("../images/BG.jpg"); */
    background-image: url("../images/BG.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}



#mainFooter {
    padding-top: 30px;
    padding-bottom: 20px;
    background-color: var(--black);
    font-size: 18px;
}



#subHeader {
    height: 30vh;
    width: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero.jpg')
}




/****** MEDIA QUERIES *****/

@media(max-width: 1400px) {
    h1 {
        font-size: 100px;
    }
}

@media(max-width: 1200px) {

    h1 {
        font-size: 90px;
    }

    .contact-card-map-container {
        width: 70%;
        padding-bottom: 50%;
    }

    .content-card-img {
        width: 90%;
        height: 350px;
    }


}


@media(max-width: 992px) {

    body {
        font-size: 22px;
    }

    h2 {
        font-size: 60px;
    }

    .contact-card-map-container {
        width: 70%;
        padding-bottom: 70%;
    }

    .content-card-img {
        width: 90%;
        height: 200px;
    }


}


@media(max-width: 768px) {


    h3 {
        font-size: 24px;
    }

    .hero-footer-card {
        font-size: 20px;
    }


    .services-row {
        height: 33.33%;
        width: 100%;
        display: block;
    }

    .flex-wide-item {
        height: 50%;
        width: 100%;
        margin: auto;
    }

    .contact-card-map-container {
        width: 90%;
        padding-bottom: 80%;
    }


    .content-card-img {
        width: 90%;
        height: 270px;
    }


    /* service list (sub-page) */
    .service-list-row {
        width: 100%;
        height: 500px;
        display: block;
    }

    .service-list-item {
        height: 50%;
        width: 100%;
        background-color: var(--darkBlue);
        position: relative;
        display: flex;
    }


}

@media(max-width: 576px) {

    body {
        font-size: 18px;
    }

    h1 {
        font-size: 70px;
    }

    h2 {
        font-size: 55px;
    }

    .hero-footer {
        display: block;
    }

    .hero-footer-card {
        height: 20%;
        width: 80%;
        border-radius: 25px;
        border: none;
        margin: auto;
        margin-bottom: 5px;
    }

    #mainFooter {
        padding-top: 30px;
        padding-bottom: 20px;
        background-color: var(--black);
        font-size: 16px;
    }

    .contact-card-map-container {
        width: 95%;
        padding-bottom: 90%;
    }


}


@media(max-width: 430px) {
    h1 {
        font-size: 45px;
    }

    h2 {
        font-size: 38px;
    }

    h3 {
        font-size: 20px;
    }

    .services-text {
        font-size: 24px;
        text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    }

    .contact-card-map-container {
        width: 95%;
        padding-bottom: 100%;
    }

    .content-card-img {
        width: 90%;
        height: 200px;
    }

    /* subpages */
    .services-list-text {
        font-size: 24px;
        text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    }

}

@media(max-width: 350px) {

    h2 {
        font-size: 32px;
    }

    .hero-footer-card {
        font-size: 16px;
    }

    .content-card-img {
        width: 90%;
        height: 170px;
    }
}