/* Font family */

@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');

/* ROOT STYLING */
* {
    font-family: Jost;
    margin: 0%;
    padding: 0%;
    box-sizing: border-box;
    /* border: 1px solid #000; */
}

:root {
    --back: #000;
    --white: #fff;
    --gray: #f4f4f4;
    --golden-hour: #f1b555;
    --antique-brown: #9b281a;
}

/* BASIC STYLING */
.wrapper {
    max-width: 1450px;
    margin: auto;
    padding-inline: 2rem;
}

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

li {
    list-style: none;
}

.flex {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.between {
    justify-content: space-between;
}

.g-one-half {
    gap: 1.5rem;
}

.btn {
    padding: 0.8rem 2rem;
    background-color: var(--golden-hour);
    color: var(--white);
    border-radius: 5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    display: block;
    justify-self: flex-start;
    transition: 0.3s ease-in-out;
}

.brown-bg {
    background-color: var(--antique-brown);

}

.btn:hover {
    background-color: var(--back);
}

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

.mt-1 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 3rem;
}

.p-block {
    padding-block: 3.5rem;
}

/* HEADER STYLING */

.navbar {
    height: 13vh;
    position: relative;
}

.logo {
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: bold;
}

.icon {
    font-size: 1.1rem;
}

.navList {
    position: absolute;
    background: var(--antique-brown);
    top: 100px;
    right: 150px;
    width: 15rem;
    z-index: 5;
    padding: 2rem;
    border-radius: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease-in-out;
}

.navList-active {
    right: 0;
    opacity: 1;
    visibility: visible;
}

.navList .link {
    font-size: 1.2rem;
    color: var(--white);
    text-transform: capitalize;
}

/* SECTION STYLING */

/* Hero section */
.hero-content .btn {
    justify-self: flex-end;
}

.hero-section {
    height: calc(100vh - 13vh);
    justify-content: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 25rem;
    aspect-ratio: 1;
    border-radius: 100vw;
    background: var(--gray);
    z-index: -1;
    left: 100px;
    top: 0;
}

.heading {
    font-weight: 300;
    font-size: 9rem;
    text-transform: uppercase;
    line-height: 100%;
}

span {
    font-weight: bold;
}

.big-para {
    font-size: 1.8rem;
    font-weight: 300;
}

.hero-image {
    width: 50vw;
}

/* SECTION 01 */
h3 {
    font-size: 2rem;
    font-weight: 400;
    text-transform: uppercase;
}

