/*
Theme Name: Hub Child
Theme URI: http://hub.liquid-themes.com/
Author: Liquid Themes
Author URI: https://themeforest.net/user/liquidthemes
Template: hub
Description: Smart, Powerful and Unlimited Customizable WordPress Theme.
Version: 1.0
License: GNU General Public License
License URI: license.txt
Text Domain: hub-child
Tags: responsive, retina, rtl-language-support, blog, portfolio, custom-colors, live-editor
*/
/* Main Property Layout */
.property-single {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 0;
}

.property-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.property-title {
    display: inline-block;
    margin: 0;
    font-size: 40px;
}

.property-status {
    display: inline-block;
    margin-left: 15px;
    padding: 3px 10px;
    background: #f0f0f0;
    border-radius: 3px;
    font-size: 14px;
    vertical-align: middle;
}

/* Content Layout */
.property-content-wrapper {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.property-main-content {
    flex: 1;
}

.property-sidebar {
    width: 470px;
}

/* Description Section */
.property-description {
    margin-bottom: 30px;
}

.description-content {
    line-height: 1.6;
}

/* Details Box */
.property-details-box {
    background: #01123d;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-top: 40px;
}

.property-details-box h3 {
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #09215d;
    color: #ffffff;
}

.property-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.property-details-list li {
    background-color: #fff;
    border-radius: 4px;
    padding: 16px 24px 24px;
    width: 210px;
    display: flex;
    flex-direction: column;
}

/* Gallery Section */
.property-gallery {
    margin: 40px 0;
    background: #1c1c1c;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 100px 0;
}
.property-gallery h2{
    color:#ffffff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.gallery-thumbnail {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 3px;
    transition: transform 0.3s ease;
}

.gallery-grid a:hover .gallery-thumbnail {
    transform: scale(1.03);
}

.gallery-caption {
    display: block;
    margin-top: 8px;
    font-size: 0.85em;
    color: #666;
}

/* Location Section */
.property-location {
    margin: 40px 0;
}

.map-container {
    height: 400px;
    margin-top: 20px;
    border-radius: 5px;
    overflow: hidden;
}

/* Fresco Lightbox Overrides */
.fresco .fresco-caption {
    background: rgba(0,0,0,0.7);
    padding: 15px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .property{
        padding: 40px 0;
    }
    .property-content-wrapper {
        flex-direction: column;
    }
    
    .property-sidebar {
        width: 100%;
        order: -1;
        margin-bottom: 30px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .property-title {
        font-size: 24px;
    }
}
/* Full-width Carousel Wrapper */
.listing-page-slider-wrap{
    position: relative;
}
.carousel.carousel-items{
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
}

/* Listing Header */
.listing-header {
    margin-bottom: 30px;
    padding: 0 20px;
}

.listing-page-title {
    font-size: 28px;
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.listing-page-subtitle {
    font-size: 16px;
    color: #666;
}

/* Price Card */
.listing-price-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin: 0 auto 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: absolute;
    z-index: 1;
    right: 50px;
    top: 50px;
}

.listing-price-card-block {
    margin-bottom: 10px;
}

.badge {
    display: inline-block;
    padding: 5px 10px;
    background: #2a8c8c;
    color: white;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.property-price-wrap {
    margin-bottom: 5px;
}

.property-price.listing-page {
    font-size: 28px;
    color: #2a6496;
    line-height: 1.2;
}

.availability-block {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 16px;
}

.availability-text {
    color: #666;
}

/* Flickity Carousel */
.carousel-items {
    width: 100%;
    margin: 0 auto;
    padding-bottom: 30px;
}

.carousel-item {
    width: 50%;
    padding: 0 15px;
    max-width: 1200px;
}

.carousel-item-inner {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    height: 100%;
}

.lqd-pf-img {
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.lqd-pf-img img {
    width: 100%;
    height: 640px;
    object-fit: cover;
    display: block;
}

/* Features Grid */
.listing-page-slider-features-wrap {
    padding: 20px;
    color: #ffffff;
    z-index: 2;
    background-image: linear-gradient(transparent, rgba(30, 35, 42, .5) 75%, #282e38);
    border-radius: 16px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 5px;
}

.listing-page-slider-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    position: absolute;
    bottom: 20px;
}

.listing-feature-block {
    padding-right: 15px;
    border-right: 1px solid #eee;
}

.listing-feature-block.no-border-right {
    border-right: none;
}

.listing-feature-title {
    font-size: 14px;
    margin-bottom: 5px;
}

.listing-feature-value {
    font-size: 16px;
    line-height: 1.3;
}

/* Flickity Custom Styles */
.flickity-page-dots {
    bottom: 0;
    padding-top: 20px;
}

.flickity-page-dots .dot {
    width: 10px;
    height: 10px;
    background: #ddd;
    opacity: 1;
}

.flickity-page-dots .dot.is-selected {
    background: #2a6496;
}


/* Responsive Styles */
@media (max-width: 1024px) {
    .carousel-item {
        width: 60%;
    }
    
    .lqd-pf-img img {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        width: 80%;
    }
    
    .listing-page-slider-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .listing-feature-block:nth-child(2n) {
        border-right: none;
    }
    
    .listing-price-card {
        padding: 15px;
    }
    
    .property-price.listing-page {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .carousel-item {
        width: 90%;
    }
    
    .lqd-pf-img img {
        height: 300px;
    }
    
    .listing-page-slider-features {
        grid-template-columns: 1fr;
    }
    
    .listing-feature-block {
        border-right: none;
        padding-right: 0;
        margin-bottom: 10px;
    }
    
    .listing-feature-block:last-child {
        margin-bottom: 0;
    }
    
    .listing-page-title {
        font-size: 24px;
    }
    
    .listing-page-subtitle {
        font-size: 14px;
    }
}

/* Equal height cells */
.flickity-equal-cells .carousel-item {
    display: flex;
    height: auto;
}

.flickity-equal-cells .carousel-item-inner {
    width: 100%;
}

/* Custom Buttons Container */
.custom-nav {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centering the container */
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px; /* Space between the buttons */
    z-index: 10;
    width: 100%;
  }
  
  /* Circle Style for the Buttons */
  .custom-nav button {
    width: 50px;
    height: 50px;
    border-radius: 50%; /* Makes the button circular */
    background-color: black; /* Button background color */
    color: white; /* Text color */
    border: none;
    font-size: 18px; /* Icon or text size */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
  }
  .custom-nav button svg{
    fill: white;
  }
  /* Hover Effect */
  .custom-nav button:hover {
    background-color: gray; /* Change background color on hover */
  }
  

  .recent-angebote {
    margin: 20px 0;
}

.property-cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.property-card {
    width: calc(33.33% - 20px); /* Three cards per row */
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative;
    text-align: left;
}
.archive-angebote .property-card{
    width: 100%;
}
.archive-angebote .property-card a {
    color: initial;
    display: flex;
    align-items: center;
}
.archive-angebote {
    margin: 80px 0;
}
.archive-angebote .property-card a{
    color: initial;
}
.property-card:hover {
    transform: scale(1.02);
}
.property-card-image{
    position: relative;
	width: 450px;
}
.property-card-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
	max-height:240px;
}

.property-card-content {
    padding: 16px;
}

.property-card .status-badge {
    position: absolute;
    top: 16px;
    right: 16px;
}

.property-card .badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 12px;
    color: #fff;
    border-radius: 4px;
}

.property-card .badge-verkaufen {
    background-color: #2ecc71; /* Green for 'zu verkaufen' */
}

.property-card .badge-verkauft {
    background-color: #e74c3c; /* Red for 'verkauft' */
}

.property-card .card-title {
    margin-top: 0;
    font-size: 18px;
}

.property-card .card-price {
    padding: 15px 20px;
    font-size: 30px;
    line-height: 36px;
    position: absolute;
    left: 0;
    bottom: 0;
    color: #ffffff;
    background: #c4a169;
}

.property-card .details {
    display: flex;
    gap: 16px;
    padding: 20px;
    border: 2px solid #e6e6e6;
    border-radius: 5px;
    margin: 15px 0;
    justify-content: center;
    align-items: center;
}

.property-card .detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
}
.property-card .detail-item span{
    font-weight: bold;
}
.property-card .location {
    margin-top: 16px;
    font-size: 14px;
    color: #666;
}
.property-card a{
    color: initial
}
@media (max-width: 768px) {
    .property-card{
        width: 100%;
    }
	.property-card-image{
		width:auto;
	}

    .archive-angebote .property-card a{
        flex-direction: column;
    }
    .archive-angebote  .property-card-content{
        width: 100%;
    }
    .archive-angebote{
        padding: 0;
    }
    .listing-price-card{
        position: relative;
        width: 100%;
        right: auto;
        top: auto;
    }
    .listing-page-slider-features{
        display: none;
    }
    .custom-nav {
        transform: translate(-50%, 50%);
    }
    .property-details-list li{
        width: 100%;
    }
	.property-card .details {
		display: flex;
		gap: 10px;
		padding: 10px;
		border: 2px solid #e6e6e6;
		border-radius: 5px;
		margin: 10px 0;
		justify-content: center;
		align-items: center;
		font-size:14px;
	}

}