/* ===== FOTO-PROMINENTE PROPERTY CARD LAYOUT ===== */

/* Property Card Base */
.property-card.photo-prominent-layout {
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
    margin-top: 40px;

  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.property-card.photo-prominent-layout:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* ===== HOOFD LAYOUT: 2 KOLOMMEN ===== */
.property-card.photo-prominent-layout .property-summary {
  display: grid;
  grid-template-columns: 1fr; /* Mobile first */
  min-height: 500px;
  position: relative;
}
.rating-badge2 {

  top: 0.5rem;
  left: 0.5rem;
  color: var(--primary-color);
  padding: 0.3rem 0.6rem;
  border-radius: 0.25rem;
  font-size: 2rem;
}

/* Desktop layout: Foto dominante linkerkolom */
@media (min-width: 1024px) {
  .property-card.photo-prominent-layout .property-summary {
    grid-template-columns: 65fr 35fr; /* 65% foto, 35% content */
    min-height: 450px;
  }
}

/* ===== GROTE FOTO SECTIE ===== */
.property-hero-image {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 400px;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(1.1) contrast(1.05) saturate(1.1);
}

.property-card.photo-prominent-layout:hover .hero-image {
  transform: scale(1.02);
}

/* Image Overlay */
.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
/*   background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.05) 70%,
    rgba(0, 0, 0, 0.2) 100%
  );
 */  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 60px;
  z-index: 2;
}

/* Gallery Navigation */
/* .gallery-navigation {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 20px;
}
 */
.gallery-nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(2px);
}

.gallery-nav-dot.active,
.gallery-nav-dot:hover {
  background-color: white;
  border-color: white;
  transform: scale(1.2);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

/* Floating Rating Badge */
.floating-rating {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
}

.rating-badge-large {
  background: rgba(30, 58, 138, 0.95);
  color: white;
  padding: 16px 20px;
  border-radius: 12px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.3);
  transition: all 0.3s ease;
}

.rating-badge-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(30, 58, 138, 0.4);
}

.rating-score {
  display: block;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.rating-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
  opacity: 0.9;
}

.reviews-count {
  display: block;
  font-size: 11px;
  opacity: 0.8;
  font-weight: 500;
}

/* Gallery Expand Button */
.gallery-expand-btn {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.gallery-expand-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-2px);
}

/* ===== COMPACTE CONTENT SECTIE ===== */
.property-content-compact {
  display: flex;
  flex-direction: column;
  background: white;
  position: relative;
}

.content-inner {
  /* padding: 32px 28px; */
  display: flex;
  flex-direction: column;
  height: 100%;
   gap: 10px; 
}

/* Property Header */
.property-header {
  border-bottom: 1px solid #f1f5f9;
}

.property-title {
  font-size: 26px;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.property-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.location-info,
.capacity-info 
{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #64748b;
}
.capacity-info2 
{
  display: flex;
    font-weight: 600;

  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #64748b;
}

.location-icon,
.capacity-icon {
  font-size: 16px;
  width: 20px;
}

.location-text {
  font-weight: 600;
  color: #334155;
}

/* Price Section */
.price-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.price-display {
  text-align: center;
}

.price-label {
  display: block;
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.price-amount {
  display: block;
  /* font-size: 20px; */
  font-weight: 800;
  color: #1e293b;
}

/* Feature Highlights */
.feature-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-highlight {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #1e40af;
  padding: 4px 7px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #93c5fd;
  transition: all 0.2s ease;
}

.feature-highlight:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(30, 64, 175, 0.2);
}

/* Description Preview */
.description-preview {
  flex-grow: 1;
}

.description-text {
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 16px;
}

/* Top Facilities */
.top-facilities {
  background: #f8fafc;
  padding-left: 20px;
  border-radius: 12px;
  border-left: 4px solid #3b82f6;
}

.facilities-heading {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
}
.facilities-heading h4{
 margin:0;
}


.facilities-grid {
  display: grid;
  gap: 8px;
}

.facility-item {
  font-size: 14px;
  color: black;
  font-weight: 500;
  padding: 4px 0;
  position: relative;
  padding-left: 16px;
}

.facility-item:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}

