@import "./reset.css";
@import "./global.css";


/*------------------HERO--------------------*/
.hero {
    position: relative;
    width: 100%;
    height: calc(100vh);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/75068ezz.png') center/cover no-repeat;
    background-color: black;
}

.overlay {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 1% 1%, transparent 1%, rgba(0, 0, 0, 0.6) 5%);
    background-size: 10px 10px;
    pointer-events: none;
}

.content-hero {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
}

.content-hero h1 {
    font-weight: 700;
    color: var(--app-white);
    font-size: 55px;
    line-height: 1.2;
    padding: 5px 0 30px 0;
}

.content-hero h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--app-white);
    letter-spacing: 0.4px;
    line-height: 1.2;
}

/*------------------ABOUT--------------------*/

.about-background {
    background-color: #efefef;
    padding: 0;
    padding: 60px 0 60px 0;
}

.container-about {
    display: flex;
    width: 100%;
}

.about-column {
    flex: 1;
    padding: 0 0 10px 25px;
    box-sizing: border-box;
    max-height: 100%;
    overflow: hidden;
    border-radius: 15px;
}

.about-image { 
    background-image: url('../img/living-room-2732939_1920.jpg');
    background-size: cover; 
    background-position: center;
}

.detail-content { 
    background-color: var(--app-white);
}

.container-about h2 {
    color: var(--app-dark-gray);
    font-size: 30px;
    font-weight: 500;
    padding-bottom: 15px;
}

.container-about h3 {
    color: var(--app-orange);
    font-size: 20px;
}

.container-about h4 {
    color: var(--app-dark-gray);
    font-size: 20px;
    font-weight: 500;
}

.currency {
    font-weight: bold;
    color: var(--app-orange);
}

.amount {
    font-weight: bold;
    color: var(--app-orange);
    font-size: 30px;
}


/*----------RESPONSIVENESS ABOUT SECTION------------*/

@media screen and (max-width: 768px) {
    .container-about {
        flex-direction: column; 
    }
    
    .about-column {
        flex: none;
        height: 250px; 
        max-height: none;
        padding: 0 0 10px 0;
    }

    .about-column:nth-child(2) {
        height: 100%; 
        padding-top: 25px;
    }
}

/*-------------FEATURED SECTION---------------*/

.featured-background {
    background-color: var(--app-white);
    padding: 0;
    padding: 60px 0 60px 0;
}
.services-heading {
    text-align: center;
    margin-bottom: 20px;
}

.services-heading p {
    font-size: 25px;
}

.featured-text {
    margin: 0;
    padding: 10px;
    text-align: center;
    width: 220px;
}

.featured-text h2 {
    color: var(--app-dark-gray);
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 10px;
}

.featured-text p {
    color: var(--app-dark-gray);
    line-height: 1.5;
    text-align: center;
}

.img1 {
    background: url('../img/color-patterns-1984238_1280.jpg') center/cover no-repeat;
}

.img2 {
    background: url('../img/floor-plan-1857175_1280.jpg') center/cover no-repeat;
}

.img3 {
    background: url('../img/pexels-tima-miroshnichenko-6474471.jpg') center/cover no-repeat;
}

.img4 {
    background: url('../img/wooden-3346929_1920.jpg') center/cover no-repeat;
}

.featured-img {
    background-color: black;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    outline: 1px solid var(--app-white);
    margin-bottom: 10px;
}

.featured-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.featured-column {
    transition: transform 0.3s ease;
    transform: scaleY(1);
    transform-origin: top;
    text-align: center;
    justify-content: center;
}

.featured-column:hover {
    transform: scale(1.02);
    cursor: pointer;
}

/*-----FEATURED SECTION RESPONSIVENESS-------*/

@media screen and (min-width: 1000px) { /* 4 columns */
    .featured-column {
        flex: 0 0 calc(25% - 20px); 
    }
}

@media screen and (max-width: 1000px) { /* 2 columns */
    .featured-column {
        flex: 0 0 calc(50% - 20px); 
        margin-bottom: 20px; 
    }
}

@media screen and (max-width: 500px) { /* 1 column */
    .featured-container {
        flex-direction: column; 
        align-items: center; 
    }

    .featured-column {
        flex: 0 0 100%; 
        margin-bottom: 20px;
    }
}

