/**
 * ================================================================================
 * SERVICE AREA PAGE STYLES
 * Streamline Dumpsters Ltd. - Local SEO Optimized Service Area Showcase
 * ================================================================================
 *
 * PURPOSE:
 * - Professional service area presentation
 * - Local SEO optimized layout
 * - Clean, accessible design matching site branding
 * - Mobile-responsive location showcase
 *
 * DEPENDENCIES:
 * - base.css (foundational styles)
 *
 * COMPONENTS STYLED:
 * - Breadcrumb navigation
 * - Hero section with service area overview
 * - Location grid and cards
 * - Service information sections
 * - Call-to-action sections
 *
 * ================================================================================
 */

/* =============================================================================
   BREADCRUMB NAVIGATION
   ============================================================================= */

/* =============================================================================
   SERVICE AREA PAGE LAYOUT
   ============================================================================= */

.service-area-page {
  padding-top: 0;
}

/* =============================================================================
   HERO SECTION
   ============================================================================= */

.hero-section {
  display: flex;
  min-height: 60vh;
  color: white;
}

/* Hero split layout */
.hero-image-half {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-content-half {
  flex: 1;
  background: #01b0bb;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.hero-content-inner {
  max-width: 500px;
  text-align: center;
}

.page-title {
  font-size: var(--fz-h1);
  font-weight: bold;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: var(--fz-h2);
  font-weight: 600;
  margin-bottom: 1.5rem;
  opacity: 0.95;
  line-height: 1.3;
}

.service-description {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 1.5rem auto;
  line-height: 1.6;
  opacity: 0.9;
}

.hero-urgency {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.urgency-badge {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
  color: #01b0bb;
  padding: 0.625rem 1.25rem;
  border-radius: 24px;
  font-size: 0.875rem;
  font-weight: 700;
  border: 2px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  cursor: default;
}

.urgency-badge svg {
  flex-shrink: 0;
}

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

.btn--hero {
  padding: 0.875rem 2rem;
  font-size: 1.05rem;
  font-weight: 600;
  min-width: 180px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn--hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.btn--outline.btn--hero {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  color: white;
  backdrop-filter: blur(4px);
}

.btn--outline.btn--hero:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
}

/* =============================================================================
   COVERAGE OVERVIEW SECTION
   ============================================================================= */

.coverage-overview {
  padding: 4rem 0;
  background: var(--color-white);
}

.section-heading {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-text);
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-intro {
  font-size: 1.2rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
  line-height: 1.6;
  color: #475569;
  font-weight: 500;
}

.locations-preview {
  max-width: 1000px;
  margin: 0 auto;
}

.service-areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2.5rem;
}

.area-card {
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(1, 176, 187, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.area-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), #00d4aa);
}

.area-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(1, 176, 187, 0.15);
  border-color: rgba(1, 176, 187, 0.2);
}

.area-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.area-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-text);
  line-height: 1.3;
}

.area-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 0;
}

.area-item {
  background: rgba(1, 176, 187, 0.08);
  color: var(--color-primary);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.9rem;
  border: 1px solid rgba(1, 176, 187, 0.15);
  transition: all 0.2s ease;
}

.area-item:hover {
  background: rgba(1, 176, 187, 0.15);
  transform: scale(1.05);
}

.service-note {
  text-align: center;
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(1, 176, 187, 0.1);
  border-radius: var(--radius);
  border: 1px solid rgba(1, 176, 187, 0.2);
}

.service-note p {
  margin: 0;
  font-size: 1rem;
  color: var(--color-text);
}

.service-note .btn {
  margin-top: 1rem;
}

.service-note .btn svg {
  vertical-align: middle;
  margin-right: 0.5rem;
}

/* =============================================================================
   INTERACTIVE LOCATION SHOWCASE
   ============================================================================= */

.locations-showcase {
  padding: 4rem 0;
  background: var(--color-white);
}

.locations-showcase h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--color-text);
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.locations-showcase > .container > p {
  text-align: center;
  color: #6b7280;
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

/* Location Grid */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.location-card {
  background: var(--color-white);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid #e5e7eb;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  display: flex;
  min-height: 200px;
  height: auto;
}

.location-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  width: 100%;
}