/* Call to Action Section */
.cta-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.btn-secondary {
  background: white;
  color: black;
  border: 2px solid #e2e8f0;
  padding: 14px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-secondary:hover {
  border-color: #3b82f6;
  /* color: #3b82f6; */
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.expand-icon {
  transition: transform 0.3s ease;
}

.property-card.expanded .expand-icon {
  transform: rotate(180deg);
}

.btn-primary {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 4px 16px rgba(30, 64, 175, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 64, 175, 0.4);
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
}

.external-icon {
  font-size: 14px;
  font-weight: 600;
}

/* ===== UITKLAPBARE DETAILS SECTIE ===== */
.property-details-expandable {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.property-card.expanded .property-details-expandable {
  max-height: 3000px;
}

.details-container {
  padding: 40px 32px;
}

/* Detail Tabs */
.detail-tabs {
  display: flex;
  gap: 4px;
  background: white;
  border-radius: 12px;
  padding: 6px;
  margin-bottom: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.tab {
  flex: 1;
  padding: 12px 16px;
  background: transparent;
  border: none;
  color: #64748b;
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab.active,
.tab:hover {
  background: #3b82f6;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Tab Content */
.tab-content {
  display: none;
  animation: fadeInUp 0.4s ease-out;
}

.tab-content.active {
  display: block;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Overview Tab */
.overview-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.overview-main h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 16px;
}

.overview-main p {
  font-size: 16px;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 24px;
}

.expert-insight {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-left: 4px solid #0ea5e9;
  padding: 24px;
  border-radius: 12px;
  font-style: italic;
  margin: 24px 0;
  font-size: 15px;
  line-height: 1.6;
  color: #0c4a6e;
}

.expert-insight cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  color: #0369a1;
}

.all-features h4 {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 16px;
}

.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.features-list .feature-item {
  background: white;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.features-list .feature-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: #3b82f6;
}

/* Overview Sidebar */
.quick-facts-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  height: fit-content;
  position: sticky;
  top: 20px;
}

.quick-facts-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f1f5f9;
}

.fact-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.fact-item:last-child {
  border-bottom: none;
}

.fact-label {
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  flex-shrink: 0;
  width: 35%;
}

.fact-value {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  text-align: right;
  flex-shrink: 0;
  width: 60%;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Grote Desktop (vanaf 1400px) */
@media (min-width: 1400px) {
  .property-card.photo-prominent-layout .property-summary {
    grid-template-columns: 55fr 45fr; /* Nog meer focus op foto */
    min-height: 500px;
  }
  
  .property-title {
    font-size: 28px;
  }
  
  .content-inner {
     padding: 10px 32px; 
    padding-left: 20px;
  }
}

/* Standard Desktop (1024px - 1399px) */
@media (min-width: 1024px) and (max-width: 1399px) {
  .content-inner {
    padding-left: 20px;
  }
  
  .property-title {
    font-size: 24px;
  }
}

/* Tablet Landscape (768px - 1023px) */
/* @media (min-width: 768px) and (max-width: 1023px) {
  .property-card.photo-prominent-layout .property-summary {
    grid-template-columns: 60fr 40fr; 
    min-height: 400px;
  }
  
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .quick-facts-card {
    position: static;
  }
}
 */
/* Tablet Portrait (576px - 767px) */
/* @media (min-width: 576px) and (max-width: 767px) {
  .property-card.photo-prominent-layout .property-summary {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .image-wrapper {
    min-height: 300px;
  }
  
  .content-inner {
    padding-left: 20px;
  }
  
  .cta-section {
    flex-direction: row;
    gap: 12px;
  }
  
  .btn-secondary,
  .btn-primary {
    flex: 1;
  }
}

 *//* Mobile (max 575px) */
@media (max-width: 768px) {
  .property-card.photo-prominent-layout {
    margin: 0;
    border-radius: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
  }
  
/*   .image-wrapper {
    min-height: 350px;
  } */
  
  .content-inner {
    padding: 20px 16px;
    gap: 16px;
  }
  
  .property-title {
    font-size: 20px;
  }
  
  .floating-rating {
    top: 12px;
    right: 12px;
  }
  
  .rating-badge-large {
    padding: 12px 16px;
  }
  
  .rating-score {
    font-size: 20px;
  }
  
  .gallery-expand-btn {
    bottom: 12px;
    left: 12px;
    padding: 8px 12px;
    font-size: 13px;
  }
  
  .feature-highlights {
    gap: 6px;
  }
  
  .feature-highlight {
    font-size: 12px;
    padding: 6px 10px;
  }
  
  .details-container {
    padding: 24px 16px;
  }
  
  .detail-tabs {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .tab {
    flex: 1 1 calc(50% - 4px);
    min-width: 120px;
  }
}

/* Extra kleine schermen (max 400px) */
@media (max-width: 400px) {
  .content-inner {
    padding: 16px 12px;
  }
  
  .property-title {
    font-size: 18px;
  }
  
  .cta-section {
    flex-direction: column;
  }
  
  .facilities-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== ACCESSIBILITY & PERFORMANCE ===== */

/* Focus states */
.gallery-nav-dot:focus,
.gallery-expand-btn:focus,
.btn-secondary:focus,
.btn-primary:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* Reduce animations voor gebruikers die dat prefereren */
@media (prefers-reduced-motion: reduce) {
  .hero-image,
  .expand-icon,
  .gallery-nav-dot {
    transition: none;
  }
  
  .property-card.photo-prominent-layout:hover {
    transform: none;
  }
  
  .tab-content {
    animation: none;
  }
}

/* High contrast modus */
@media (prefers-contrast: high) {
  .property-card.photo-prominent-layout {
    border: 2px solid #000;
  }
  
  .rating-badge-large {
    border: 2px solid #fff;
  }
  
  .btn-primary,
  .btn-secondary {
    border-width: 2px;
  }
}

/* ===== GALLERY DOTS CSS FIX ===== */
/* Voeg deze CSS toe aan photo_prominent_css.css of als aparte stylesheet */

/* Verbeterde Gallery Navigation */
/* .gallery-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  margin-bottom: 20px;
  z-index: 5;
  position: relative;
}
 */
.gallery-nav-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(4px);
  position: relative;
  overflow: hidden;
}

/* Hover effect */
.gallery-nav-dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.9);
  transform: scale(1.15);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

/* Active state */
.gallery-nav-dot.active {
  background-color: white;
  border-color: white;
  transform: scale(1.25);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.8);
}

/* Ripple effect on click */
.gallery-nav-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.gallery-nav-dot:active::after {
  width: 30px;
  height: 30px;
}

/* Focus state for accessibility */
.gallery-nav-dot:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
}

/* Verbeterde zichtbaarheid op donkere afbeeldingen */
/* .gallery-navigation::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% + 40px);
  height: 60px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    transparent 100%
  );
  border-radius: 30px;
  z-index: -1;
}
 */
/* Mobile aanpassingen */
@media (max-width: 768px) {
  .gallery-navigation {
    gap: 8px;
    margin-bottom: 15px;
  }
  
  .gallery-nav-dot {
    width: 12px;
    height: 12px;
    border-width: 1.5px;
  }
  
  .gallery-nav-dot:hover {
    transform: scale(1.1);
  }
  
  .gallery-nav-dot.active {
    transform: scale(1.2);
  }
}

/* Extra kleine schermen */
@media (max-width: 480px) {
  .gallery-navigation {
    gap: 6px;
    margin-bottom: 12px;
  }
  
  .gallery-nav-dot {
    width: 10px;
    height: 10px;
  }
}

/* ===== GALLERY EXPAND BUTTON VERBETERING ===== */
.gallery-expand-btn {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.75);
  color: white;
  border: none;
  padding: 12px 18px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 6;
}

.gallery-expand-btn:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.3);
}

