*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

/* ================= BODY ================= */

body{
    background-color: #fffbf4;
    color: #11120d;
}

/* ================= HEADER ================= */

header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 30px;
    background-color: #D8CFBC;
    border-bottom: 1px solid #11120D;
}

header img{
    width: 60px;
    border-radius: 50%;
}

header ul{
    list-style: none;
    display: flex;
    gap: 35px;
}

header ul li a{
    text-decoration: none;
    color: #11120D;
    font-weight: 500;
    transition: 0.3s ease;
}

header ul li a:hover{
    color: #11120d;
}

/* ================= LOGIN ERROR MESSAGE SECTION ================= */

.message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    display: none;
    text-align: center;
}

.message.error {
    background-color: #ffe5e5;
    color: #d8000c;
    border: 1px solid #d8000c;
}

/* ================= HERO SECTION ================= */

.hero-section{
    display: flex;
    min-height: 90vh;
}

.hero-section img{
    width: 60%;
    height: 700px;
    object-fit: cover;
    filter: brightness(90%);
}

#forgot-password{
    padding-top: 10px;
    padding-left: 2px;
    color: #007ae4;
    font-size: 15px;
}

.hero-section .wrapper{
    width: 40%;
    background-color: #D8CFBC;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
    filter: brightness(90%);
}


.password-container {
    position: relative;
    width: 100%;
}

.password-container input {
    width: 100%; 
    padding-right: 40px; 
    box-sizing: border-box;
}

.password-container .toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    user-select: none;
    font-size: 14px;
    color: rgb(169, 169, 169);
}



.wrapper .form-wrapper{
    width: 100%;
    max-width: 400px;
    /* transition:  1s ease-in-out; */
}



.hero-section .form-wrapper form{
    display: flex;
    flex-direction: column;
}

.hero-section form h2{
    font-size: 38px;
    margin-bottom: 25px;
    text-align: center;
    color: #11120d;
}

.hero-section form label{
    font-size: 14px;
    margin-bottom: 6px;
    margin-top: 18px;
    color: #11120d;
}

.hero-section form input[type="email"],
.hero-section form input[type="password"],
.hero-section form input[type="text"]{
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #565449;
    background-color: #fffbf4;
    outline: none;
    transition: 0.3s ease;
}

.hero-section form input:focus{
    border: 1px solid #11120d;
}

.hero-section form input[type="submit"]{
    margin-top: 25px;
    padding: 12px;
    border-radius: 6px;
    border: none;
    background-color: #11120d;
    color: #fffbf4;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.hero-section form input[type="submit"]:hover{
    background-color: #565449;
}

.hero-section form p{
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
}

.hero-section form p a{
    color: #11120d;
    font-weight: 600;
    text-decoration: none;
}

.hero-section form p a:hover{
    color: #565449;
}

.wrapper.active .form-wrapper.sign-in{
    transform: scale(0);
}

.wrapper.active .form-wrapper.sign-up{
    transform: translate(-50%, -50%) scale(1);
}


.wrapper .form-wrapper.sign-up{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: 400px;
    transform: translate(-50%, -50%) scale(0);
}


/* ================= ABOUT SECTION ================= */

.about-us{
    padding: 80px 120px;
    text-align: center;
    background-color: #fffbf4;
    border-top: 1px solid #d8cfbc;
}

.about-us h2{
    font-size: 32px;
    margin-bottom: 20px;
    color: #11120d;
}

.about-us p{
    font-size: 23px;
    font-weight: 500;
    max-width: 700px;
    margin: auto;
    color: #565449;
    line-height: 1.6;
}

/* ================= REVIEWS & OWNERS SECTION ================= */

.reviews, .owners{
    padding: 80px 120px;
    text-align: center;
}

.reviews{
    background-color: #d8cfbc;
}

.reviews h2, .owners h2{
    font-size: 32px;
    margin-bottom: 50px;
    color: #11120d;
}

.review-container, .owners-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.review-card, .owners-card{
    padding: 30px 20px;
    border-radius: 12px;
    transition: 0.3s ease;
}

.review-card{
    background-color: #fffbf4;
}

.owners-card{
    background-color: #d8cfbc;
}

.review-card:hover{
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.review-card img, .owners-card img{
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #565449;
}

.review-card h3, .owners-card h3{
    margin-bottom: 8px;
    color: #11120d;
}

.review-card .stars{
    color: #565449;
    margin-bottom: 15px;
    font-size: 18px;
}

.review-card p, .owners-card p{
    font-size: 14px;
    color: #11120d;
    line-height: 1.6;
}

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

footer{
    background-color: #11120d; 
    color: #fffbf4;
    text-align: center;
    padding: 20px 40px;
    font-size: 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

footer .footer-links {
    display: flex;
    gap: 25px;
}

footer .footer-links a {
    color: #d8cfbc;
    text-decoration: none;
    transition: 0.3s ease;
}

footer .footer-links a:hover{
    color: #565449;
}

footer .socials{
    margin-left: auto;
    display: flex;
    gap: 15px;
}

footer .socials img{
    filter: brightness(100%) contrast(1); 
    background-color: #d8cfbc;
    border-radius: 50%;
    padding: 5px;
    width: 40px;
}

footer .socials img:hover{
    background-color: #565449;
    transform: scale(1.1);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 480px){

    .hero-section{
        flex-direction: column;
    }

    .hero-section img{
        width: 100%;
        height: 326px;
    }

    .hero-section .wrapper{
        width: 100%;
        padding: 67px 20px;
    }

    .wrapper .form-wrapper{
        max-width: 100%;
    }

    .hero-section form h2{
        font-size: 26px;    
    }

    .hero-section form input{
        font-size: 14px;
    }

    .about-us{
        padding: 60px 20px;
    }

    .reviews, .owners{
        padding: 60px 20px;
    }

    footer{
    flex-direction: column;  
    text-align: center;
    gap: 15px;               
    padding: 30px 20px;
    }

    footer .footer-links{
        flex-direction: column;   
        gap: 10px;
    }

    footer .socials{
        margin-left: 0;          
        justify-content: center; 
    }
}