.location-card p {
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0.5rem 0 0 0;
  overflow-wrap: break-word;
  hyphens: auto;
}

.location-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.location-card.primary-area:not(.has-bg-image) {
  border-color: var(--color-primary);
  background: rgba(1, 176, 187, 0.02);
}

.location-card.primary-area:not(.has-bg-image):hover {
  border-color: var(--color-primary-dark);
  background: rgba(1, 176, 187, 0.05);
}

.location-card.primary-area.has-bg-image {
  border-color: var(--color-primary);
}

.location-card.primary-area.has-bg-image:hover {
  border-color: var(--color-primary-dark);
}

.location-card.secondary-area {
  border-color: var(--color-primary);
}

.location-card.secondary-area:hover {
  border-color: var(--color-primary-dark);
}

.location-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.location-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
  transition: color var(--transition-fast);
}

.location-card:hover h3 {
  color: var(--color-primary-dark);
}

.location-card p {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
  transition: color var(--transition-fast);
}

.location-card:hover p {
  color: var(--color-text);
}


/* =============================================================================
   SERVICE INFO SECTION
   ============================================================================= */

.service-info {
  padding: 4rem 0;
  background: var(--color-white);
}

.service-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.feature {
  text-align: center;
  padding: 1.5rem;
}

.feature h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.feature p {
  line-height: 1.6;
  margin: 0;
  color: var(--color-text);
}

/* =============================================================================
   CALL-TO-ACTION SECTION
   ============================================================================= */

.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(1, 176, 187, 0.05) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-visual-element {
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), #00d4aa);
  margin: 0 auto 2rem;
  border-radius: 2px;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--color-text);
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  color: #475569;
  font-weight: 500;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn--enhanced {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: none;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn--enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn--enhanced:hover::before {
  left: 100%;
}

.btn--primary.btn--enhanced {
  background: linear-gradient(135deg, var(--color-primary), #00a99c);
  box-shadow: 0 4px 16px rgba(1, 176, 187, 0.3);
}

.btn--primary.btn--enhanced:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(1, 176, 187, 0.4);
}

.btn--secondary.btn--enhanced {
  background: linear-gradient(135deg, #64748b, #475569);
  box-shadow: 0 4px 16px rgba(100, 116, 139, 0.3);
}

.btn--secondary.btn--enhanced:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(100, 116, 139, 0.4);
}

.cta-visual-accent {
  width: 60px;
  height: 60px;
  border: 3px solid rgba(1, 176, 187, 0.2);
  border-radius: 50%;
  margin: 2rem auto 0;
  position: relative;
}

.cta-visual-accent::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  background: linear-gradient(45deg, var(--color-primary), #00d4aa);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.2); }
}

/* =============================================================================
   RESPONSIVE DESIGN
   ============================================================================= */

/* Tablet and Desktop styles - Restore side-by-side layout */
@media (min-width: 769px) {
  .hero-section {
    min-height: 70vh;
    display: flex;
    flex-direction: row;
    position: static;
    background-image: none;
  }

  .hero-image-half {
    display: block;
    flex: 1;
    position: relative;
    overflow: hidden;
  }

  .hero-content-half {
    flex: 1;
    background: #01b0bb;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    position: static;
    transform: none;
    width: auto;
    max-width: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
  }

  .hero-content-inner {
    max-width: 500px;
    text-align: center;
  }

  .page-title {
    font-size: 3rem;
    text-shadow: none;
  }

  .hero-subtitle {
    font-size: 2rem;
    text-shadow: none;
  }

  .service-description {
    font-size: 1.2rem;
    text-shadow: none;
  }

  .service-areas-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-heading {
    font-size: 3rem;
  }

  .cta-content h2 {
    font-size: 3rem;
  }

  /* Grid responsive - Tablet */
  .locations-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .location-card {
    padding: 1.25rem;
  }
}

/* Desktop styles */
@media (min-width: 1024px) {
  .hero-section {
    min-height: 80vh;
  }

  .hero-content-half {
    padding: 4rem;
  }

  .page-title {
    font-size: 3.5rem;
  }

  .locations-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

/* Mobile styles - Convert to overlay design */
@media (max-width: 768px) {
  .hero-section {
    min-height: 70vh;
    flex-direction: column;
    position: relative;
    background-image: url('../assets/img/plaincity.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .hero-image-half {
    display: none; /* Hide the separate image container on mobile */
  }

  .hero-content-half {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    background: rgba(1, 176, 187, 0.85); /* 85% opacity turquoise overlay */
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
  }

  .hero-content-inner {
    max-width: none;
    text-align: center;
  }

  .page-title {
    font-size: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }

  .hero-subtitle {
    font-size: 1.3rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  }

  .service-description {
    font-size: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  }
}

/* Smaller mobile adjustments */
@media (max-width: 480px) {
  .hero-section {
    min-height: 60vh;
  }

  .hero-content-half {
    width: 95%;
    padding: 1.5rem;
  }

  .page-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .service-description {
    font-size: 0.95rem;
  }

  .service-areas-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .area-card {
    padding: 2rem;
  }

  .area-card h3 {
    font-size: 1.3rem;
  }

  .area-icon {
    font-size: 2rem;
  }

  .section-heading {
    font-size: 2rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .btn--enhanced {
    width: 100%;
    max-width: 280px;
  }

  /* Grid responsive - Mobile */
  .locations-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 400px;
  }

  .location-card {
    padding: 1rem;
    min-height: auto;
  }

  .location-card h3 {
    font-size: 1rem;
  }

  .location-card p {
    font-size: 0.9rem;
  }
}

/* =============================================================================
   INDIVIDUAL LOCATION PAGES
   ============================================================================= */

.benefit-card {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--color-primary);
  transition: all var(--transition-fast);
}

.benefit-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.benefit-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.benefit-card p {
  margin: 0;
  line-height: 1.6;
  color: var(--color-text);
}

.area-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.5rem;
}

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

.area-list li::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: bold;
  margin-right: 0.5rem;
  font-size: 1.1rem;
}

