/* Zakelijk Vastgoed Styling - Moderne Layout */

/* Filter Sidebar */
.filter-sidebar {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    position: sticky;
    top: 20px;
}

.filter-group {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 15px;
}

.filter-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ribbon {
            position: absolute;
  left: -12%;
  top: 4%;
  transform: rotate(-34deg);
  display: inline-block;
  padding: 0.6em 3.5em;
  background: #45b59e;
  color: #1f2246;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1;
  z-index: 50;
  white-space: nowrap;
  border: 0.25em solid #fff;
        }

        .ribbon span {
            display: inline-block;
            transform: translateY(-0.05em);
        }

        @media (max-width: 768px) {
            .ribbon {
                font-size: clamp(1.2rem, 5vw, 2.5rem);
                padding: 0.5em 3em;
            }
        }

        @media (max-width: 480px) {
            .ribbon {
                font-size: 16px;
                padding: 0.5em 2.5em;
            }
        }


.filter-toggle {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #1e293b;
    text-decoration: none;
}

.filter-toggle:hover {
    color: #004f8b;
    text-decoration: none;
}

.filter-toggle i {
    transition: transform 0.3s ease;
}

.filter-toggle[aria-expanded="false"] i {
    transform: rotate(-90deg);
}

.filter-content {
    padding-top: 10px;
}

.form-check {
    margin-bottom: 8px;
}

.form-check-input:checked {
    background-color: #004f8b;
    border-color: #004f8b;
}

.form-check-label {
    font-size: 14px;
    color: #000;
    margin-left: 5px;
    font-weight: 500;
}

/* Image Card Styling */
.image-card {
	overflow: hidden;
	border-top-left-radius: 20px;
  border-top-right-radius: 20px;
    /*box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);*/
    position: relative;
    background: #ffffff;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid #f1f5f9;
    margin-bottom: 24px;
}


.filter-group .btn {
	text-align: left;
	padding-left: 0px;
	padding-right: 0px;
	text-decoration: none;
	font-weight: 300 !important;
	color: #000;
	padding-bottom: 0px;
}

.image-card img {
    width: 100%;
    height: 425px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.image-card:hover img {
    transform: scale(1.05);
}

.no-image-placeholder {
    width: 100%;
    height: 325px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 48px;
}

.post-type-archive-zakelijk_vastgoed .no-image-placeholder {
	height: 425px;
}

/* CF7 Form Styling */
.contact-form-wrapper .wpcf7-form {
    margin: 0;
}

#interestModal label {
	margin-bottom: 10px;
	font-weight: 500;
}

.wpcf7-spinner {
	display: none !important;
}

.contact-form-wrapper .wpcf7-form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

.contact-form-wrapper .wpcf7-submit {
    background-color: #ff8c00 !important;
    border-color: #ff8c00 !important;
    font-size: 16px;
}

.contact-form-wrapper .wpcf7-response-output {
    margin-top: 1rem;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
}


/* Overlay for text */
.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 1;
}

.text-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 2;
}

.text-content .title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0px;
    color: #004f8b;
}

.text-content .subtitle {
    font-size: 14px;
    line-height: 1.4;
    color: #000;
    opacity: 0.9;
}

.text-content a {
    text-decoration: none;
    color: inherit;
}

.text-content a:hover {
    text-decoration: none;
}

/* Single Object Page Styling */
.vastgoed-single-header {
    margin-bottom: 30px;
}

