/* Normalize CSS */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Urbanist", sans-serif;
}


/* Variables */
:root {
    --border: #545454;
    --main-background: #1e1e1e;
    --hero-background: #141414;
    --hero-background-2: #14141419;
    --white-color: #fff;
    --width-banner: 95%;
    --width-main: 90%;
    --gap-banner: 0.9375rem;
    --gap-navbar: 1.5625rem;
    --padding-mid: 0.3125rem;
    --padding-large: 0.9375rem;
    --background-btn-purple: #703BF7;
    --light-gray: #999;
}

/* Global CSS */

html {
    scroll-behavior: smooth;
}



body {
    background-color: var(--hero-background);
}

img {
    max-width: 100%;
    height: auto;
    background-repeat: no-repeat;
    background-size: cover;
    object-fit: cover;
}


.white {
    color: var(--white-color);
}

.gray {
    color: var(--light-gray);
}

.hidden {
    display: none !important;
}

button {
    border: 0.0625rem solid var(--border);
    border-radius: 0.625rem;
    background-color: var(--hero-background);
    color: var(--white-color);
    padding: var(--padding-large);
}


.hamburger-btn {
    display: none;
    padding: 0;
}

.hamburger-clicked {
    display: none;
}

.read-more-paragraph {
    display: none;
}

.read-more, .read-less {
    color: var(--white-color);
    cursor: pointer;
}

.read-less {
    display: none;
}

/* Header, Banner and Nav */

header {
    border: 0.125rem solid black;
}

.header-top {
    background-image: url('./assets/images/above-navbar-banner.png');
    background-size: cover;  /* This ensures the image covers the entire element */
    background-position: center;  /* This centers the background image */
    background-repeat: no-repeat;
    border-bottom: 0.0625rem solid var(--border);
}
.banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--padding-mid) 6.25rem;
    /* width, margin must come together! (otherwise its just broken) */
    background: none;
}


.banner-empty {
    width: 3.4375rem;
}

.banner-main {
    display: flex;
    gap: var(--gap-banner);
    background-color: rgba(0, 0, 0, 0);
}

.banner-close {
    border: none;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.header-bottom {
    background-color: var(--main-background);
    position: relative;
}

.container {
    position: relative;
    top: 2.8125rem;
    max-width: 100%;
    overflow-x: hidden;
}


.navbar-container {
    padding: var(--padding-mid) 6.25rem;
    max-width: auto;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9375rem 0;
}

.nav-items {
    list-style-type: none;
    display: flex;
    align-items: center;
    gap: var(--gap-navbar);
}

.nav-items li a {
    text-decoration: none;
    color: var(--white-color);
    cursor:pointer;
    position:relative;
    padding:0.625rem 1.25rem;
    border-top-right-radius:0.625rem;
    border-bottom-left-radius:0.625rem;
    transition:all 1s;
    &:after,&:before {
    content:" ";
    width:0.625rem;
    height:0.625rem;
    position:absolute;
    border :0rem solid var(--hero-background);
    transition:all 1s;
    }
    &:after{
        top:-0.0625rem;
        left:-0.0625rem;
        border-top:0.3125rem solid var(--hero-background);
        border-left:0.3125rem solid var(--hero-background);
    }
    &:before{
        bottom:-0.0625rem;
        right:-0.0625rem;
        border-bottom:0.3125rem solid var(--hero-background);
        border-right:0.3125rem solid var(--hero-background);
    }
    &:hover{
        border-top-right-radius:0rem;
        border-bottom-left-radius:0rem;
        background:rgba(0,0,0,1);
        &:before,&:after{
        width:100%;
        height:100%;
        border-color: var(--hero-background);
        }
    }
}

.nav-items li a:hover {
    border: 0.0625rem solid var(--border);
    border-radius: 0.625rem;
    background-color: var(--hero-background);
    color: var(--white-color);
    padding: var(--padding-large);
}


/* Hero Section */

.hero-main {
    display: flex;
    position: relative;
}

.hero-top-context-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% - 7.6875rem));
    
}