/* Location page responsive design */

@media (max-width: 480px) {

  .benefit-card {
    padding: 1.5rem;
  }

  .service-areas-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================================================
   ACCESSIBILITY AND REDUCED MOTION
   ============================================================================= */

@media (prefers-reduced-motion: reduce) {
  .location-card {
    transition: none;
  }

  .location-card:hover {
    transform: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .location-card {
    border: 2px solid ButtonText;
  }

  .service-note {
    border: 2px solid ButtonText;
  }
}

/* =============================================================================
   SERVICE GALLERY CAROUSEL SECTION
   ============================================================================= */

.service-gallery {
  padding: 4rem 0;
  background: var(--bg-primary);
}

.service-gallery .section-heading {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-size: var(--fz-h1);
  font-weight: bold;
}

.service-gallery .section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: var(--text-secondary);
  font-size: var(--fz-lg);
}

/* Carousel Wrapper */
.gallery-carousel-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* Navigation Arrows */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gallery-nav:hover {
  background: var(--color-primary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 16px rgba(1, 176, 187, 0.3);
}

.gallery-nav:hover svg {
  stroke: white;
}

.gallery-nav svg {
  stroke: var(--color-primary);
  transition: stroke 0.3s ease;
}

.gallery-nav-prev {
  left: -24px;
}

.gallery-nav-next {
  right: -24px;
}

/* Carousel Container */
.gallery-carousel {
  overflow: hidden;
  border-radius: var(--radius-lg);
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

/* Carousel Track */
.gallery-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

/* Gallery Items */
.gallery-item {
  flex: 0 0 100%;
  width: 100%;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  background: #ffffff;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  border: 1px solid rgba(1, 176, 187, 0.1);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  box-shadow: 0 15px 50px rgba(1, 176, 187, 0.25);
  transform: scale(1.02);
  border-color: rgba(1, 176, 187, 0.3);
}

.gallery-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  background: #f8f9fa;
  transition: transform 0.3s ease;
}

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

.gallery-caption {
  padding: 1.5rem;
  text-align: center;
  font-weight: 700;
  color: var(--color-primary);
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  font-size: 1.1rem;
  border-top: 2px solid rgba(1, 176, 187, 0.2);
  letter-spacing: 0.3px;
}

/* Hide old navigation arrows comment - now visible */

/* Carousel Dots */
.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.gallery-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-gray-300);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  padding: 0;
}

