﻿/*Hero Section*/
.hero-viewport {
    width: 100%;
    height: 80vh;
}

.bottom-250 {
    bottom: 25%;
}

.custom-search-input {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
}
/* Results dropdown hover */
#heroLocationResults li:hover {
    background-color: var(--gray-25);
}
/* Position results directly under form */
#heroLocationResults {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 750px;
    z-index: 1030;
    display: none;
}


.custom-intro {
    font-family: var(--font-serif);
    color: var(--accent);
    font-style: italic;
    font-weight: 900;
}


.custom-radius {
    border-top-left-radius: 0;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    border-bottom-left-radius: 50px;
}

.overlap-box {
    margin-top: -180px;
    position: relative;
}

.custom-divider {
    width: 2px;
    height: 70%;
    background-color: var(--accent);
}

.gallery-section {
    padding-top: 50px;
    margin-bottom: 100px;
}

.gallery-container {
    max-width: 95%;
    margin-left: auto;
}

#homeGallery .gallery-image {
    width: 100%;
    max-width: 650px;
    height: 500px;
    border-radius: 1rem;
    flex-shrink: 0;
}


.process-section {
    width: 75%;
}


.testimonial-section {
    width: 65%;
    margin: 0 auto;
    gap: 2rem;
    padding-top: 50px;
}


/* --- Testimonial Display Rules --- */
#testimonialContainer {
    position: relative;
    height: 400px; /* fixed height for all testimonials */
    overflow: hidden; /* hides others when switching */
}

/* Hide all testimonials initially */
#testimonialContainer .testimonial {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    display: none;
    transition: opacity 0.4s ease-in-out;
}

/* Show only the first one by default */
#testimonialContainer .testimonial:first-child {
    display: block;
    opacity: 1;
}

/* Scrollable inner text area */
.testimonial .scrollable {
    max-height: 300px; /* fits nicely under fixed height */
    overflow-y: auto;
    padding-right: 10px;
}


.journey-step:hover {
    color: var(--accent);
}

.journey-step {
    transition: color 0.2s ease-in-out;
}

.cta-section img {
    width: 65%;
    height: 850px;
    object-fit: cover;
    object-position: center center;
}

.CTA-Box {
    position: absolute;
    top: 25%;
    right: 15%;
}

/*Hero Section*/
.hero-viewpoint {
    width: 100vw;
    height: 80vh;
}

.pe-50 {
    padding-right: 50px;
}

.bottom-250 {
    bottom: 25%;
}

.custom-search-input {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
}

#searchDropdown,
#cityResultPanel {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    max-width: calc(100% - 3rem);
}

/*Intro section*/
.intro-section {
    padding-top: 64px;
}

.custom-intro {
    font-family: var(--font-serif);
    color: var(--accent);
    font-style: italic;
    font-weight: 900;
}

/*Why AHP section*/
.custom-radius {
    border-top-left-radius: 0;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    border-bottom-left-radius: 50px;
}

.overlap-box {
    margin-top: -180px;
    position: relative;
}

.custom-divider {
    width: 2px;
    height: 70%;
    background-color: var(--accent);
}


.hero-img {
    width:90%;
    max-height: 870px;
    object-fit: cover;
}

.cta-img {
    width: 80%;
    max-height: 870px;
    object-fit: cover;
    will-change: transform;
}

    .cta-box {
    margin-right: 8rem;
}

/* make the suggestions container sit neatly under the pill, full-width, with rounded bottom corners */
.autocomplete-suggestions {
    width: 100% !important;
    box-sizing: border-box;
    position: absolute;
    top: 70px;
    background: #fff;
    border: 1px solid var(--gray-medium);
    border-top: none;
    border-radius: 2rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
    z-index: 2000;
    overflow: hidden;
    text-align: start;
}



/* individual suggestion rows */
.autocomplete-suggestion {
    padding: 0.75rem 1rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--gray-dark);
    cursor: pointer;
}

/* hover or keyboard “selected” state */
.autocomplete-suggestion:hover,
.autocomplete-suggestion.selected {
    background: var(--accent);
    color: #fff;
}

/* optional grouping header (if you’re using categories) */
.autocomplete-group {
    padding: 0.5rem 1rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    color: var(--accent-dark);
    background: var(--gray-25);
}

.btn-outline-secondary {
    background-color: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
    text-transform: uppercase;
    border-radius: 999px;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background-color: var(--gray-medium);
    color: #fff !important;
    border-color: var(--gray-medium);
}



/*Laptop Viewpoint */
@media (max-width: 1408px) {

    .custom-margin {
        margin-inline: 4rem;
    }

    #mainNav {
        top: 37px;
        transition: top 0.3s ease;
    }

    #mainNav.no-top {
        top: 0;
    }

    #navbarNav {
        justify-content: end !important;
    }

    .cta-box {
        margin-right: 5rem;
    }
}


@media(max-width:1064px) {
    .nav-label {
        display: none;
    }
}


@media(min-width:992px) {
    .mobile-submenu {
        display: block !important;
    }
}
/*Tablet Viewpoint*/
@media (max-width: 986px) {


    .custom-margin {
        margin-left: 2rem;
        margin-right: 2rem;
    }

    .hero-viewport {
        height: 65vh;
    }

    .bottom-250 {
        bottom: 35%;
    }

    .process-section {
        width: 100%;
    }


    .cta-img {
        width: 93%;
    }


    #homeGallery .gallery-image {
        max-width: 360px;
        height: 200px;
    }
}



/*Mobile Viewpoint*/
@media (max-width: 652px) {

    .above-nav {
        display: none;
    }

    .above-header {
        display: block;
    }

    .modal-dialog {
        max-width: 90%;
    }

    #locationModal .modal-dialog {
        max-width: 90%;
    }


    .custom-padding {
        padding-inline: 1.5rem;
    }

    .hero-viewpoint {
        width: 100%;
        height: 68vh;
    }

    .intro-section {
        padding-top: 36px;
    }

    #dropdownMenu {
        height: calc(100vh - 95px);
    }
}