/*------------------------------------------------*/
/*-----------------Footer-------------------------*/
/*------------------------------------------------*/

.container-footer {
    width: min(100% - 30px, 1080px);
    margin-inline: auto;
    margin: auto;
}

.footer-section {
    background-image: url('../img/interior-decoration.jpg');
    background-blend-mode: multiply;
    background-size: cover;
    background-position: center;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 70px 0;
}

ul {
    list-style: none;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
}

.footer-column {
    width: 25%;
    padding: 0 15px;
}

.footer-column p {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 400;
    color: var(--app-white);
}

.footer-column a {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 400;
    color: var(--app-white);
    transition: all 0.5s ease;
}

.footer-column a:hover {
    color: var(--app-organge-hover);
}

.footer-column h4 {
    font-size: 18px;
    color: var(--app-white);
    text-transform: capitalize;
    margin-bottom: 35px;
    font-weight: 500;
    position: relative;
}

.footer-column h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    background-color: var(--app-organge-hover);
    height: 2px;
    box-sizing: border-box;
    width: 50px;
}

.footer-column i {
    display: inline-block;
    height: 35px;
    width: 35px;
    background-color: var(--app-orange);
    margin-right: 11px;
    text-align: center;
    line-height: 35px;
    border-radius: 50%;
    color: var(--app-white);
    transition: all 0.5s ease;
}

.footer-column ul li:not(:last-clild) {
    margin-bottom: 15px;
}

.footer-column ul li a {
    font-size: 16px;
    text-transform: capitalize;
    color: var(--app-white);
    text-decoration: none;
    font-weight: 300;
    display: block;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    border-bottom: var(--app-organge-hover);
}

.footer-column .icons a i {
    display: inline-block;
    height: 35px;
    width: 35px;
    background-color: var(--app-orange);
    margin: 0 11px 11px 0;
    text-align: center;
    line-height: 35px;
    border-radius: 50%;
    color: var(--app-white);
    transition: all 0.5s ease;
}

.footer-column .icons a i:hover {
    background-color: var(--app-organge-hover);
    color: var(--app-white);
}

