/* coverage-map.css - COMPLETE WITH FIXED MODAL */

/* Location Cards Grid */
.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Adjusted minmax to fit better */
  gap: 2rem;
  padding: 2rem 0;
  max-width: 1200px;
  margin: 0 auto;
}

.location-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08); /* Slightly more pronounced default shadow */
  border: none; /* No border by default */
  transition: all 0.3s ease; /* Keep all for simplicity unless specific issues arise */
  /* cursor: pointer; -- Removed as link overlay handles cursor */
  position: relative; /* Needed for absolute positioning of overlay */
  overflow: hidden;
  height: 100%; /* Important for grid layout consistency */
  display: flex;
  flex-direction: column;
}

.location-card:hover,
.location-card:focus,
.location-card:focus-within { /* focus-within for child elements */
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15); /* Still enhance shadow */
  border: none !important; /* Explicitly remove border */
  outline: none !important; /* Force remove outline */
}

/* Also ensure the link overlay doesn't have an outline */
.location-card-link-overlay:hover,
.location-card-link-overlay:focus,
.location-card-link-overlay:focus-visible { /* For keyboard focus ring */
    outline: none !important;
    border: none !important; /* Also try removing border on the link itself */
    box-shadow: none !important; /* Remove any default box-shadow on the link */
}

.location-card-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Make it clickable */
    text-decoration: none; /* Inherit link styling */
    color: transparent; /* Hide text, if any */
    cursor: pointer;
}

.location-card:hover .location-card-link-overlay {
    /* Optional: add hover effect to the overlay if needed */
}

/* Ensure actions buttons are clickable over the overlay */
.card-actions {
  display: flex;
  gap: 0.75rem;
  position: relative; /* Positioned relative to ensure z-index works */
  z-index: 2; /* Ensure buttons are above the overlay */
}

.view-details-btn, .directions-btn {
    position: relative; /* Ensure these are above the overlay */
    z-index: 2;
}