.gallery-dot:hover {
  background: var(--color-gray-400);
  transform: scale(1.2);
}

.gallery-dot.active {
  background: var(--color-primary);
  width: 32px;
  border-radius: 6px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .service-gallery {
    padding: 3rem 0;
  }

  .gallery-carousel-wrapper {
    padding: 0 1rem;
  }

  .gallery-nav {
    width: 40px;
    height: 40px;
  }

  .gallery-nav-prev {
    left: -12px;
  }

  .gallery-nav-next {
    right: -12px;
  }

  .gallery-img {
    max-width: 100%;
  }

  .service-gallery .section-heading {
    font-size: var(--fz-h2);
  }

  .service-gallery .section-intro {
    font-size: var(--fz-base);
    margin-bottom: 2rem;
  }

  .gallery-caption {
    padding: 1rem;
    font-size: var(--fz-base);
  }
}

@media (max-width: 480px) {
  .gallery-carousel-wrapper {
    padding: 0 0.5rem;
  }

  .gallery-img {
    max-width: 100%;
  }

  .gallery-caption {
    font-size: var(--fz-sm);
  }
}

/* =============================================================================
   LOCATION CARDS WITH BACKGROUND IMAGES
   ============================================================================= */

/* Optional: Add background image support to location cards */
.location-card.has-bg-image {
  position: relative;
  min-height: 280px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0;
  overflow: hidden;
}

.location-card.has-bg-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 1;
  transition: background var(--transition-base);
}

.location-card.has-bg-image:hover::before {
  background: linear-gradient(
    to bottom,
    rgba(1, 176, 187, 0.4) 0%,
    rgba(1, 176, 187, 0.8) 100%
  );
}

.location-card.has-bg-image .location-link {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.location-card.has-bg-image .location-icon {
  display: none;
}

.location-card.has-bg-image h3 {
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.location-card.has-bg-image p {
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  font-size: 0.95rem;
  line-height: 1.5;
}

.location-card.has-bg-image:hover h3 {
  color: white;
}

.location-card.has-bg-image:hover p {
  color: rgba(255, 255, 255, 0.95);
}

/* Individual location background images (add when photos are ready) */
/* Uncomment and update paths when you add the images */
/*
.location-card[data-location="dublin"].has-bg-image {
  background-image: url('../assets/img/dublin-location.jpg');
}

.location-card[data-location="hilliard"].has-bg-image {
  background-image: url('../assets/img/hilliard-location.jpg');
}

.location-card[data-location="plain-city"].has-bg-image {
  background-image: url('../assets/img/plaincity-location.jpg');
}

.location-card[data-location="worthington"].has-bg-image {
  background-image: url('../assets/img/worthington-location.jpg');
}

.location-card[data-location="upper-arlington"].has-bg-image {
  background-image: url('../assets/img/upper-arlington-location.jpg');
}

.location-card[data-location="powell"].has-bg-image {
  background-image: url('../assets/img/powell-location.jpg');
}
*/

/* Location-specific background images */
.bg-dublin { background-image: url('../assets/img/DublinOhio.jpg'); }
.bg-hilliard { background-image: url('../assets/img/HilliardOhio.jpg'); }
.bg-plain-city { background-image: url('../assets/img/PlainCityOhio.jpg'); }
.bg-worthington { background-image: url('../assets/img/WothingtonOhio.jpg'); }
.bg-upper-arlington { background-image: url('../assets/img/UpperArlingtonOhio.jpg'); }
.bg-powell { background-image: url('../assets/img/PowellOhio.jpg'); }
.bg-westerville { background-image: url('../assets/img/WestervilleOhio.jpg'); }
.bg-columbus { background-image: url('../assets/img/ColumbusOhio.jpg'); }
.bg-grove-city { background-image: url('../assets/img/GroveCityOhio.jpg'); }