/* Einzelansicht Styles */

.mc-single-property-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Roboto', Arial, sans-serif;
}

.mc-single-property {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* Header */
.mc-single-header {
    padding: 30px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.mc-single-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px 0;
}

.mc-single-location {
    font-size: 18px;
    color: #666;
    margin: 0;
}

/* Bildergalerie */
.mc-single-gallery {
    padding: 30px;
}

.mc-single-gallery-main {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 400px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mc-single-gallery-main img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
}

.mc-single-thumbnails-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mc-single-gallery-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    scroll-behavior: smooth;
}

.mc-single-gallery-thumbnails::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.mc-thumb-nav {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    color: #000;
    z-index: 10;
}

.mc-thumb-nav:hover {
    background: #fff;
    transform: scale(1.1);
}

.mc-single-thumbnail {
    flex: 0 0 120px;
    height: 80px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
    border: 2px solid transparent;
}

.mc-single-thumbnail:hover {
    transform: scale(1.05);
    opacity: 1;
}

.mc-single-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Preis */
.mc-single-price {
    padding: 20px 30px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    font-size: 28px;
    font-weight: bold;
    color: #1e3a8d;
    text-align: center;
}

/* Eckdaten */
.mc-single-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 30px;
    background: #fff;
}

.mc-single-detail-box {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.mc-detail-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mc-detail-value {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

/* Sections */
.mc-single-section {
    padding: 30px;
    border-top: 1px solid #e9ecef;
}

.mc-section-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0 0 15px 0;
}

.mc-description {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

/* Responsive */
@media (max-width: 768px) {
    .mc-single-title {
        font-size: 24px;
    }
    
    .mc-single-gallery-main {
        height: 300px;
    }
    
    .mc-single-details {
        grid-template-columns: 1fr;
    }
    
    .mc-single-price {
        font-size: 22px;
    }
}