.vastgoed-hero-image {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.vastgoed-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vastgoed-price-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.vastgoed-transaction-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 12px 20px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.vastgoed-transaction-badge.huur {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.vastgoed-transaction-badge.koop {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.vastgoed-transaction-badge.koop_huur {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.vastgoed-title {
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.vastgoed-address {
    color: #64748b;
    font-size: 20px;
    margin-bottom: 0px;
    font-weight: 400;
}

.vastgoed-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.vastgoed-detail-card {
    background-color: #f0f0f0;
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.vastgoed-detail-card:hover {
    transform: translateY(-4px);
}

.vastgoed-detail-label {
    color: #27214f;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: 500;
}

.vastgoed-detail-value {
    color: #1e293b;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
}

.vastgoed-detail-value.large {
    font-size: 24px;
}

.vastgoed-description {
    background-color: #f0f0f0;
    padding: 32px;
    border-radius: 20px;
    margin-bottom: 40px;
    border: 1px solid #ddd;
}

.vastgoed-description h3 {
    color: #1e293b;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 700;
}

.vastgoed-description p {
    color: #475569;
    line-height: 1.7;
    font-size: 16px;
    font-weight: 400;
}

/* Voorzieningen styling */
.voorzieningen-section {
    background-color: #f9f9f9;
    padding: 32px;
    border-radius: 20px;
    margin-bottom: 40px;
    border: 1px solid #eee;
}

.voorzieningen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.voorziening-item {
    background: white;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: #475569;
    transition: all 0.3s ease;
}

.voorziening-item:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.voorziening-item::before {
    content: "\F26E";
	font-family: "bootstrap-icons";
    color: #10b981;
    font-weight: 700;
    font-size: 16px;
}

/* Gallery styling */
.vastgoed-gallery {
    margin-bottom: 40px;
}

.vastgoed-single h3 {
    color: #1e293b;
    font-size: 20px;
    margin-bottom: 24px;
    font-weight: 500;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contact section */
.vastgoed-contact {
    background: linear-gradient(135deg, #004f8b 0%, #003a66 100%);
    color: white;
    padding: 32px;
    border-radius: 20px;
    margin-bottom: 32px;
}

.vastgoed-contact h3 {
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
}

.contact-detail {
    margin-bottom: 12px;
    font-size: 16px;
}

.contact-detail strong {
    display: inline-block;
    width: 80px;
}

.contact-detail a {
    color: white;
    text-decoration: none;
}

.contact-detail a:hover {
    text-decoration: underline;
}

/* Energy label styling */
.energy-label {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    color: white;
    min-width: 50px;
    text-align: center;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.energy-a { background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); }
.energy-b { background: linear-gradient(135deg, #84cc16 0%, #65a30d 100%); }
.energy-c { background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%); }
.energy-d { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.energy-e { background: linear-gradient(135deg, #f97316 0%, #ea580c 100%); }
.energy-f { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }
.energy-g { background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%); }

/* Status indicators */
.status-indicator {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-beschikbaar {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #166534;
    border: 1px solid #86efac;
}

.status-onder_optie {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border: 1px solid #fbbf24;
}

.status-verkocht,
.status-verhuurd {
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    color: #374151;
    border: 1px solid #9ca3af;
}

.status-niet_beschikbaar {
    background: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%);
    color: #991b1b;
    border: 1px solid #f87171;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #004f8b 0%, #003a66 100%);
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #003a66 0%, #002a4d 100%);
}

.btn-secondary {
    background: #6b7280;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #4b5563;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .image-card {
        margin-bottom: 20px;
    }
    
    .image-card img,
    .no-image-placeholder {
        height: 350px;
    }
    
    .text-content {
        padding: 15px;
    }
    
    .text-content .title {
        font-size: 14px;
        margin-bottom: 0px;
    }
    
    .text-content .subtitle {
        font-size: 13px;
    }
    
    .vastgoed-hero-image {
        height: 250px;
    }
    
    .vastgoed-title {
        font-size: 28px;
    }
    
    .vastgoed-address {
        font-size: 16px;
    }
    
    .vastgoed-details-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .voorzieningen-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .filter-sidebar {
        margin-bottom: 20px;
    }
    
    .vastgoed-description,
    .voorzieningen-section,
    .vastgoed-contact {
        padding: 20px;
    }
    
    .vastgoed-detail-card {
        padding: 16px;
    }
}