/* MAIN STYLESHEET */

/* SET GENERAL TAGS AND RESETS */

:root {
    --clear-color: #ebe2ed;
    --hard-color: #600178;
}

* {
    box-sizing:border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 18px;
    font-family: "Lato", "Calibri", sans-serif;
}

body {
    position: relative;
    background-color: white;
    min-height: 100vh;
}

a {
    color: inherit; /* blue colors for links too */
    text-decoration: inherit; /* no underline */
}

input {
    all: unset;
    color: gray;
}

img {
    max-width: 100%;
    max-height: 100%;
    vertical-align: middle;
    font-style: italic;
    background-repeat: no-repeat;
    background-size: cover;
}

/*set text*/

h1 {
    text-align: center;
    font-size: 3rem;
}


h3 {
    text-align: center;
    font-size: 1.5rem;
    font-weight:400;
    text-transform: uppercase;
    letter-spacing: 10px;
    color: var(--hard-color);
}

h3 .material-symbols-outlined {
    font-size: 2rem;    
}


h4 {
    font-size: 1.25rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 5px;
    text-align: center;
}

h5 {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--hard-color);
}

h6 {
    font-size: 0.6rem;
    font-weight: light;
    text-transform: uppercase;
    letter-spacing: 5px;
}

.lower {
    text-transform: none;
}

.set_color {
    color: var(--hard-color);
}

.set_white {
    color: white;
}

.set_clear {
    color: var(--clear-color);
}

.normal-letter-spacing {
    letter-spacing: normal;
}

.flex-inline-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

/*navigation bar*/

nav {
    position: absolute;
    top: 0;
    width: 100%;
    background-color: transparent;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 1rem;
    color: var(--clear-color);
}

nav .logo a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

nav .logo a img {
    max-height: 3rem;
}

nav ul {
    display: inline;
    list-style: none;
}

nav ul li {
    display: inline;
    margin-left: 1rem;
    font-weight: 500;
}



nav ul li:hover {
    text-decoration: underline;
}


/*splash*/

