@import url('https://fonts.googleapis.com/css2?family=Lobster&family=Oswald:wght@500&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Oswald', sans-serif;

    --navbar-color: #F8EDEB;
    --light-color: #fff8f7;
    --mid-color: #FFB5A7;
    --contrast-color: #FF677D;
}

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    margin: 0;
    padding: 0;
}


h1 {
    font-family: 'Lobster', sans-serif;
    font-size: 8rem;
    color: var(--contrast-color);
}

h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 5rem;
    color: var(--contrast-color);
}

h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--contrast-color);
}

p {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    color: #FFB5A7;
}

.section_padding {
    padding: 180px 60px;
}


/* header */

#navbar {
    background-color: var(--navbar-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: flex;;
    padding: 1rem 1.5rem;
    align-items: center;
    justify-content: space-between;
    top: 0;
    left: 0;
    position: sticky;
    z-index: 999;
}

#navbar svg {
    width: 60px;
    height: 60px;
}

.mobileIcon {
    display: none;
}

#navbar-links {
    display: flex;
    gap: 4rem;
    padding: 0 3rem;
}

#navbar-links a {
    text-decoration: none;
    color: #FFB5A7;
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
    position: relative;
}

#navbar-links a:hover {
    color: var(--contrast-color);
}

#navbar-links a.active::after {
    content: "";
    background: #FFB5A7;
    position: absolute;
    width: 70%;
    height: 3px;
    bottom: -4px;
    left: 0px;
}


/* hero section */

#hero_section {
    background-color: var(--light-color);
    height: 90vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding-bottom: 100px;
}

#hero_info {
    width: 50%;
}



#hero_info button {
    margin-top: 3rem;
    background-color: #FFB5A7;
    border: 0 solid #E5E7EB;
    box-sizing: border-box;
    color: var(--light-color);
    display: flex;
    font-family: ui-sans-serif,system-ui,-apple-system,system-ui,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: 1.5rem;
    font-weight: 700;
    justify-content: center;
    line-height: 1.75rem;
    padding: .75rem 1.65rem;
    position: relative;
    text-align: center;
    text-decoration: none #000000 solid;
    text-decoration-thickness: auto;
    width: 100%;
    max-width: 460px;
    position: relative;
    cursor: pointer;
    transform: rotate(-2deg);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

#hero_info button:focus {
    outline: 0;
}

#hero_info button:after {
    content: '';
    position: absolute;
    border: 1px solid #000000;
    bottom: 4px;
    left: 4px;
    width: calc(100% - 1px);
    height: calc(100% - 1px);
}

#hero_info button:hover:after {
    bottom: 2px;
    left: 2px;
}


#hero_image img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

/* About */

#about {
    text-align: center;
    background-color: var(--mid-color);
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.aboutInfo h2 {
    font-size: 4rem;
    padding-bottom: 2rem;
}

.aboutInfo h2, h3 {
    color: var(--light-color);
}

.aboutInfo h3 {
    padding: 0 6rem;
    font-weight: 500;
}

.properties {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 3rem;
}

.property {
    width: 250px;
    height: 250px;
    color: var(--mid-color);
    background-color: var(--light-color);
    border-radius: 2rem;
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* products */

#products {
    background-color: var(--light-color);
    display: flex;
    flex-direction: column;
    min-height: 900px;
}

#products-title {
    color: var(--mid-color);
    text-align: center;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 5rem;
    cursor: pointer;
}

#cards-container {
    padding: 5rem 0;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 2rem;
}

#cards-container h3{
    color: var(--mid-color);
}

.card {
    width: 350px;
    height: 550px;
    display: flex;
    flex-direction: column;
    text-align: center;
    background-color: #F8EDEB;
    box-shadow: 10px 10px 20px rgba(0,0,0,0.2);
    border-radius: 2rem;
    cursor: pointer;
    position: relative;
}

.product-card {
    height: 620px;
}

.card:hover {
    transform: scale(1.05);
    transition: all 0.7s ease-out;
    box-shadow: none;
}

.card:hover .overlay {
    opacity: 1;
    transition: 2s;
}