.hero-main-left {
    width: 50%;
    display: flex;
    align-items: center;
}

.hero-main-right {
    width: 50%;
    background-color: rgba(39, 38, 38, 0.232);
}

.hero-main-left-container {
    padding: 6.25rem;
    position: relative;
}

.hero-top-title {
    margin-bottom: 1.875rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 40px;
    font-weight: 500;
}

.hero-top-paragraph {
    color: var(--light-gray);
    margin-bottom: 1.875rem;
    font-size: 14.5008px;
}

.hero-mid-buttons {
    display: flex;
    gap: var(--gap-banner);
}

.mid-second-button {
    background-color: var(--background-btn-purple);
}

.hero-mid-stats {
    display: flex;
    gap: var(--gap-navbar);
    margin-top: 1.875rem;
}


.hero-mid-stat {
    padding: var(--padding-large);
    background-color: var(--main-background);
    border-radius: 0.625rem;
    border: 0.0625rem solid #313030;
}

.hero-mid-stat p {
    color: var(--light-gray);
    margin-top: 0.9375rem;
}

.hero-mid-stat-container {

}
.hero-mid-titles {
    color: rgba(255, 255, 255, 0.85);
    font-size: 24px;
    font-weight: bold;
}

.hero-content-end {
    margin: 0 0.625rem;
    margin-bottom: 1.5625rem;
}
.hero-end-items {
    display: flex;
    gap: 0.625rem;
    margin-top: 1.5625rem;
    text-align: center;
}

.hero-end-item {
    height: 9.375rem;
    width: 25%;
    background-color: var(--main-background);
    border-radius: 0.625rem;
    padding: var(--padding-large);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-end-titles {
    color: var(--white-color);
}

.item-images {
    position: relative;
    text-align: center;
}

.hero-end-item img[src="./assets/icons/arrow-icon.svg"] {
    /* ניתקתי את התמונה של החץ מהזרימה ובגלל שהוא יחסי כרגע לאבא שלו שזה בעצם  הדיב הראשון אז מיקמתי אותו ימין למעלה */
    position: absolute;
    top: 0;
    right: 0;
    padding: var(--padding-large)
}

/* Properties Section */
.section {
    width: 90%;
    margin: 0 auto;
    margin-bottom: 4rem;
}
.section-title {
    color: var(--white-color);
    margin-top: 0.625rem;
    margin-bottom: 0.9375rem;
}

.section-description {
    color: var(--light-gray);
    margin-bottom: 3rem;
}

.property-showcase h3 {
    color: var(--white-color);
}

.property-title {
    margin-top: 0.625rem;
    margin-bottom: 0.625rem;
}

.property-description {
    color: var(--border);
    margin-bottom: 0.625rem;
}

.property-perks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-bottom: 2.1875rem;
    margin-top: 2.1875rem;
}

#read-more {
    text-decoration: underline;
    background-color: var(--hero-background);
    color: var(--white-color);
}

.property-perk {
    display: flex;
    gap: 0.3125rem;
    justify-content: center;
    align-items: center;
    border: 0.0625rem solid var(--border);
    border-radius: 2.8125rem;
    padding: 0.625rem;
    background-color: var(--main-background);
}

.property {
    border: 0.0625rem solid var(--border);
    border-radius: 0.625rem;
    padding: 2.1875rem;
}

.perk-description {
    color: var(--white-color);
}

.property-deals-btn {
    background-color: #703BF7;
    padding: 0.9375rem 2.1875rem;
    width: 100%;
}

.property-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.property-deals-btn-container {
    border-radius: 0.625rem;
    width: 100%;
}

.properties {
    display: flex;
    gap: var(--gap-banner);
    align-items: stretch;
    justify-content: center;
}

.property-image img {
    width: 100%;
}

