﻿/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
/*    max-width: 280px;*/
}

a {
    color: #323031;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .body-content {
        padding: 0;
    }
}

:root {
    --font-primary: 'Red Hat Display', system-ui, sans-serif;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    color: #323031 !important;
}

html, body {
    overflow-x: hidden;
}
/* stops a horizontal scrollbar on Windows */

/* Banner: the image is the background, and the content sits on top of it */
.hero {
    background-image: url('../Image/banner/par_home.png');
    background-size: cover;
    background-position: right center;
    min-height: 600px;
    display: flex;
    align-items: center; /* centres the content vertically on the image */
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.hero-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: #323031;
    line-height: 1.2;
}

    .hero-title span {
        color: #FA7616;
    }

.hero-sub {
    font-size: 1.05rem;
    color: #323031;
    max-width: 520px;
    margin: 16px 0 24px;
}

.hero-subtitle {
    font-size: 40px;
    color: #323031;
    font-weight: 800;
    letter-spacing: 2%;
}

/* Search bar: a white pill sitting on the image */
.hero-search {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 880px;
    padding: 6px;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 6px 24px rgba(0,0,0,.1);
}

    .hero-search select {
        border: 0;
        background: transparent;
        font-size: .85rem;
        padding: 6px 10px;
    }

    .hero-search .keyword {
        flex: 1;
        border: 0;
        outline: 0;
        padding: 0 10px;
    }

    .hero-search button {
        background: #FA7616;
        color: #fff;
        border: 0;
        border-radius: 999px;
        padding: 10px 36px;
        font-weight: 600;
    }

/* Map / Name toggle */
.toggle {
    display: flex;
    background: #FA7616;
    border-radius: 999px;
    padding: 4px;
}

    .toggle input {
        display: none;
    }

    .toggle label {
        color: #fff;
        padding: 6px 16px;
        border-radius: 999px;
        cursor: pointer;
        font-size: .85rem;
    }

    .toggle input:checked + label {
        background: #fff;
        color: #FA7616;
    }


/* Apply only to mobile screens (width less than 768px) */
@media screen and (max-width: 768px) {
    /* Banner: the image is the background, and the content sits on top of it */
    .hero {
        background-image: url('../Image/banner/par_home_mobile.jpg');
        background-size: cover;
        background-position: center;
        min-height: 500px;
        height: 80vw;
    }
    .hero-container {
        padding-top: 520px !important;
    }
    .review-container {
        padding-top: 250px !important;
    }
}

.purple-border {
    border: 1px solid #7368A8;
    border-radius: 20px;
    padding: 30px 20px;
}

.purple-borderNoPad {
    border: 1px solid #7368A8;
    border-radius: 20px;
}

.how-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.graysection {
    background-color: #F5F5F5;
    background-position: right center;
    min-height: 600px;
    display: flex;
    align-items: center; /* centres the content vertically on the image */
    width: 100vw;
    margin-left: calc(50% - 50vw);
}


/* CSS Styling */
.container-button {
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically */
    height: 100px; /* Optional: Gives the container height to show vertical centering */
}

.buttonOrange {
    background-color: #FA7616;
    color: #FFFFFF;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 50px;
}

.buttonOrange:hover {
    color: #FA7616;
    background-color: #FFF;
    border: 1px solid #FA7616;
}