.location-card-img-top-placeholder {
  width: 100%;
  height: 200px; /* Placeholder height, can be adjusted */
  background-color: var(--background-light, #f8f9fa); /* Light background for placeholder */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light, #6b7280);
  font-size: 3rem;
  object-fit: cover; /* Ensure any actual image inserted later covers */
  object-position: center;
}

.location-card-img-top-placeholder i {
    width: 3rem; /* Lucide icon size */
    height: 3rem;
}

.location-card .card-header,
.location-card .card-address,
.location-card .card-services,
.location-card .card-actions {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.location-card .card-header {
    padding-top: 1.5rem; /* Add top padding similar to product-card-body */
}

.location-card .card-actions {
    padding-top: 1.5rem; /* Added padding to separate from image */
    padding-bottom: 1.5rem; /* Add bottom padding similar to product-card-body */
    margin-top: auto; /* Push actions to the bottom */
}





.location-card.central-london::before { background: linear-gradient(90deg, #dc2626, #ef4444); }
.location-card.greater-london::before { background: linear-gradient(90deg, #059669, #10b981); }
.location-card.outer-london::before { background: linear-gradient(90deg, #7c3aed, #8b5cf6); }

.card-header {
  display: flex;
  justify-content: center; /* Changed from space-between */
  align-items: flex-start;
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
  /* flex: 1; - Removed */
  text-align: center;
}

.area-badge {
  background: #f3f4f6;
  color: #6b7280;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-left: 0.5rem;
  white-space: nowrap;
}

.card-address {
  color: #6b7280;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.card-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.service-tag {
  background: #eff6ff;
  color: #1d4ed8;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid #dbeafe;
}

.service-tag:nth-child(2) { background: #f0fdf4; color: #166534; border-color: #dcfce7; }
.service-tag:nth-child(3) { background: #fef7cd; color: #854d0e; border-color: #fef9c3; }

.card-actions {
  display: flex;
  gap: 0.75rem;
}

.view-details-btn {
  background: #3b82f6;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease;
  width: 100%; /* Make button wide */
  display: block; /* Ensure it behaves as a block element for text-align */
  text-align: center; /* Ensure text is centered horizontally */
}

.view-details-btn:hover {
  background: #2563eb;
}

.directions-btn {
  background: white;
  color: #374151;
  border: 1px solid #d1d5db;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.directions-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

/* Search & Filters */
.location-filters {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.search-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.search-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.area-filter {
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: white;
  font-size: 1rem;
  min-width: 150px;
  transition: border-color 0.2s ease;
}

.area-filter:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* ==================== */
/* FIXED MODAL STYLES */
/* ==================== */

.location-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
}

.location-modal[aria-hidden="false"] {
  display: block;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 10001;
}

.modal-container {
  position: fixed;
  top: 5%;
  left: 5%;
  right: 5%;
  bottom: 5%;
  display: flex;
  z-index: 10002;
  background: white;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.modal-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10003;
  transition: all 0.2s ease;
}

.close-modal:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.location-details {
  flex: 1;
  overflow-y: auto;
  padding: 2rem;
}

/* Sticky Sidebar Navigator */
.location-navigator {
  width: 150px;
  background: white;
  display: flex;
  flex-direction: column;
  border-left: 1px solid #e5e7eb;
  z-index: 10002;
}

.nav-header {
  padding: 1.5rem 1rem 1rem;
  border-bottom: 1px solid #e5e7eb;
  background: #f8fafc;
}

.nav-header h4 {
  margin: 0;
  font-size: 1rem;
  color: #1f2937;
  text-align: center;
}

.location-list {
  overflow-y: auto;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.nav-item {
  display: block;
  padding: 0.75rem 0.5rem;
  margin: 0.25rem 0;
  border-radius: 6px;
  color: #6b7280;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  cursor: pointer;
  text-align: center;
  border: none;
  background: none;
  width: 100%;
}

.nav-item:hover {
  background: #f3f4f6;
  color: #374151;
}

.nav-item.active {
  background: #3b82f6;
  color: white;
  font-weight: 500;
}

/* Location Details Content */
.location-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.location-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 0.5rem 0;
}

.location-meta {
  display: flex;
  gap: 2rem;
  color: #6b7280;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.location-phone a {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
}

.location-phone a:hover {
  text-decoration: underline;
}

.location-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.location-gallery img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.location-services h3,
.location-hours h3,
.location-description h3 {
  color: #1f2937;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.service-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
}

.service-list li::before {
  content: '✓';
  color: #10b981;
  font-weight: bold;
  margin-right: 0.5rem;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  background: #f8fafc;
  border-radius: 8px;
  overflow: hidden;
}

.hours-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.hours-table tr:last-child td {
  border-bottom: none;
}

.hours-table tr td:first-child {
  font-weight: 600;
  color: #374151;
}

.location-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.btn-primary {
  background: #3b82f6;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s ease;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  background: #2563eb;
  color: white;
  text-decoration: none;
}

.btn-secondary {
  background: white;
  color: #374151;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  border: 1px solid #d1d5db;
  transition: all 0.2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary:hover {
  background: #f9fafb;
  text-decoration: none;
  border-color: #9ca3af;
}

.btn-link {
  color: #6b7280;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-link:hover {
  color: #374151;
  text-decoration: underline;
}

/* Loading States */
.loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 3rem;
  color: #9ca3af; /* Softer gray color */
  grid-column: 1 / -1;
  font-size: 0.9rem; /* Slightly smaller text */
}

.loading-spinner i {
  width: 1.5rem; /* Smaller icon */
  height: 1.5rem; /* Smaller icon */
}

.spinning {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Error and No Results States */
.no-results, .error-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: #6b7280;
}

.no-results i, .error-message i {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

.error-message {
  color: #dc2626;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .location-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }
  
  .location-filters {
    flex-direction: column;
    margin: 1rem auto;
  }
  
  .modal-container {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    border-radius: 0;
  }
  
  .location-navigator {
    width: 100%;
    height: 80px;
    margin-left: 0;
    margin-top: 0;
    flex-direction: row;
    overflow-x: auto;
    border-left: none;
    border-top: 1px solid #e5e7eb;
  }
  
  .nav-header {
    display: none;
  }
  
  .location-list {
    display: flex;
    padding: 0.5rem;
    gap: 0.5rem;
  }
  
  .nav-item {
    flex: 0 0 auto;
    white-space: nowrap;
    margin: 0;
    padding: 0.5rem 1rem;
  }
  
  .location-details {
    padding: 1rem;
  }
  
  .location-actions {
    flex-direction: column;
  }
  
  .location-title {
    font-size: 1.5rem;
  }
  
  .location-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Section container from your main CSS */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.locations-section {
  padding: 2rem 0;
}

/* Variables from homepage-main, adapted for location pages */
:root {
    /* Ensure these variables are defined if not globally available */
    /* If --service-location is meant to be primary, adapt --primary-blue to it */
    --primary-blue: var(--service-location, #1e40af); /* Use service-location if defined, otherwise default */
    --primary-dark: #1e3a8a; /* Keep as is or map to a darker service-location */
    --primary-light: #3b82f6; /* Keep as is or map to a lighter service-location */
    --accent-gold: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --background-white: #ffffff;
    --background-light: #f8fafc;
    --border-light: #e5e7eb;
    --success-green: #10b981;
    --emergency-red: #ef4444;
    --emergency-dark-red: #dc2626;
}

/* General Section Styling */
.homepage-section-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: clamp(0.5rem, 1.5vw, 1rem);
}

.homepage-section-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-light);
    max-width: min(600px, 90vw);
    margin: 0 auto;
    line-height: 1.5;
}



/* Operational Excellence Section */
.operational-excellence-section {
    padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 3vw, 2rem);
    background-color: var(--background-light);
    text-align: center;
}

.excellence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    text-align: left;
}

.excellence-card {
    background: var(--background-white);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.excellence-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.excellence-icon {
    background-color: var(--service-location-light, rgba(220, 38, 38, 0.1));
    color: var(--service-location, #dc2626);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.excellence-icon i {
    width: 32px;
    height: 32px;
}

.excellence-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.excellence-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* Service Links Section */
.our-services-links-section {
  background-color: white; /* Ensure the section background is white */
  padding: 4rem 0; /* Adjust padding as needed */
}

.service-link-box {
  border: 1px solid var(--border-light);
  border-radius: 8px; /* Make it a box with rounded edges */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  color: var(--text-dark); /* Ensure text color is readable */
  text-decoration: none; /* Ensure link styling is removed */
}

.service-link-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-color: var(--location-theme-color); /* Highlight on hover */
}

.service-link-icon {
  width: 48px;
  height: 48px;
  color: var(--location-theme-color); /* Use theme color for icons */
}

/* ========================================= */
/* NEW LOCATION DETAIL PAGE STYLES (2025)    */
/* ========================================= */

.location-detail-page {
  --location-theme-color: #dc2626; /* Default: Red */
  background-color: white; /* Changed from #f8f9fa to white */
}

/* Hero Section */
.location-hero {
  padding: 10rem 0; /* Increased vertical padding to make it vertically longer */
  background-color: var(--location-theme-color);
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/assets/images/pages/contact/call-center.webp');
  background-size: cover;
  background-position: center;
  text-align: center;
  color: white;
}

.location-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.location-hero-tagline {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.location-hero-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.location-hero-cta-outside {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem; /* Add some space below the hero section */
  margin-bottom: 2rem; /* Add some space below the buttons */
}

/* General Section Styling */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--location-theme-color);
  margin-bottom: 1rem;
}

/* Location Details Section */
.location-details-section {
  padding: 4rem 0;
  background-color: white;
}

.detail-card {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  height: 100%;
}

.detail-card .lead {
  color: #495057;
  line-height: 1.7;
}

.detail-card .service-tag {
  display: inline-block;
  background: var(--service-location-light, rgba(220, 38, 38, 0.1));
  color: var(--service-location, #dc2626);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  margin: 0.25rem;
  font-weight: 500;
}

.detail-card .hours-table {
  width: 100%;
  margin-top: 1rem;
}
.detail-card .hours-table td {
  padding: 0.75rem;
  border-bottom: 1px solid #dee2e6;
}
.detail-card .hours-table tr:last-child td {
  border-bottom: none;
}
.detail-card .hours-table td:first-child {
  font-weight: 500;
}

/* Interactive Map Section */
.location-map-section {
  padding: 4rem 0;
  background-color: white; /* Changed from #343a40 to white */
  color: var(--text-dark); /* Changed from white to text-dark for readability */
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.75);
}

#map {
  height: 450px;
  border-radius: 8px;
  border: 3px solid white;
}

.postcode-display-card {
    background: var(--background-light); /* Changed to light background */
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.postcode-display-card .section-subtitle {
    color: var(--text-dark); /* Changed from white to text-dark for readability */
    margin-bottom: 1rem;
}

.postcode-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.postcode-list li {
  background-color: var(--background-white); /* Changed from rgba(255, 255, 255, 0.1) to white */
  color: var(--text-dark); /* Changed from white to text-dark for readability */
  border: 1px solid var(--border-light); /* Added border for definition */
  padding: 0.6rem 1rem;
  border-radius: 25px;
  font-family: monospace;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.postcode-list li:hover {
  background-color: var(--background-white) !important; /* Changed to white for light theme */
  color: var(--text-dark) !important; /* Changed to dark text for readability on white */
}

/* Operational Excellence Container */
.operational-excellence-container {
    padding: 4rem 0;
    background: #fff;
}
.operational-excellence-container .homepage-section-title {
    text-align: center;
    color: var(--location-theme-color);
}
.operational-excellence-container .homepage-section-subtitle {
     text-align: center;
}

/* Ensuring leaflet popup is styled nicely */
.leaflet-popup-content-wrapper {
    border-radius: 8px;
}
.leaflet-popup-content {
    font-size: 1rem;
    color: #333;
}
.leaflet-popup-content b {
    color: var(--location-theme-color);
}
.leaflet-container a.leaflet-popup-close-button {
    color: #555;
    padding: 8px 8px 0 0;
}

/* Service Cards Grid (replacing accordion for services) */
.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-card-box {
    background: var(--background-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-card-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: var(--location-primary-color);
}

.service-card-icon {
    width: 60px;
    height: 60px;
    background: var(--location-primary-color-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--location-primary-color);
}

.service-card-icon i {
    width: 32px;
    height: 32px;
}

.service-card-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

/* Styling for the new Modal Content */
.location-modal-content {
    background-color: white; /* Default background */
    border-radius: 12px;
    overflow: hidden;
    color: var(--text-dark);
}

.modal-hero {
    background-size: cover;
    background-position: center;
    color: white;
    padding: 3rem 1.5rem;
    text-align: center;
    position: relative;
}

.modal-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
    z-index: 1;
}

.modal-hero-title, .modal-hero-tagline {
    position: relative;
    z-index: 2;
}

.modal-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.modal-hero-tagline {
    font-size: 1.1rem;
    opacity: 0.9;
}

.modal-details-section,
.modal-services-section,
.modal-hours-section,
.modal-faq-section,
.modal-gallery-section {
    padding: 1.5rem;
}

.modal-details-section h3,
.modal-services-section h3,
.modal-hours-section h3,
.modal-faq-section h3,
.modal-gallery-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.modal-services-section ul li i {
    color: var(--location-primary-color); /* Use theme color for icons */
}

.modal-hours-section .list-group-item {
    font-size: 1rem;
}

.modal-gallery-section .carousel-item img {
    max-height: 250px;
    object-fit: cover;
}

.modal-actions-footer {
    padding: 1rem;
    background-color: var(--background-light);
    border-top: 1px solid var(--border-light);
}

.modal-actions-footer .btn {
    flex-grow: 1;
    text-align: center;
}

/* Accordion in Modal (similar to service-accordion) */
.modal-faq-section .accordion-button {
    font-weight: 600;
    color: var(--text-dark);
}

.modal-faq-section .accordion-button:not(.collapsed) {
    color: var(--location-primary-color);
    background-color: var(--location-primary-color-lighter);
}

.modal-faq-section .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}