@import 'variables.css';

.hero {
    background: url('../img/kathryn-hero-image.jpg') no-repeat -90px top;
    background-size: cover;

    height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    color: white;
    padding: 20px 0; 
}
.hero-banner {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
    text-align: center;
}
.hero h1 {
    font-size: 4rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}
/* About Section */
#about ul {
    margin-top: 20px;
}
.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}
.about-image {
    max-width: 480px;
    width: 100%;
    height: auto;
    border-radius: 50%;
}
.about-text {
    max-width: 652px;
    margin-top: 20px;
    width: 100%;
    background: rgba(256, 256, 256, 0.8);
    border-radius: var(--border-radius);
}
#about, #services {
    min-height: calc(100svh - (66px));
}
#about {
    margin-top: 60px;
    padding-top: 10px;
    padding-bottom: 40px;
    margin-bottom: 100px;
}
#about .logo-container {
    width: 220px;
    height: 150px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: transparent;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease-in-out;
}
#about .logo-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
#about .logo-container:hover {
    transform: scale(1.05);
}
#logo-carousel .carousel-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: all 0.4s ease;
}
.carousel-control-prev-icon, 
.carousel-control-next-icon {
    filter: invert(1);
}
.qualifications-list {
    list-style-type: none;
    padding: 0;
}
.qualification-item {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}
.qualification-item i {
    margin-right: 0.8rem;
    font-size: 1.2rem;
    color: var(--primary-color);
}
/* Contact Section */
.contact-background {
    position: relative;
}
#contact {
    background: url('../img/dessert-jamjar.jpg') no-repeat center top;
    background-size: cover;
    padding: 20px;
    min-height: var(--screen-height-small-navbar);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}
#contact .contact-form-container {
    background-color: rgba(0,0,0,0.5);
    padding: 20px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}
#contact .form-group {
    width: 100%;
}
#contact form {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#contact .contact-form-button {
    color: #fff;
    border-radius: 0;
    border: 3px solid #fff;
    background-color: rgba(0, 0, 0, 0);
    border-radius: var(--border-radius);
    width: 150px;
}
#contact .contact-form-button:hover {
    color: #000;
    border: 3px solid transparent;
    background-color: #fff;
}
#contact .contact-image {
    display: none;
}
#contact .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
#contact .form-check-input:focus {
    box-shadow: 0 0 0 .25rem rgba(0,0,0, 0.2);
}
#contact .contact-service-options {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 20px;
}
.modal-header {
    background-color: var(--background-color-1);
}
/* Services Section */
#services h2 {
    color: #fff;
    font-size: 40px;
}
.services-container {
    max-width: 1300px;
    border-radius: var(--border-radius);
    background-color: var(--background-color-2);
}
.services-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5dvw;
    padding-top: 70px;
}
.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    width: 300px;
    height: 365px;
    margin-bottom: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}
.service-icon {
    font-size: 40px;
    color: var(--primary-color);
}
.icon-container {
    margin-bottom: 15px;
}
.services-container {
    padding-top: 70px;
    padding-bottom: 140px;
}

/* Testimonials Section */
#testimonials {
    height: 760px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 60px 0;
    padding-bottom: 60px;
}
.testimonialCarousel {
    max-width: 1200px;
}
#testimonialCarousel, 
#testimonials .carousel-item, 
#testimonials .carousel-inner {
    height: 100%;
}
#testimonials .carousel-inner {
    width: 92%;
    margin: 0 auto;
}
#testimonials #testimonialCarousel .row {
    height: 100%;
    padding: 0 20px;
}
#testimonialCarousel .carousel-control-next, 
#testimonialCarousel .carousel-control-prev {
    width: 32px;
    height: 650px;
}
#testimonialCarousel .testimonial-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    padding: 10px;
}
#testimonialCarousel .testimonial-card i {
    color: var(--primary-color) !important;
}
#testimonials .carousel-indicators {
    margin-top: 1rem;
    bottom: -75px;
}
#testimonials .carousel-indicators button {
    background-color: rgba(46, 173, 128, 0.4);
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

@media screen and (min-width: 375px) {
    #testimonials {
        height: 670px;
    } 
    #testimonialCarousel .carousel-control-next, 
    #testimonialCarousel .carousel-control-prev {
        height: 556px;
    }
}

@media screen and (min-width: 425px) {
    #testimonials {
        height: 620px;
    } 
    #testimonialCarousel .carousel-control-next, 
    #testimonialCarousel .carousel-control-prev {
        height: 505px;
    }
}

@media screen and (min-width: 768px) {
    #testimonials {
        height: 455px;
    } 
    #testimonialCarousel .carousel-control-next, 
    #testimonialCarousel .carousel-control-prev {
        height: 365px;
    }
    .service-item {
        justify-content: flex-start;
    }
}

@media screen and (min-width: 992px) {
    .hero .hero-banner {
        padding-left: 20%;
        text-align: left;
    }
    .hero {
        background-position: left top !important;
    }
    #contact {
        background: var(--background-color-1) no-repeat center top;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 20px;
    }
    #contact .contact-form-container {
        max-width: calc(50vw - 20px);
        margin: 0;
    }
    #contact .contact-image {
        display: block !important;
        width: calc(50vw - 20px);
        height: calc(100svh - (60px + 66px));
        object-fit: cover;
    }
    #testimonials {
        height: 575px;
        padding: 0;
        padding-bottom: 60px;
    } 
    #testimonialCarousel .carousel-control-next, 
    #testimonialCarousel .carousel-control-prev {
        height: 455px;
    }
}

@media screen and (min-width: 1440px) {
    #testimonials {
        height: 455px;
    } 
    #testimonialCarousel .carousel-control-next, 
    #testimonialCarousel .carousel-control-prev {
        height: 365px;
    }
}