.splash {
    width: 100%;
    background-image: url("./imgs/fulvio-ambrosanio-sTiUQ7oT5qc-unsplash.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;    
}

.filler {
    width: 100%;
    background-color: #60017866;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 50svh;
    color: var(--clear-color);
    gap: 2rem;
}

.splash form {
    width: 75%;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 0.25rem;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 0.5rem;
}

input {
    padding: 0.5rem 1rem;
    border-radius: 0.1rem;
    background-color: var(--clear-color);
    color: rgb(128, 128, 128);
}

.search_name {
    grid-column: 1 / span 3;
    grid-row: 1;
}

.select_cat {
    grid-column: 4 / span 3;
    grid-row: 1;
}

.search_local {
    grid-column: 7 / span 3;
    grid-row: 1;
}

.search_submit {
    grid-column: 10 / span 1;
    grid-row: 1;
    background-color: var(--hard-color);
    color: var(--clear-color);
    text-align: center;
    transition: 0.25s;
}

.search_submit:hover {
    background-color: var(--clear-color);
    color: var(--hard-color);
    cursor: pointer;
}

select {
    all: inherit;
    width: 100%;
    background-color: var(--clear-color);
    padding: 0.5rem 1rem;
    border-radius: 0.1rem;
    min-width: fit-content;
    color: gray;
}

option {
    color: gray;
    font-size: 0.8em;
}


/*main container*/
/*for cards, listings and articles*/

main {
    width: 100%;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}


/*featured section*/

.featured {
    padding: 3rem 0;
    display: grid;
    grid-template-columns: repeat(30, 1fr);
    gap: 0.5rem;
    max-width: 100%;
}

.card {
    width: 100%;
    height: 100%;
    overflow: clip;    
    border-radius: 0.3rem;
}

.card .filler {
    height: 100%;
    min-height: 33vh;
    background-color: #60017888;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem;
}


.inline {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
}

.icon {
    max-width: 1.5rem;
}

.brand_container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*cards slider*/

.brand_container h4 {
    display: none;
}

@keyframes textIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes textOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.brand_container h4.visible {
    display: block;
    animation: textIn 0.5s ease;
}

.brand_container h4.hide {
    animation: textOut 0.5s ease-out;
}

.brand_container h4.visible:hover,
.brand_container h4.hide:hover {
    animation-play-state: paused;
}

/*restaurants*/
.one {
    grid-column: 1 / span 6;
    grid-row: 1;
    background-image: url("./imgs/davide-cantelli-jpkfc5_d-DI-unsplash.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;    
}

/*commerce*/
.two {
    grid-column: 7 / span 6;
    grid-row: 1;
    background-image: url("./imgs/harry-cunningham-7qCeFo19r24-unsplash.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover; 
}

/*services*/
.three {
    grid-column: 13 / span 6;
    grid-row: 1;
    background-image: url("./imgs/todd-quackenbush-IClZBVw5W5A-unsplash.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover; 
}

/*health and well being*/
.four {
    grid-column: 19 / span 6;
    grid-row: 1;
    background-image: url("./imgs/engin-akyurt-SMwCQZWayj0-unsplash.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover; 
}

.five {
    grid-column: 25 / span 6;
    grid-row: 1;
    background-image: url("./imgs/geoffroy-hauwen-stJtGSMFrWg-unsplash.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover; 
}

/*contact us*/

.contact_us {
    display: flex;
    padding: 0.5rem;
    padding-bottom: 2rem;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.contact_us h2 {
    color: var(--hard-color);
    text-align: center;
    font-weight: 400;
}

.btn {
    padding: 0.5rem 1rem;
    background-color: var(--hard-color);
    color: var(--clear-color);
    margin-top: 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.25s;
}

.btn:hover {
    background-color: var(--clear-color);
    color: var(--hard-color);
}

.btn:active {
    background-color: var(--clear-color);
    color: white;
}


/*footer*/

footer {
    position: absolute;
    bottom: 0;
    clear: both;
    width: 100%;
    background-color: var(--clear-color);
    color: var(--hard-color);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
    font-size: 0.6rem;
}

footer p {
    letter-spacing: 3px;
    padding: 0.5rem 1rem;
    text-align: center;
}

footer a:hover {
    text-decoration: underline;
}




/* articles styling */

.article_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    padding: 5rem 0.5rem;
}

.article_container h3 {
    margin: 0;
    margin-bottom: 2rem;
}

article {
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

article p {
    text-align: justify;
    font-size: 0.8rem;
    padding: 0.5rem 0;
}

article h4 {
    margin-top: 1.5rem;
    color: var(--hard-color);
}


/* STYLE FOR CONTACT PAGE */


.int_wrapper {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50%;
}

.int_wrapper form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    width: 100%;
}

.int_wrapper input, .int_wrapper textarea {
    display: block;
    box-sizing: content-box;
    margin-bottom: 1rem;
    width: 100%;
    padding: 0.5rem;
    border-radius: 3px;
    border: solid 1px #ebe2ed;
    font-family: inherit;
    font-size: 0.8rem;
    box-shadow: 0 0 2px #4b005f;
}

.int_wrapper textarea {
    height: 18rem;
}


.int_wrapper p {
    position: relative;
    top: -0.5rem;
    text-align: left;
    font-size: 0.7rem;
}

.int_wrapper input:focus, .int_wrapper textarea:focus {
    outline: none !important;
    border:1px solid #4b005f;

}

#submit_btn {
    box-shadow:none;
    text-align: center;
    margin: 0 auto;
    width: fit-content;
    border-radius: 5px;
    padding: 0.5rem 2rem;
    transition: 0.25s;
}

.form_button_dis {
    background-color: #a3a3a3;
}

.form_button_enb {
    background-color: #e8d5ec;
    cursor: pointer;
}

.form_button_enb:hover {
    background-color: #4b005f;
    color: #ebe2ed;
}

/* for withus page */

.withus {    
    background-color: white;
    width: 100%;
    padding: 0;
}

.withus-overlay {
    background-color: transparent;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5rem 0.5rem;
    color: black;
}

.withus-overlay p {
    font-size: 1.1rem;
}

.withus-overlay li {
    margin: 1rem 0;
    font-size: 1.1rem;
    list-style: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.btn_wu {
    padding: 0.5rem 1rem;
    background-color: var(--clear-color);
    color: var(--hard-color);
    margin-top: 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.25s;
}

.btn_wu:hover {
    background-color: var(--hard-color);
    color: var(--clear-color);
}

.btn_wu:active {
    background-color: var(--hard-color);
    color: white;
}

.material-symbols-outlined {
    margin-right: 1rem;
}

/* message sent result message notification */

.message_wrapper {
    margin: 1rem auto;
    width: fit-content;
    padding: 1rem;
    text-align: center;
    border-radius: 10px;
    margin-top: -2rem;
    margin-bottom: 1rem;
    color: white;
}

.message_wrapper p {
    font-size: 0.7rem;
}

.error {
    background-color: rgb(187, 92, 92);
}

.success {
    background-color: rgb(62, 156, 90);
}