.category-card {
    flex: 1;
    flex-basis: 300px;
    height: 30rem;
    border-radius: 1rem;
    background: var(--back);
    position: relative;
    transition: transform 1s ease-in-out;
    background-position: center;
    background-size: cover;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.category-card:nth-child(1) {
    background-image: url(imgaes/category1.jpg);
}


.category-card:nth-child(2) {
    background-image: url(imgaes/category2.jpg);
}


.category-card:nth-child(3) {
    background-image: url(imgaes/category3.jpg);
}


.category-card:nth-child(4) {
    background-image: url(imgaes/category4.jpg);
}


.category-card:nth-child(5) {
    background-image: url(imgaes/category5.jpg);
}

h5 {
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: 400;
    color: var(--white);
}

.simple-icon {
    background: var(--antique-brown);
    font-size: 1.2rem;
    width: 2.6rem;
    aspect-ratio: 1;
    color: var(--white);
    border-radius: 5rem;
    text-align: center;
    line-height: 2.6rem;
    transition: .5s ease-in-out;
}

.category-card .flex {
    position: absolute;
    bottom: 20px;
    padding-inline: 1.2rem;
    width: 100%;
}

.category-card:hover .simple-icon {
    background: var(--golden-hour);
    transform: rotateZ(-50deg);
}

/* SECTION 02 */
.h2-heading {
    font-weight: 300;
    font-size: 3rem;
    max-width: 880px;
    line-height: 100%;
    text-transform: uppercase;
}

.gradient-txt {
    background: linear-gradient(90deg, var(--golden-hour), var(--antique-brown));
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    margin: auto;
    text-align: center;
}

.bed-image {
    width: 70vw;
    margin-inline: auto;
    position: relative;
}

h6 {
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.detail-info-bed {
    font-size: 0.9rem;
    text-transform: capitalize;
    font-weight: 400;
    line-height: 100%;
}

.price {

    color: var(--antique-brown);
}

del {
    color: var(--back);
}

.simple-icon:hover {
    scale: 1.15;
    background-color: var(--back);
}

.bed-details {
    background-color: rgba(240, 240, 240, 0.6);
    max-width: 280px;
    padding: 1rem;
    border-radius: 1.6rem;
    position: absolute;
    right: 0;
    top: 50px;
    backdrop-filter: blur(10px);
}

/* SECTION 03 */

.new-arrival {
    color: var(--antique-brown);
    font-weight: 400;
}

.detail-info-platform {
    text-transform: capitalize;
    max-width: 600px;
    color: #00000070;
    font-size: 1.1rem;
    padding-block: 1rem;
}

.product-card {
    flex: 1;
    flex-basis: 250px;
}

.product-image {
    height: 22rem;
    background: var(--gray);
    border-radius: 1.5rem;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top;
}

small {
    font-size: 0.7rem;
    color: #00000070;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    margin-top: 1rem;
    display: block;
}

.product-image .btn {
    position: absolute;
    bottom: -50px;
    width: 160px;
    left: 50%;
    transform: translateX(-50%);
}

.product-card:hover .product-image .btn {
    bottom: 50px;
}

.center {
    justify-self: center;
}

/* SECTION 04 */

.about-image {
    width: 32rem;
    height: 37rem;
    border-radius: 1.5rem;
    background-image: url(imgaes/living-room.jpg);
    background-position: center;
    background-size: cover;
    transform: rotateZ(5deg);
    position: relative;
    margin-left: 10rem;
}

.about-image::before {
    content: '';
    background: #9b281a;
    position: absolute;
    height: 22rem;
    width: 17rem;
    border-radius: inherit;
    top: 50%;
    transform: translateY(-50%)rotateZ(-10deg);
    right: 400px;
    background-image: url(imgaes/bedroom.jpg);
    background-position: inherit;
    background-size: inherit;
}

.about p {
    color: var(--antique-brown);
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    font-weight: 500;
}

.about .h2-heading {
    max-width: 580px;
    margin-top: 0.8rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

/* SECTION 05 */
.fix-section {
    background-image: url(imgaes/fix-bg.jpg);
    background-repeat: no-repeat;
    position: relative;
    backdrop-filter: blur(2.6rem);
    background-attachment: fixed;
    isolation: isolate;
}

.fix-section::before {
    content: '';
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
    position: absolute;
}

.fix-section * {
    color: var(--white);
}

.fix-section .h2-heading {
    max-width: 500px;
    font-weight: 400;
}

.fix-section p {
    margin-top: 1rem;
    color: rgba(240, 240, 240, 0.6);
}

.fix-section .btn:hover {
    background: var(--antique-brown);
}

/* SECTION 06 */
.review-card {
    flex: 1;
    flex-basis: 300px;
    text-align: center;
    background: linear-gradient(to top, var(--gray) 70%, var(--white)20%);
    padding: 1rem;
    border-radius: 2rem;
}

.review-card h5,
.gradient-bg h5 {
    color: var(--back);
    font-weight: 500;
}

.review-card .profile-image {
    width: 7rem;
    aspect-ratio: 1;
    border-radius: 5rem;
    overflow: hidden;
    margin-bottom: 1rem;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* SECTION 07 */

.service-card {
    flex: 1;
    flex-basis: 300px;
    padding: 2.5rem;
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--gray);
}

.service-card .service-icon {
    font-size: 2rem;
    color: var(--antique-brown);
}

.gradient-bg {
    background: linear-gradient(to top, var(--golden-hour)30%, var(--gray), var(--white));
    backdrop-filter: blur(10px), ;
}

/* FOOTER SECTION */
.footer-image {
    background-image: url(imgaes/footer-bg.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    backdrop-filter: blur(2.6rem);
    background-attachment: fixed;
    isolation: isolate;
}

.footer-image::before {
    content: '';
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
    position: absolute;
}

.footer-wrapper * {
    color: var(--white);

}

.footer-wrapper {
    flex: 1;
}

.footer-wrapper:nth-child(1) {
    flex: 2;
}

.footer-wrapper h3 {
    font-weight: 300;
    line-height: 100%;
    margin-block: 1.5rem;
}

.input-container {
    max-width: 300px;
    height: 2.7rem;
    background: rgba(240, 240, 240, 0.6);
    border-radius: 1.5rem;
    padding-left: 1.5rem;
    padding-right: .3rem;
    display: flex;
}

.input-container a {
    background-color: var(--golden-hour);
}

.input-container input[type="email"] {
    flex: 1;
    background: transparent;
    color: var(--white);
    font-size: 1rem;
    border: none;
}

.input-container input[type="email"]:focus {
    outline: none;
}

.input-container input[type="email"]::placeholder {
    color: var(--white);
}

.footer-social-icon {
    margin-top: 2rem;
    gap: 1rem;
}

.footer-social-icon i {
    color: var(--white);
    transition: all 0.2s ease-in;

}

.footer-social-icon .icon i:hover {
    color: rgba(240, 240, 240, 0.6);
    font-size: 1.3rem;
}

.footer-image .flex {
    align-items: flex-start;
}

.footer-wrapper h5 {
    margin-bottom: 0.8rem;
    font-weight: 400;
}

.footer-link {
    font-size: 1rem;
    color: rgba(240, 240, 240, 0.9);
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 300;
    text-transform: capitalize;
}

.footer-contact-details {
    margin-top: 6rem;
}

.contact .footer-link {
    text-decoration: .1rem underline var(--gray);
    text-underline-offset: 5px;
    font-size: 1.3rem;
    text-transform: lowercase;
}

.copy-right {
    text-align: center;
    z-index: -2;
    padding: 2rem;
    background-color: #5c6e7c;
    backdrop-filter: blur(100px);
}

.copy-right p {
    color: rgba(240, 240, 240, 0.9);
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 300;
}

/* MEDIA QUARI SECTION */

@media screen and (max-width:700px) {

    /* SECTION STYLING */

    /* Hero section */
    .hero-section::before {
        width: 18rem;
        left: 0px;
    }

    .heading {
        font-size: 3.5rem;
    }

    .big-para {
        font-size: 1.3rem;
    }

    .hero-image {
        width: 20rem;
    }

    /* SECTION 01 */
    h3 {
        font-size: 1.5rem;
    }

    /* SECTION 02 */
    .h2-heading {
        font-size: 2.3rem;
        max-width: 100%;
    }

    .bed-image {
        width: 25rem;
        left: 50%;
        transform: translateX(-50%);
    }

    .bed-details {
        left: 50%;
        transform: translateX(-50%);
        top: 50px;
        opacity: 0;
        visibility: hidden;
        transition: 0.3s ease-in;
    }

    .bed-image:hover .bed-details {
        opacity: 1;
        visibility: visible;
    }

    /* SECTION 04 */

    .about-image {
        width: 25rem;
        height: 25rem;
        margin-left: 0rem;
        transform: rotateZ(8deg);
    }

    .about-image::before {
        height: 17rem;
        width: 14rem;
        top: -20%;
        transform: translateY(50%)rotateZ(-10deg);
        left: -15px;
    }

    .about p {
        margin-top: 2rem;
    }

    .about .h2-heading {
        font-size: 2rem;
        width: 100%;
    }

    /* SECTION 05 */

    .fix-section::before {
        background-color: rgba(0, 0, 0, 0.1);
    }

    .fix-section .h2-heading {
        width: 100%;
        font-size: 2rem;
    }

}