.property-pnd {
    margin: 0 auto;
    width: 100%;
    display: flex;
    gap: 0.9375rem;
}

hr {
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.all-properties-btn {
    border: 0.0625rem solid var(--border);
    border-radius: 0.9375rem;
    background-color: var(--main-background);
    padding: 0.9375rem 0.9375rem;
}

.properties-pages {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    color: var(--border);
}

.show-more-properties {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.property-pnd {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.property-prices-title {
    color: var(--border);
    font-size: 16px;
    margin-bottom: 0.3125rem;
}

.property-actual-price {
    color: var(--white-color);
    font-size: 19.2px;
}

.properties-pages img {
    cursor: pointer;
}

.review {
    border: 0.0625rem solid var(--border);
    padding: 2.1875rem;
    border-radius: 0.9375rem;
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.review-image {
    margin-bottom: 1rem;
}

.review-title {
    margin-bottom: 0.5rem;
}

.review-description { 
    margin-bottom: 1rem;
}
.review-reviewers {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.625rem;
}

.all-reviews-btn {
    border: 0.0625rem solid var(--border);
    border-radius: 0.9375rem;
    background-color: var(--main-background);
    padding: 0.9375rem 0.9375rem;
}

.reviews-pages {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
}

.show-more-reviews {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reviews {
    display: flex;
    gap: 1.5625rem;
}

.freq-questions {
    display: flex;
    gap: 1.5625rem;
}
.question {
    border: 0.0625rem solid var(--border);
    padding: 2.1875rem;
    border-radius: 0.9375rem;
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.question-title {
    margin-bottom: 2rem;
}

.question-description { 
    margin-bottom: 1rem;
}

.question-read-more-btn {
    border: 0.0625rem solid var(--border);
    background-color: var(--main-background);
    padding: 0.625rem 1.25rem;
    cursor: pointer;
    margin-bottom: 0.9375rem;
}

.show-more-questions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.questions-pages {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.625rem;
}

.all-questions-btn {
    border: 0.0625rem solid var(--border);
    border-radius: 0.9375rem;
    background-color: var(--main-background);
    padding: 0.9375rem 0.9375rem;
}

.container-explore {
    background-image: url("./assets/images/explore-background.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-repeat: no-repeat;
    border-top: 0.0625rem solid var(--border);
    border-bottom: 0.0625rem solid var(--border);
}

.explore-title h1{
    display: inline;
}

.explore-title {
    margin-bottom: 0.625rem;
}

.explore-title-first {
    display: inline;
    margin-bottom: 1rem;
}

.explore-title-second {
    display: inline;
    margin-bottom: 0.625rem;
}

.explore-description {
    margin-bottom: 1rem;
    color: var(--light-gray);
}

.explore-properties-btn {
    border: 0.0625rem solid var(--border);
    border-radius: 0.9375rem;
    background-color: var(--main-background);
    padding: 0.9375rem 0.9375rem;
    width: 100%;
    background-color: #703BF7;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.explore-properties {
    width: 9.375rem;
}

.section-explore {
    padding-top: 1.5625rem;
    margin-top: 1.5625rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18.75rem;
}


footer {
    background-color: var(--hero-background);
    padding-top: 1.5625rem;
    margin: 0 auto;
    padding-top: 1.5rem;
    position: relative;
    top: 5rem;
    color: var(--light-gray);
    width: 100%;
}

.footer-headline {
    display: flex;
    justify-content: space-between;
    width: 90%;
    margin: 0 auto;
}


.footer-input-text {
    width: 100%;
    background-color: var(--hero-background);
    color: inherit;
    border: none;
}

.input-container {
    border: 0.0625rem solid var(--border);
    padding: 0.3125rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0.9375rem;
    margin-top: 0.625rem;
    width: 15.625rem;
}

.input-container-left {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.3125rem;
}

.input-container-submit-btn {
    background: none;
    border: none;
}

.footer-links {
    display: flex;
    gap: 2.1875rem;
    justify-content: flex-end;
    width: 100%;
}

.footer-link {
    width: 6.25rem;
}

.footer-link-title {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-link-links {
    font-size: 14px;
}

.links-container {
    width: 100%;
}

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

ul li{
    margin-bottom: 0.625rem;
    list-style-type: none;
}

.footer-bottom-logos {
    margin-top: 1.5rem;
    background-image: radial-gradient(circle, #703bf7, #4f37bb, #372e80, #262248, #141414);
    text-align: center;
    padding: 1.5rem;
}

.copyright-section {
    margin-top: 1.5rem;
}

.copyright-first {
    margin-bottom: 1.5rem;
}

.stars {
    z-index: 999;
}

/* Media Queries */

/* Laptops, Tablets, etc */
@media only screen and (max-width: 75rem) {
    .container {
        top: 1.875rem;
    }
    /* Make the banner's font a little bit smaller */
    .banner {
        padding: 0.625rem 2.1875rem;
    }
    .banner-main {
        font-size: 13px;
    }
    /* Make the button a little bit smaller aswell */
    .banner-close img {
        width: 1.25rem;
        height: 1.25rem;
    }

    .navbar-container {
        padding: 0.3125rem 0.9375rem;
    }

    .nav-items li a {
        font-size: 11.5008px;
    }

    .nav-item-contact-btn {
        padding: 0.625rem 1.5625rem;
        cursor: pointer;
        transition: all 1s;
    }

    .nav-item-contact-btn:hover {
        color: var(--hero-background);
        background-color: var(--border);
    }

    .nav-items li a:hover {
        padding: var(--padding-mid);
    }



    /* Hero Section */
    .hero-top-context-logo {
        right: 0rem;
        width: 6.25rem;
        height: 6.25rem;
    }

    .hero-main-left-container {
        padding: 3.125rem;
        width: 100%;
        padding: 0.625rem 2.1875rem;
    }

    .hero-top-title {
        font-size: 36.8px;
        font-weight: 500;
    }

    .hero-top-paragraph {
        font-size: 12.8px;
        max-width: 80%;
    }

    .hero-mid-stats {
        width: 80%;
    }

    .hero-mid-stat p {
        color: var(--border);
        margin-top: 0.9375rem;
        font-size: 12.8px;
    }

    .hero-mid-titles {
        color: rgba(255, 255, 255, 0.85);
        font-size: 19.2px;
        font-weight: bold;
    }

    /* Properties Section */
    .property-description {
        font-size: 14px;
    }

    .property-prices-title {
        font-size: 14px;
    }
    
    .property-actual-price {
        font-size: 14px;
    }

    .property-perk {
        font-size: 14px;
    }

    .property-deals-btn {
        padding: 0.625rem 0.625rem;
    }

}

/* Phones, etc */
@media only screen and (max-width: 60rem) {

    /* Remove the empty div and make space-between with the other two */
    .banner-empty {
        display: none;
    }

    .banner-main {
        font-size: 11px;
    }

    .nav-items, .nav-item-contact-us {
        display: none;
    }

    .hamburger-btn {
        display: block;
    }
    
/*     .navbar-container {
        width: var(--width-banner);
        margin: 0 auto;
    } */

    .hamburger-btn {
        border: none;
        background: none;
    }

    .hamburger-clicked {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        height: 100vh; /* Full height of the screen */
        width: 100vh;
        z-index: 999; /* To make sure this is in-front of everything */
        background-color: #14141419;
        backdrop-filter: blur(0.625rem);
        box-shadow: -0.625rem 0 0.625rem rgba(0,0,0,1);
        flex-direction: column;
        display: none;
        align-items: center;
        justify-content: center;
        list-style-type: none;
        gap: var(--gap-navbar);
    }

    .hamburger-clicked li a {
        text-decoration: none;
        color: var(--white-color);
        width: 100%;
    }

    /* Hero Section */

    .hero-main {
        flex-direction: column-reverse;
        flex-wrap: wrap;
        position: relative;
    }

    .hero-main-right {
        width: 95%;
        margin: 0 auto;
        border-radius: 0.9375rem;
    }

    .hero-main-left {
        width: 95%;
        margin: 0 auto;
    }

    

    .hero-top-context {
        position: relative;
    }


    .hero-top-context-logo {
        position: absolute;
        top: -6.5625rem;
        left: -0.9375rem;
        z-index: 999;
    }

    .hero-main-left-container {
        padding: var(--padding-mid);
        margin-top: 3.125rem;
        left: 0;
        width: 100%;
    }

    .hero-top-title {
        font-size: 32px;
        font-weight: 500;
    }

    .mid-first-button {
        width: 100%;
    }

    .mid-second-button {
        margin-top: 0.9375rem;
        width: 100%;
    }

    .hero-mid-stats {
        text-align: center;
        padding: 1.5625rem;
        /* Grid Setup */
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        justify-content: center;
        gap: 0.625rem;
        font-size: 14px;
        width: 100%;
    }

    .hero-mid-stat {
        background-color: var(--main-background);
        border: 0.0625rem solid var(--border);
        border-radius: 0.9375rem;;
        padding: 0.9375rem;
    }
    
    .hero-mid-buttons {
        display: block;
        gap: var(--gap-banner);
    }
    /* Hero Mid Stats */
    
    .mid-stat-1 {
    /*  grid-column: 1 / 2;
        grid-row: 1 / 2;    */
    
        grid-area: 1 / 1 / 2 / 2; /* start-row / start-column / finish-row / finish-column */
    }
    
    .mid-stat-2 {
        grid-area: 1 / 2 / 2 / 3;
    }
    
    .mid-stat-3 {
        grid-area: 2 / 1 / 3 / 3; 
    }
    
    .hero-mid-titles {
        color: var(--white-color);
        font-size: 24px;
        text-align: center;
    }
    
    .hero-content-end {
        width: 95%;
        margin: 0 auto;
        margin-top: 1.5625rem;
    }
    
    .hero-end-titles {
        color: var(--white-color);
    }
    
    .hero-end-items {
        border: 0.0625rem solid var(--border);
        border-radius: 0.9375rem;
        box-shadow: rgba(0,0,0,0.25) 0rem 1.5625rem 3.125rem -0.75rem;
        /* Grid Setup */
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 0.625rem;
        padding: 1.5625rem;
        font-size: 14px;
        margin-bottom: 1rem;
    }
    
    .hero-end-item {
        background-color: var(--main-background);
        border: 0.0625rem solid var(--border);
        border-radius: 0.9375rem;
        padding: 0.9375rem;
        text-align: center;
        width: 100%;
    }

    /* Properties Section */
    .property-1, .property-2 {
        display: none;
    }

    .property-description {
        font-size: 16px;
    }

    .property-prices-title {
        font-size: 16px;
    }
    
    .property-actual-price {
        font-size: 16px;
    }

    .property-perk {
        font-size: 16px;
    }

    .property-deals-btn {
        font-size: 16px;
        padding: 0.9375rem 2.1875rem;
    }

    /* Reviews Section */
    .review-2, .review-3 {
        display: none;
    }

    .question-2, .question-3 {
        display: none;
    }

    .question-showcase {
        width: 100%;
    }
    .freq-questions {
        width: 100%;
    }

    .question {
        width: 100%;
    }

    /* CTA Section */

    .section-explore {
        display: block;
    }

    .explore-title-second {
        display: block;
    }

    /* Footer Links */

    .input-container {
        width: 100%;
    }

    .footer-headline {
        display: block;
    }


    .footer-links {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: auto auto auto; 
        margin-top: 0.9375rem;
    }
    
    .footer-link-links ul li:last-child {
        border-bottom: 0.0625rem solid var(--border);
        width: calc(100% - 20px); /* Adjust 20px as needed */
    }

}

