@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

:root {
    --primary-color: #49cf75;
    --secondary-color: #162d20;
    --light-background: #f3fdf7;
    --light-color: #fff;
    --text-color: #202020;
    --light-color-2: #f7f7f7;
    --font-family: "Manrope", sans-serif;
    --bg-color: papayawhip;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--bg-color);
    color: #000000;
    overflow-x: hidden;
}

::selection {
    background: #142F74;
    color: #FCD821;
}

::-moz-selection {
    background: #4f46e5;
    color: #fff;
}

/* Header layout */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 16px 24px;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    z-index: 10;
}

/* Title container */
.title_container {
    display: flex;
    align-items: center;
    gap: 12px;
    /* animation */
    animation: slideFade 0.6s ease forwards;
}

/* Logo animation */
.title_container img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    animation: pop 0.5s ease forwards;
}

/* Text animation */
.titl {
    font-size: 22px;
    font-weight: 600;
    color: #111827;
    animation: fadeUp 0.6s ease forwards;
}

/* Animations */
@keyframes slideFade {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pop {
    from {
        transform: scale(0.6);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.featured_property_section {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
}

a {
    color: var(--text-color);
    text-decoration: none;
}

.price_container a:hover {
    background: var(--primary-color);
    color: var(--light-color);
    box-shadow: 0 0 5px var(--primary-color), 0 0 25px var(--primary-color), 0 0 50px var(--primary-color), 0 0 75px var(--primary-color);
}

.featured_property_container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}

.featured_property_section .featured_property_container .title_container {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.subtitle {
    color: var(--primary-color);
    font-weight: bold;
}

.title {
    padding: 20px;
    font-size: clamp(1.3em, 3vw, 3em);
}

.content_container {
    width: 90%;
    height: 100%;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature_properties_menu_container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature_properties_menu_list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.feature_properties_menu_list li {
    list-style: none;
}

.feature_properties_menu_list li button,
.price_container button {
    padding: 10px 20px;
    font-family: var(--font-family);
    background: var(--light-color-2);
    border: none;
    outline: none;
    border-radius: 20px;
    transition: all 0.3s linear;
    cursor: pointer;
}

.feature_properties_menu_list li button.active {
    background: var(--primary-color);
    color: var(--light-color);
}

.feature_properties_menu_list li button:hover,
.price_container button:hover {
    background: var(--primary-color);
    color: var(--light-color);
}

.feature_properties_content_container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.product_card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
    border-radius: 15px;
    border: 1px solid var(--light-color-2);
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    background: var(--light-color);
    cursor: pointer;
}

.product_card .img_container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.product_card .img_container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product_card .product_featured_list {
    display: flex;
    gap: 20px;
}

.product_card .text_container {
    display: flex;
    gap: 10px;
    flex-direction: column;
    padding: 10px;
}

.product_card .text_container h3 {
    transition: all 0.3s linear;
}

.product_card:hover .text_container h3 {
    color: var(--primary-color);
}

.product_card .product_featured_list li {
    list-style: none;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    color: gray;
}

.price_container {
    padding: 10px 5px;
    display: flex;
    justify-content: end;
    font-size: 1.1rem;
    border-top: 1px solid var(--light-color-2);
}

/* ================= FOOTER ================= */

footer {
    width: 100%;
    background: var(--secondary-color);
    padding: 40px 0;
    display: flex;
    justify-content: center;
}

.footer_container {
    width: 90%;
    display: flex;
    justify-content: center;
    animation: footerFade 0.8s ease forwards;
}

.copyright_container {
    color: var(--light-color);
    text-align: center;
    line-height: 1.6;
    text-align: center;
    font-size: 14px;
    opacity: 0;
    animation: footerText 1s ease forwards;
    animation-delay: 0.3s;
}

/* ================= FOOTER ANIMATIONS ================= */

@keyframes footerFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes footerText {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



@media only screen and (max-width: 2560px) {
    .feature_properties_content_container {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    }
}

@media only screen and (max-width: 1440px) {
    .feature_properties_content_container {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

@media only screen and (max-width: 1024px) {
    .feature_properties_content_container {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media only screen and (max-width: 735px) {
    .feature_properties_content_container {
        grid-template-columns: 1fr 1fr;
    }
    .title {
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    }
    .subtitle {
        font-size: 12px;
    }
}

@media only screen and (max-width: 425px) {
    .feature_properties_content_container {
        grid-template-columns: 1fr;
    }
    .subtitle {
        font-size: 10px;
    }
}


@media screen and (min-width: 735px) {
    .copyright_container {
        font-size: 18px;
    }
}

@media screen and (min-width: 1024px) {
    .copyright_container {
        font-size: 20px;
    }
}

@media screen and (min-width: 1440px) {
    .copyright_container {
        font-size: 24px;
    }

    .footer_container {
        max-width: 80%;
    }
}

@media screen and (min-width: 2560px) {
    .copyright_container {
        font-size: 28px;
    }

    .footer_container {
        max-width: 80%;
    }
}