.card img {
    width: 100%;
    height: 100%;
    max-height: 480px;
    object-fit: cover;
    padding: 0.5rem;
    border-radius: 2rem;
}

.buy-button {
    font-size: 1rem;
    background-color: var(--contrast-color);
    max-width: 150px;
    padding: 10px;
    border-radius: 10px;
    color: var(--light-color);
    font-weight: 300px;
    text-decoration: none;
    align-self: center;
    margin-bottom: 10px;
}

.card h3 {
    padding: 20px;
    line-height: 1;
    display: inline-block;
    color: var(--mid-color);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 2rem;
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.overlay p {
    color: var(--light-color);
    font-size: 1.5rem;
}


/* contact */

#contact {
    background-color: var(--mid-color);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#contact h2 {
    color: var(--light-color);
    padding-bottom: 3rem;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 35rem;
}

#contact-form input, textarea {
    padding: 1.4rem;
    border-radius: 10px;
    border-color: transparent;
    font-size: 1.3rem;
}

#contact-form textarea {
    height: 10rem;
}

#contact-form input[type="submit"] {
    width: 200px;
    align-self: center;
    cursor: pointer;
    background-color: var(--contrast-color);
    color: var(--light-color);
}

/* Whatsapp */

#whatsapp-button {
    position:fixed;
    right: 0;
    bottom: 0;
    padding: 0 1rem 1rem 0rem;
}

#whatsapp-logo {
    color: var(--contrast-color);
    font-size: 5rem;
}

#footer {
    padding: 120px 60px;
    width: 100%;
    background-color: var(--light-color);
    display: flex;
    flex-direction: column;
}

#footer-text {
    text-align: center;
}

#footer-text h4 {
    color: var(--contrast-color);
    font-size: 1.5rem;
    padding-bottom: 1rem;
    font-weight: 300;
}

#footer-icons {
    width: 100%;
    display: flex;
    text-align: center;
    justify-content: center;
    gap: 2rem;
}

.social-media {
    font-size: 2rem;
    color: var(--contrast-color);
}


/* Responsive */
@media (max-width: 1200px) {
    #hero_section {
        padding: 2rem;
    }

    h1 {
        font-size: calc(1rem + 8vw);
    }

    p {
        font-size: calc(1rem + 2vw);
    }
}

@media (max-width: 900px) {
    #about h2 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 4rem;
        text-align: center;
    }

    h2 {
        font-size: 3rem;
        text-align: center;
    }

    h3 {
        font-size: 1.5rem;
        text-align: center;
    }

    #about h3, h4 {
        font-weight: 400;
    }

    p {
        font-size: 1.5rem;
        text-align: center;
    }

    .section_padding {
        padding: 60px 20px;
    }

    #navbar {
        position: sticky;
        overflow: hidden;
        display: block;
    }

    .mobileIcon {
        display: block;
    }

    #logo {
        display: flex;
        justify-content: space-between;
    }

    #logo a {
        align-self: center;
    }

    #navbar-links {
        display: none;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
    }

    #hero_section {
        flex-direction: column-reverse;
        height: auto;
        padding: 2rem 1rem;
        gap: 2rem;
    }

    #hero_info {
        display: flex;
        flex-direction: column;
        width: 100%;
        text-align: center;
        align-items: center;
    }

    #hero_info button {
        width: 80%;
        font-size: 1.2rem;
    }

    .properties {
        flex-direction: column;
        align-items: center;
    }

    #categories {
        flex-direction: column;
        align-items: center;
        padding: 2rem 1rem;
    }

    .category {
        width: 90%;
    }

    #whatsapp-logo {
        font-size: 3.5rem;
    }

    #contact-form {
        width: 80%;
    }
}

@media (max-width: 550px) {

    #about h2 {
        font-size: calc(1rem + 4vw);
        text-decoration: underline;
        padding-bottom: 1rem;
    }

    .aboutInfo h3 {
        padding: 0;
    }
}

@media (min-width: 769px) {
    #navbar-links {
        display: flex !important;
    }
}

