@tailwind base;
@tailwind components;
@tailwind utilities;

.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}


@media (min-width: 360px) {
    .container {
        max-width: 340px;
    }
    .properties-grid {
        grid-template-columns: repeat(1, 1fr)!important;
    }
}

@media (min-width: 480px) {
    .container {
        max-width: 460px;
    }
}
@media (min-width: 481px) {
    .properties-grid {
        grid-template-columns: repeat(2, 1fr)!important;
    }
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
    .properties-grid {
        grid-template-columns: repeat(3, 1fr)!important;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }

}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    .properties-grid {
        grid-template-columns: repeat(4, 1fr)!important;
    }
}
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}



.body {margin: 0px; background-color: #edf2f7}
.footer-text {
    margin-top: 16px;
}

.header-style {
    width: 100%;
    padding: 10px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    margin: 0px auto;
    border-bottom: 1px solid #3A2877;
    align-self: stretch;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;

}

.owner-photo {
    width: 100px;
    height: 100px;
    border-radius: 500px;
    background: lightgray 50% / cover no-repeat;


}

.owner-info {
    display:flex;
    flex-direction: column;
    align-items: flex-start;
}

.owner-name {
    color: #100212;
    font-family: Geometria;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 24px;
}

.owner-name-link {
    text-decoration: none;
}

.social-icons {
    margin-top: 5px;
    display: flex;
    gap: 20px;
    font-family: Geometria;
}

.social-icons a {

    font-size: 18px;
}

.header-center, .header-right {
    display: flex;
    flex-direction: column;
    align-items :center;
}

.header-center {
    border-left: 1px solid #3A2877;
    border-right: 1px solid #3A2877;
    width: 34%;
}

.section-title {
    color: #100212;
    text-align: center;
    font-family: Geometria;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.18px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

nav a {
    color: #100212;
    font-family: Geometria;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
}
nav {
    display: flex;
    gap: 32px;
}

.title-filter {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
    margin: 16px auto;
    width: 100%;
}

.all-objects-title {
    font-family: Geometria;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #100212;
}

.filter {
    font-family: Geometria;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #100212;
    display: flex;
    cursor: pointer;
    display: flex;
}

.filter.active {
    margin-bottom: 8px;
}

.filter-top-img-text {
    display: flex;
}

.filter-top-img-text-mobile {
    display: none;
}

.filter-name {
    margin-left: 8px;
}

.filter-search-top {
    margin-left: 56px;
    display: none;
    gap: 16px;
}

.filter-search-top.active,
.filter-search-bottom.active {
    display: flex;
}

.search-title {
    leading-trim: both;

    text-edge: cap;
    font-family: Geometria;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #100212;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.filter-option input[type="radio"] {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid #100212;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
}

.filter-option input[type="radio"]:checked::after {
    content: '';
    width: 8px;
    height: 8px;
    background-color: #100212;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.filter-option span {
    leading-trim: both;
    text-edge: cap;
    font-family: Geometria;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.filter-text {
    width: 100%;
    padding: 8px;
    color: #100212;
    border: 1px solid #3A2877;
    leading-trim: both;
    text-edge: cap;
    font-family: Geometria;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    background: #edf2f7;
}

.filter-text::placeholder {
    color: #100212;
    leading-trim: both;
    text-edge: cap;
    font-family: Geometria;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.filter-text:focus {
    outline: none;
}

.mobile-search {
    display: none;
}

.filter-text-mobile {

    width: 100%;
    padding: 8px;
    color: #100212;
    border: 1px solid #3A2877;
    leading-trim: both;
    text-edge: cap;
    font-family: Geometria;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    background: #edf2f7;
}

.filter-text-mobile::placeholder {
    color: #100212;
    leading-trim: both;
    text-edge: cap;
    font-family: Geometria;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.filter-text-mobile:focus {
    outline: none;
}

.filter-search-bottom {
    display: none;
    align-items: flex-end;
    gap: 24px;
    align-self: stretch;
    justify-content: space-between;
}

.filter-drop-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.dropdown {
    display: flex;
    border: 1px solid #3A2877;
    padding: 8px 30px 8px 8px;
    justify-content: space-between;
    align-self: stretch;
    align-items: center;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    color: #100212;
    font-family: Geometria;
    font-size: 14px;
    width: 100%;
    cursor: pointer;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    background: #edf2f7;
}

.dropdown:focus {
    outline: none;
}

.filter-drop-title svg {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.dropdown-item {
    padding: 4px 8px!important;
    color: #100212!important;
    text-decoration: none;
    leading-trim: both;
    text-edge: cap;
    font-family: Geometria;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.dropdown-item:hover {
    background-color: #fff!important;
    color: #100212!important;
}

.price-inputs {
    display: flex;
    gap: 8px;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
}

.price-inputs input {
    width: 100%;
    padding: 8px;
    color: #100212;
    border: 1px solid #3A2877;
    leading-trim: both;
    text-edge: cap;
    font-family: Geometria;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    background: #edf2f7;
}

.price-inputs input::placeholder {
    color: #100212;
    opacity: 1;
}

.price-inputs input:focus {
    outline: none;
}

.update-button {
    display: flex;
    padding: 8px 16px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    leading-trim: both;
    text-edge: cap;
    font-family: Geometria;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #100212;
    background-color: #edf2f7;
    border: 1px solid #3A2877;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 23px;
}

.property-card {
    position: relative;
    border: 1px solid #3A2877;
    transition: transform 0.2s;
    background-color: #fff;
    overflow: hidden;
    background-color: #edf2f7;
    padding: 8px;
}

.top-card {
    position: relative;
}

.property-card:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.property-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.property-content {
    position: absolute;
    left: 8px;
    top: 15px;
}

.rentorsell {
    display: flex;
    padding: 4px 10px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-family: Geometria;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    background: #3C3885;
    color: #c9c9c9;
}


.property-title {
    color: #100212;
    font-family: Geometria;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 8px 0px;
}

.property-price {
    color: #100212;
    font-family: Geometria;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0px;
}

.watch {
    display: flex;
}

.watch-object {
    display: flex;
    color: #100212;
    text-decoration: none;
    font-family: Geometria;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 8px 0px 4px;
}

.watch-telegraph {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}



.pagination {
    justify-content: center;
    display: flex;
    margin-top: 16px;
}


.pagination .page-item {
    margin-right: 5px;
}

.pagination .page-link {
    border-radius: 10px;
    color: #7e7e7e;
    font-size: 18px;
    display: inline-block;
    border: 1px solid #eee;
    min-width: 30px;
    padding: 10px 20px;
    line-height: 27px;
    text-decoration: none;
    background-color: transparent;
    transition: all 0.3s ease;
}
.pagination .page-item:first-child, /* Первый элемент (Предыдущая) */
.pagination .page-item:last-child { /* Последний элемент (Следующая) */
    display: none !important;
}

.pagination .page-item.active .page-link {
    color: #766df4;
    background-color: transparent;
    border-color: rgba(118, 109, 244, 0.35);
}

.pagination .page-link:hover {
    color: #766df4;
    border-color: rgba(118, 109, 244, 0.35);
    background-color: rgba(118, 109, 244, 0.1);
}

.pagination .page-item.disabled .page-link {
    color: #ccc;
    border-color: #eee;
    background-color: transparent;
}

.show-object-title {
    color: #100212;
    display: flex;
    margin: 16px 0px 24px 0px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-family: Geometria;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}


.show-container {
    display: flex;
    gap: 20px;
}

.left-side-show {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
}

.bulk {
    color: grey;
    font-family: Geometria;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 8px;
}

.bulk-text {
    color: #100212;
    font-family: Geometria;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.location {
    color: grey;
    font-family: Geometria;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 8px;
}

.location-text {
    color: #100212;
    font-family: Geometria;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.rooms {
    color: grey;
    font-family: Geometria;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 8px;
}

.rooms-text {
    color: #100212;
    font-family: Geometria;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.floor {
    color: grey;
    font-family: Geometria;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 8px;
}

.floor-text {
    color: #100212;
    font-family: Geometria;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.jc {
    color: grey;
    font-family: Geometria;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 8px;
}

.jc-text {
    color: #100212;
    font-family: Geometria;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.description {
    flex-direction: column;
    align-items: flex-start;
    display: flex;
    margin: 40px 0px;
}

.description-title {
    color: grey;
    font-family: Geometria;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 8px;
}

.description-text {
    color: #100212;
    font-family: Geometria;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.rieltor {
    color: #100212;
    font-family: Geometria;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 8px;
}

.call-write {
    display: flex;
    align-items: flex-start;
    gap: 27px;
    align-self: stretch;
}

.call-show {
    display: flex;
    height: 40px;
    padding: 0px 16px;
    justify-content: space-between;
    align-items: center;
    flex: 1 0 0;
    background: #fff;
    border: none;
    text-decoration: none;
}

.call-text {
    color: #100212;
    font-family: Geometria;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.call-img {
    text-decoration: none;
}

.write-show {
    display: flex;
    height: 40px;
    padding: 0px 16px;
    justify-content: space-between;
    align-items: center;
    flex: 1 0 0;
    background: #fff;
    border: none;
    text-decoration: none;
}

.write-text {
    color: #100212;
    font-family: Geometria;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.right-side-show {
    width: 60%;
}

.show-main-image {
    height: 450px!important;
    object-fit: cover;
    flex-shrink: 0;
}

.slider-nav {
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
}

.slick-dots li {
margin: 0 4px 0 0!important;
    border: 2px solid #3A2877;
    background-color: transparent;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;

}
.slick-dots li button:before {
    content: ''!important;
}

.slick-dots li.slick-active {
    background-color: #3A2877;
    border-color: #3A2877;
}

.slick-prev,
.slick-next {
    display: none !important;
}


.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger-menu-x {
    display: none;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.burger-menu .bar {
    width: 25px;
    height: 3px;
    background-color: #100212;
    margin: 3px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger-menu.active .bar {
    display: none;
}


.mobile-menu {
    display: none;
    flex-direction: column;
    background-color: #edf2f7;
    align-self: stretch;
    margin-top: 16px;
}

.mobile-menu span {
    color: #3A2877;
    font-family: Geometria;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.18px;
    text-transform: uppercase;
    padding-top: 16px;
}

.menu-line {
    padding-bottom: 16px;
    border-bottom: 1px solid #3A2877;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-menu nav a {
    color: #100212;
    font-family: Geometria;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
}

.images-mobile {
    display: none; /* По умолчанию скрываем */
    width: 100%; /* Занимает всю ширину контейнера */

    margin: 0 auto; /* Центрируем */
    flex-direction: column;
}

.images-mobile .slider-for {
    width: 100%; /* Ширина слайдера */
    max-width: 100%; /* Ограничиваем максимальную ширину */
    flex: 1;
}

.images-mobile .slider-for img {
    width: 100%; /* Изображение занимает всю ширину слайдера */
    height: auto; /* Сохраняем пропорции */
    max-height: 233px; /* Ограничиваем высоту */
    object-fit: cover; /* Обрезаем изображение, чтобы оно заполняло контейнер */
}

.images-mobile .slider-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.telegram-show-mobile {
    display: none;
}

@media (max-width: 480px) {
    .images-mobile .slider-for img {
        max-height: 233px!important;
        object-fit: cover;
    }

    .slider-nav {
        margin-top: 32px!important;
    }
}

@media (max-width: 992px) {
    .filter-top-img-text {
        display: none;
    }

    .show-filter-text-mobile {
        display: block;
    }

    .filter-top-img-text-mobile {
        display: flex;
    }

    .mobile-search {
        display: flex;
        flex-direction: column;
        margin-bottom: 8px;
        width: 100%;
    }

    .search-name-object {
        display: none;
    }

    .filter {
        flex-direction: column;
    }

    .filter-search-top {
        margin-left: 0px;
        margin-top: 16px;
    }

    .telegram-show-mobile {
        display: flex;
        padding-top: 3px;
    }

    .telegram-show-pc {
        display: none;
    }
    .header-center, .header-right {
        display: none;
    }

    .burger-menu {
        display: flex;
    }

.burger-menu.active {
    margin-top: -20px;
}


    .mobile-menu.active {
        display: flex;
    }


    .all-objects-title {
        display: none;
    }

    .title-filter {
        display: flex;
        flex-direction: column;
    }

    .properties-grid {
        margin: 16px auto;
    }

    .header-style {
        padding: 16px 0;
    }

    .owner-name {
        margin-bottom: 0px;
    }

    .properties-grid {

        gap: 24px 23px;
    }
    .mobile-hidden {
        display: none;
    }

    .right-side-show {
        display: none;
    }

    .images-mobile {
        display: flex;

    }

    .show-main-image-mobile {
        margin-top: 8px;
    }


    .images-mobile .slider-for img {

        max-height: 400px;
    }

    .description {
        margin: 16px 0;
    }

    .show-container {
        flex-direction: column;
    }

    .filter-search-bottom {

    }

    .filter-search-bottom {
        flex-direction: column;
    }

    .update-button {
        width: 100%;
    }
}


