/* Locations Page Styles */

.locations-page {
  background: var(--color-background);
}

/* Hero Section */
.locations-hero {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  color: var(--color-dark);
  padding: var(--space-20) 0;
  text-align: center;
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-bottom: 0;
}

.locations-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  background: url('/assets/images/hero/hero1.png') center/cover no-repeat;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 0;
}



.locations-hero h1 {
  font-size: var(--text-5xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-4);
}

.locations-hero p {
  font-size: var(--text-xl);
  margin-bottom: 0;
}

/* Content Section */
.locations-content {
  padding: var(--space-12) 0;
  background: #f8f9fa;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-10);
  margin-bottom: var(--space-8);
}

/* Location Card */
.location-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid var(--color-gray-100);
  display: flex;
  flex-direction: column;
}

.location-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary);
}

.location-header {
  padding: var(--space-8);
  background: var(--color-gray-50);
  border-bottom: 2px solid var(--color-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.location-logo {
  max-width: 200px;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.location-details {
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.location-name {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-2);
  line-height: var(--leading-snug);
}

.location-subtitle {
  font-size: var(--text-lg);
  color: var(--color-secondary);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-6);
  border-bottom: 2px solid var(--color-secondary);
  padding-bottom: var(--space-4);
}

.location-info {
  margin-bottom: var(--space-6);
  flex-grow: 1;
}

.location-address {
  font-size: var(--text-base);
  color: var(--color-text-light);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.location-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.location-phone:hover {
  color: var(--color-primary-dark);
  gap: var(--space-3);
}

.phone-icon {
  font-size: var(--text-2xl);
}

.location-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.btn--block {
  width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .locations-hero::before {
    width: 100%;
    opacity: 0.2;
    clip-path: none;
  }

  .locations-hero .container {
    max-width: 100%;
    text-align: center;
    padding: 0 var(--space-4);
    margin: 0;
  }

  .locations-hero h1 {
    font-size: var(--text-4xl);
  }

  .locations-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .location-header {
    min-height: 100px;
  }

  .location-logo {
    max-width: 150px;
    max-height: 80px;
  }
}

@media (max-width: 480px) {
  .locations-hero {
    min-height: 350px;
    padding: var(--space-12) 0;
  }

  .locations-hero h1 {
    font-size: var(--text-3xl);
  }

  .locations-hero p {
    font-size: var(--text-base);
  }

  .location-name {
    font-size: var(--text-xl);
  }

  .location-subtitle {
    font-size: var(--text-base);
  }

  .location-address {
    font-size: var(--text-sm);
  }

  .location-phone {
    font-size: var(--text-base);
  }
}