/*---------------------------------------------------------------------*/
/*-----------------------Form -----------------------------------------*/
/*---------------------------------------------------------------------*/
.new-letters {
    width: 100%;
    background-color: transparent;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

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

input[type="text"] {
    width: 90%;
    margin-bottom: 40px;
    height: 40px;
    font-weight: 600;
    padding: 10px 10px;
    font-size: 16px;
    color: var(--app-white);
    border: 1px solid var(--app-orange);
    border-radius: 5px;
    background-color: transparent;
}

input[type="text"]::placeholder {
    color: var(--app-white);
}

.submit-button {
    width: 90%;
    text-align: center;
    padding: 10px 10px;
    color: var(--app-white);
    font-weight: 600;
    background-color: var(--app-orange);
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 26px 30px -10px, rgba(0, 0, 0, 0.1) 0px 16px 10px -10px;
    font-size: 16px;
    transition: all 0.25s ease-in-out;
    cursor: pointer;
}

input[type="text"]:hover {
    border: 1px solid var(--app-organge-hover);
    transition: background-color 0.3s ease-in-out;
}

.submit-button:hover {
    background-color: var(--app-organge-hover);
    transition: background-color 0.3s ease-in-out;
}

.submit-button:active {
    transform: translateY(0.125rem);
}

.error-message {
    color: #ff0000;
    display: none;
    /* Initially, error messages are hidden */
    margin-left: 0px;
    font-size: 12px;
    margin-top: 0px;
    padding-top: 0px;
    top: 60%;
    position: absolute;
    /* Add space above the error message */
}

/*-----------------------------------------------------*/
/*--------------- Responsive Footer--------------------*/
/*-----------------------------------------------------*/

@media screen and (min-width: 320px) {
    .footer-column {
        width: 100%;
        margin-bottom: 5px;
    }

    .submit-button {
        width: 100%;
    }

    .footer-column h4 {
        font-size: 16px;
    }

    .footer-column p {
        font-size: 14px;
    }

    .footer-column a {
        font-size: 14px;
    }

    input[type="text"] {
        width: 100%;
    }

    .footer-section {
        padding: 20px 0;
    }

    input[type="text"]::placeholder {
        color: var(--app-white);
        font-size: 14px;
    }

}

@media screen and (min-width: 450px) {
    .footer-column {
        width: 100%;
        margin-bottom: 5px;
    }

    .submit-button {
        width: 100%;
    }

    .footer-column p {
        font-size: 14px;
    }

    .footer-column a {
        font-size: 14px;
    }

    .footer-column h4 {
        font-size: 16px;
    }

    input[type="text"] {
        width: 100%;
    }

    .footer-section {
        padding: 20px 0;
    }

    input[type="text"]::placeholder {
        color: var(--app-white);
        font-size: 14px;
    }

}

@media screen and (min-width: 725px) {
    .footer-column {
        width: 50%;
        margin-bottom: 20px;
    }

    .footer-section {
        padding: 30px 0;
    }

}

@media screen and (min-width: 950px) {
    .footer-column {
        width: 33.33%;
        margin-bottom: 10px;
    }

    .footer-section {
        padding: 30px 0;
    }
}

@media screen and (min-width: 1200px) {
    .footer-column {
        width: 25%;
    }

    .footer-section {
        padding: 40px 0;
    
    }
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/*  LOGIN MODAL                                          */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.modal,
.login__container {
  visibility: hidden;
  opacity: 0;
  position: fixed;
}

.modal {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    background: transparent;
    backdrop-filter: blur(20px);
    transition: all 0.5s ease;
    top: 0;
    left: 0;
    z-index: 1;
}

.modal.active-popup,
.login__container.active-popup {
    visibility: visible;
    opacity: 1;
}

.login__container {
    width: 400px;
    height: 440px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: all 0.5s ease;
    top: 50%;
    left: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
    background-color: #fff;
}

.login__container .form-box {
    width: 100%;
    padding: 40px;
}

.login__container.active {
    height: 520px;
}

.login__container .form-box.login {
    transition: transform 0.18s ease;
    transform: translateX(0);
}

.login__container.active .form-box.login {
    transition: none;
    transform: translateX(-400px);
}

.login__container .form-box.register {
    position: absolute;
    transition: none;
    transform: translateX(400px);
}

.login__container.active .form-box.register {
    transition: transform 0.18s ease;
    transform: translateX(0);
}

.login__container .icon-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 45px;
    height: 45px;
    background: var(--app-orange);
    font-size: 1.5rem;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom-left-radius: 20px;
    cursor: pointer;
    z-index: 1;
}

.form-box h2 {
    font-size: 2rem;
    color: #162938;
    text-align: center;
}

.input-box {
    position: relative;
    width: 100%;
    height: 50px;
    border-bottom: 2px solid #162938;
    margin: 30px 0;
}

.input-box label {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: 1rem;
    color: #162938;
    font-weight: 500;
    pointer-events: none;
    transition: 0.5s;
}

.input-box input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1rem;
    color: #162938;
    font-weight: 600;
    padding: 0 35px 0 5px; 
}

.input-box .icon {
    position: absolute;
    right: 8px;
    font-size: 1.2rem;
    color: #162938;
    line-height: 57px;
}

.input-box input:focus~label,
.input-box input:valid~label {
    top: -5px;
}

.remember-forgot {
    font-size: 0.9rem;
    color: #162938;
    font-weight: 500;
    margin: -15px 0 15px;
    display: flex;
    justify-content: space-between;
}

.remember-forgot label input {
    accent-color: #162938;
    margin-right: 3px;
    appearance: auto;
}

.remember-forgot a {
    color: var(--app-orange);
    text-decoration: none;
}

.remember-forgot a:hover {
    text-decoration: underline;
}

.modal-button {
    width: 100%;
    height: 45px;
    background: var(--app-orange);
    border: none;
    outline: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    color: #fff;
    font-weight: 500;
}

.modal-button:active {
    transform: translateY(0.125rem);
}

.login-register {
    font-size: 0.9rem;
    color: #162938;
    text-align: center;
    font-weight: 500;
    margin: 25px 0 10px;
}

.login-register p a {
    color: var(--app-orange);
    text-decoration: none;
    font-weight: 600;
}

.login-register p a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 480px) {
    .login__container {
        width: 320px;
    }
}