.gallery-expand-btn:active {
  transform: translateY(-1px) scale(1.02);
}

.gallery-expand-btn svg {
  transition: transform 0.3s ease;
}

.gallery-expand-btn:hover svg {
  transform: scale(1.1);
}

/* Focus state */
.gallery-expand-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
}

/* Mobile aanpassingen */
@media (max-width: 768px) {
  .gallery-expand-btn {
    bottom: 15px;
    left: 15px;
    padding: 10px 16px;
    font-size: 13px;
    border-radius: 20px;
  }
}

@media (max-width: 480px) {
  .gallery-expand-btn {
    bottom: 12px;
    left: 12px;
    padding: 8px 14px;
    font-size: 12px;
  }
  
  .gallery-expand-btn span {
    display: none; /* Hide text on very small screens, show only icon */
  }
}

/* ===== HERO IMAGE CURSOR VERBETERING ===== */
.hero-image {
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-card:hover .hero-image {
  transform: scale(1.02);
  filter: brightness(1.1) contrast(1.05) saturate(1.15);
}

/* Subtiele indicator dat image klikbaar is */
.image-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.property-card:hover .image-wrapper::before {
  opacity: 1;
}

/* ===== LOADING STATES ===== */
.gallery-nav-dot.loading {
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
}

/* ===== ACCESSIBILITY VERBETERINGEN ===== */
/* High contrast mode */
@media (prefers-contrast: high) {
  .gallery-nav-dot {
    border-width: 3px;
    background-color: rgba(255, 255, 255, 0.8);
    border-color: white;
  }
  
  .gallery-nav-dot.active {
    background-color: white;
    box-shadow: 0 0 0 2px black;
  }
  
  .gallery-expand-btn {
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid white;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .gallery-nav-dot,
  .gallery-expand-btn,
  .hero-image {
    transition: none;
  }
  
  .gallery-nav-dot::after {
    transition: none;
  }
  
  .property-card:hover .hero-image {
    transform: none;
  }
}

/* ===== INTERACTIVE STATES ===== */
/* Touch devices */
@media (hover: none) and (pointer: coarse) {
  .gallery-nav-dot:hover {
    background-color: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.7);
    transform: scale(1);
    box-shadow: none;
  }
  
  .gallery-expand-btn:hover {
    background: rgba(0, 0, 0, 0.75);
    transform: none;
    box-shadow: none;
  }
}

/* Ensure dots are clickable on all devices */
.gallery-nav-dot {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.gallery-expand-btn {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* ===== GALLERY DOTS - FINAL VERSION ===== */
/* Voeg deze CSS toe aan photo_prominent_css.css of als aparte stylesheet */

/* Verbeterde Gallery Navigation - Arrows */
.gallery-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  padding: 0 20px;
  z-index: 5;
  pointer-events: none;
}

/* Gallery Arrow Buttons */
.gallery-nav-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, 1);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: none;
  position: relative;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  color: white;
  pointer-events: all;
  /* Ensure clickability */
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Hover effect */
.gallery-nav-arrow:hover {
  background-color: transparent;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Active state */
.gallery-nav-arrow:active {
  transform: scale(0.95);
  background-color: transparent;
}

/* Disabled state */
.gallery-nav-arrow.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: transparent;
}

.gallery-nav-arrow.disabled:hover {
  transform: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Loading animation */
.gallery-nav-arrow.loading {
  animation: arrowPulse 0.6s ease-in-out;
}

@keyframes arrowPulse {
  0%, 100% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

/* Focus state for accessibility */
.gallery-nav-arrow:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
}

/* Better visibility on dark images */
/* .gallery-navigation::before {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% + 60px);
  height: 70px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.3) 40%,
    rgba(0, 0, 0, 0.1) 80%,
    transparent 100%
  );
  border-radius: 35px;
  z-index: -1;
  pointer-events: none;
}

 *//* ===== GALLERY EXPAND BUTTON IMPROVEMENTS ===== */
.gallery-expand-btn {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  border: none;
  padding: 14px 20px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 6;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.gallery-expand-btn:hover {
  background: rgba(0, 0, 0, 0.95);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.4);
}

.gallery-expand-btn:active {
  transform: translateY(-1px) scale(1.02);
  transition: transform 0.1s ease;
}

.gallery-expand-btn svg {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.gallery-expand-btn:hover svg {
  transform: scale(1.1) rotate(5deg);
}

/* Focus state */
.gallery-expand-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
}

/* ===== HERO IMAGE IMPROVEMENTS ===== */
.hero-image {
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.property-card:hover .hero-image {
  transform: scale(1.02);
  filter: brightness(1.05) contrast(1.05) saturate(1.1);
}

/* Subtle clickable indicator */
.image-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.05) 75%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

.property-card:hover .image-wrapper::after {
  opacity: 1;
}

/* ===== RESPONSIVE IMPROVEMENTS ===== */

/* Tablet adjustments */
@media (max-width: 1024px) {
  .gallery-navigation {
    gap: 10px;
    margin-bottom: 18px;
  }
  
  .gallery-nav-dot {
    width: 13px;
    height: 13px;
  }
  
  .gallery-expand-btn {
    padding: 12px 18px;
    font-size: 13px;
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .gallery-navigation {
    padding: 0 15px;
  }

  .gallery-nav-arrow {
    width: 40px;
    height: 40px;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  .gallery-nav-arrow:hover {
    transform: scale(1.05);
  }
  
  .gallery-expand-btn {
    bottom: 15px;
    left: 15px;
    padding: 10px 16px;
    font-size: 13px;
    border-radius: 20px;
  }
  
  .gallery-navigation::before {
    height: 60px;
    width: calc(100% + 40px);
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .gallery-navigation {
    padding: 0 10px;
  }

  .gallery-nav-arrow {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
  
  .gallery-expand-btn {
    bottom: 12px;
    left: 12px;
    padding: 8px 14px;
    font-size: 12px;
  }
  
  /* Hide text on very small screens */
  .gallery-expand-btn span {
    display: none;
  }
  
  .gallery-expand-btn {
    min-width: 40px;
    justify-content: center;
  }
}

/* Extra small screens */
@media (max-width: 360px) {
  .gallery-nav-arrow {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .gallery-navigation {
    padding: 0 8px;
  }
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */

/* High contrast mode */
@media (prefers-contrast: high) {
  .gallery-nav-arrow {
    border-width: 3px;
    background-color: transparent;
    border-color: #000;
    color: #000;
    box-shadow: 0 0 0 2px white;
  }

  .gallery-nav-arrow:hover {
    background-color: transparent;
  }
  
  .gallery-expand-btn {
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid white;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .gallery-nav-arrow,
  .gallery-expand-btn,
  .hero-image,
  .image-wrapper::after {
    transition: none;
  }

  .property-card:hover .hero-image {
    transform: none;
    filter: none;
  }

  .gallery-nav-arrow.loading {
    animation: none;
  }
}

/* Touch devices - remove hover effects */
@media (hover: none) and (pointer: coarse) {
  .gallery-nav-arrow:hover {
    background-color: transparent;
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  
  .gallery-expand-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: none;
    box-shadow: none;
  }
  
  .property-card:hover .hero-image {
    transform: none;
    filter: none;
  }
  
  .property-card:hover .image-wrapper::after {
    opacity: 0;
  }
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */

/* Use will-change for animations */
.gallery-nav-arrow {
  will-change: transform, background-color, box-shadow;
}

.gallery-expand-btn {
  will-change: transform, background-color;
}

.hero-image {
  will-change: transform, filter;
}

/* Reset will-change after animations */
.gallery-nav-arrow:not(:hover):not(:active):not(.loading) {
  will-change: auto;
}

.gallery-expand-btn:not(:hover):not(:active) {
  will-change: auto;
}

.property-card:not(:hover) .hero-image {
  will-change: auto;
}

/* ===== MOBILE SWIPE SUPPORT STYLES ===== */
/* Voeg deze CSS toe aan photo_prominent_css.css */

/* Swipe indicator - Verbeterde versie */
.swipe-indicator {
    position: absolute;
    bottom: 100px; /* Hoger geplaatst voor betere zichtbaarheid */
    left: 50%;
    transform: translateX(-50%);
    z-index: 100; /* Veel hogere z-index */
    pointer-events: none;
    animation: swipeHint 3s ease-in-out infinite;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 12px 28px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
}

/* Animated arrows */
.swipe-indicator::before,
.swipe-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 24px;
    height: 24px;
    border: 2px solid white;
    border-left: none;
    border-bottom: none;
}

.swipe-indicator::before {
    left: 12px;
    transform: translateY(-50%) rotate(-135deg);
    animation: arrowLeft 2s ease-in-out infinite;
}

.swipe-indicator::after {
    right: 12px;
    transform: translateY(-50%) rotate(45deg);
    animation: arrowRight 2s ease-in-out infinite;
}

/* Text styling */
.swipe-indicator-text {
    margin: 0 30px;
    display: block;
}

/* Animations */
@keyframes swipeHint {
    0%, 100% {
        opacity: 0.9;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.05);
    }
}

@keyframes arrowLeft {
    0%, 100% {
        transform: translateY(-50%) translateX(0) rotate(-135deg);
    }
    50% {
        transform: translateY(-50%) translateX(-4px) rotate(-135deg);
    }
}

@keyframes arrowRight {
    0%, 100% {
        transform: translateY(-50%) translateX(0) rotate(45deg);
    }
    50% {
        transform: translateY(-50%) translateX(4px) rotate(45deg);
    }
}

/* Fade out animation */
.swipe-indicator.fade-out {
    animation: fadeOut 0.5s ease-out forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(-50%) scale(0.9);
    }
}

/* Touch feedback */
.image-wrapper {
    position: relative;
    touch-action: pan-y pinch-zoom; /* Allow vertical scroll but handle horizontal swipes */
}

.image-wrapper.touching {
    cursor: grabbing;
}

.image-wrapper.touching .hero-image {
    transition: none !important; /* Disable transitions during touch */
}

/* Smooth image transitions */
.hero-image {
    transition: opacity 0.3s ease, transform 0.3s ease;
    will-change: transform, opacity;
}

/* Visual feedback during swipe */
.property-card .hero-image {
    backface-visibility: hidden; /* Prevent flickering */
    -webkit-backface-visibility: hidden;
}

/* Swipe hint for mobile */
@media (max-width: 768px) and (hover: none) {
    .gallery-navigation {
        background: transparent;
        padding: 8px 16px;
        border-radius: 20px;
        backdrop-filter: none;
    }
    
    /* Make dots more visible on mobile */
    .gallery-nav-dot {
        width: 12px;
        height: 12px;
        background-color: rgba(255, 255, 255, 0.6);
        border-color: rgba(255, 255, 255, 0.8);
    }
    
    .gallery-nav-dot.active {
        background-color: white;
        border-color: white;
        box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    }
}

/* Make sure image overlay doesn't block swipe indicator */
.image-overlay {
    pointer-events: none; /* Allows swipe through overlay */
}

.image-overlay .gallery-navigation,
.image-overlay .gallery-expand-btn,
.image-overlay .floating-rating {
    pointer-events: auto; /* But keeps these elements clickable */
}

/* Ensure swipe indicator is above gallery navigation */
.gallery-navigation {
    z-index: 50;
}

.swipe-indicator {
    z-index: 100; /* Higher than gallery navigation */
}

/* Hide swipe indicator on desktop */
@media (min-width: 769px) {
    .swipe-indicator {
        display: none;
    }
}

/* Performance optimizations for mobile */
@media (max-width: 768px) {
    .hero-image {
        /* Use GPU acceleration */
        transform: translateZ(0);
        will-change: transform;
    }
    
    /* Reduce motion for better performance */
    .property-card:hover .hero-image {
        transform: none;
    }
}

/* Accessibility - show swipe indicator for screen readers */
.swipe-indicator::before {
    content: "Swipe left or right to navigate images";
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Loading state for images */
.hero-image[style*="opacity: 0.8"] {
    filter: blur(2px);
}

/* Prevent text selection during swipe */
.image-wrapper {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* iOS specific fixes */
@supports (-webkit-touch-callout: none) {
    .image-wrapper {
        -webkit-touch-callout: none;
    }
    
    .hero-image {
        -webkit-transform: translateZ(0);
    }
}

/* Android specific optimizations */
@media (max-width: 768px) {
    .image-wrapper {
        -webkit-tap-highlight-color: transparent;
    }
}

/* Swipe indicator variations for different screen sizes */
@media (max-width: 768px) {
    .swipe-indicator {
        bottom: 120px; /* Nog hoger op kleinere schermen */
        font-size: 13px;
        padding: 10px 24px;
    }
}

@media (max-width: 480px) {
    .swipe-indicator {
        bottom: 100px;
        transform: translateX(-50%) scale(0.9);
        font-size: 12px;
        padding: 8px 20px;
    }
    
    .swipe-indicator::before,
    .swipe-indicator::after {
        width: 20px;
        height: 20px;
    }
    
    .swipe-indicator-text {
        margin: 0 25px;
    }
}

@media (max-width: 360px) {
    .swipe-indicator {
        bottom: 80px;
        transform: translateX(-50%) scale(0.85);
    }
}

/* Smooth transitions between images */
.hero-image.transitioning {
    opacity: 0.8;
    transform: scale(0.98);
}

/* Disable hover effects on touch devices */
@media (hover: none) {
    .property-card:hover .hero-image {
        transform: none;
        filter: brightness(1.1) contrast(1.05) saturate(1.1);
    }
}

/* Enhanced visual feedback for swipe */
.image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(0,0,0,0.1) 0%, 
        transparent 20%, 
        transparent 80%, 
        rgba(0,0,0,0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.image-wrapper.touching::after {
    opacity: 1;
}
/* Gallery Modal Styles */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease-in-out;
}

.gallery-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.gallery-modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s ease;
}

.gallery-modal-close:hover,
.gallery-modal-close:focus {
    color: #ccc;
}

.gallery-modal-image-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#gallery-modal-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.gallery-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.gallery-modal-prev,
.gallery-modal-next {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 24px;
    font-weight: bold;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    pointer-events: all;
    user-select: none;
    backdrop-filter: blur(10px);
}

.gallery-modal-prev:hover,
.gallery-modal-next:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.gallery-modal-prev {
    margin-left: -50px;
}

.gallery-modal-next {
    margin-right: -50px;
}

.gallery-modal-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 16px;
    backdrop-filter: blur(10px);
}

/* Fade in animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .gallery-modal-close {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }

    .gallery-modal-prev,
    .gallery-modal-next {
        font-size: 20px;
        padding: 12px 16px;
        margin-left: -30px;
        margin-right: -30px;
    }

    .gallery-modal-prev {
        margin-left: -30px;
    }

    .gallery-modal-next {
        margin-right: -30px;
    }

    .gallery-modal-counter {
        bottom: 20px;
        font-size: 14px;
        padding: 8px 16px;
    }

    .gallery-modal-image-container {
        max-width: 95%;
        max-height: 85%;
    }
}

/* Touch devices - larger touch targets */
@media (hover: none) and (pointer: coarse) {
    .gallery-modal-prev,
    .gallery-modal-next {
        padding: 20px 25px;
        font-size: 28px;
    }
}