/* Store Contact Page - Enterprise Grade Design */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.contact-page {
  min-height: 100vh;
  background: #f8f9fa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero Section */
.contact-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 4rem 0;
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.contact-hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.contact-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.contact-hero p {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.95);
  max-width: 600px;
  margin: 0 auto;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

/* Contact Cards */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.contact-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.07);
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
  display: flex;
  gap: 1.5rem;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
  border-color: #667eea;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.email-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
}

.phone-icon {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: #fff;
}

.location-icon {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: #fff;
}

.contact-card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
}

.card-content {
  flex: 1;
  /* Allow long content (like emails) to shrink and wrap inside the card */
  min-width: 0;
}

.card-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.card-content p {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 0.75rem;
}

.card-link {
  font-size: 1rem;
  color: #667eea;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
  /* Prevent long emails/URLs from overflowing the card */
  overflow-wrap: anywhere;
  word-break: break-all;
}

.card-link:hover {
  color: #764ba2;
  transform: translateX(3px);
}

.card-address {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
}

/* Map Section */
.map-section {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.07);
  border: 1px solid #e9ecef;
}

.map-container {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Business Hours Section */
.hours-section {
  background: #fff;
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.07);
  margin-bottom: 3rem;
  border: 1px solid #e9ecef;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.section-header svg {
  color: #667eea;
  flex-shrink: 0;
}

.section-header h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
}

.hours-grid {
  display: grid;
  gap: 0.75rem;
}

.hour-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: #f8f9fa;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.hour-row:hover {
  background: #fff;
  border-color: #e9ecef;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.hour-row.closed {
  opacity: 0.6;
}

.day-name {
  font-weight: 600;
  color: #334155;
  font-size: 1rem;
}

.day-time {
  color: #64748b;
  font-size: 0.95rem;
}

.closed-badge {
  background: #fee2e2;
  color: #dc2626;
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Social Section */
.social-section {
  background: #fff;
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.07);
  margin-bottom: 3rem;
  border: 1px solid #e9ecef;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem 1.25rem;
  align-items: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 44px;
  min-width: 180px;
  padding: 0 1rem;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  transition: all 0.25s ease;
  border: 2px solid currentColor;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.social-link svg {
  flex-shrink: 0;
  display: block;
}

.social-link.facebook {
  background: #fff;
  color: #1877f2;
  border-color: currentColor;
}

.social-link.facebook:hover {
  background: #1877f2;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(24, 119, 242, 0.3);
}

.social-link.instagram {
  background: #fff;
  color: #e4405f;
  border-color: currentColor;
}

.social-link.instagram:hover {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(228, 64, 95, 0.3);
}

.social-link.twitter {
  background: #fff;
  color: #1da1f2;
  border-color: currentColor;
}

.social-link.twitter:hover {
  background: #1da1f2;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(29, 161, 242, 0.3);
}

.social-link.linkedin {
  background: #fff;
  color: #0077b5;
  border-color: currentColor;
}

.social-link.linkedin:hover {
  background: #0077b5;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 119, 181, 0.3);
}

.social-link.youtube {
  background: #fff;
  color: #ff0000;
  border-color: currentColor;
}

.social-link.youtube:hover {
  background: #ff0000;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(255, 0, 0, 0.3);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 5rem 2rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.07);
  margin-bottom: 3rem;
}

.empty-state svg {
  color: #cbd5e1;
  margin-bottom: 2rem;
}

.empty-state h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
}

.empty-state p {
  font-size: 1.125rem;
  color: #64748b;
  margin-bottom: 0.5rem;
}

/* Action Buttons */
.page-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 3rem 0;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn svg {
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
  background: #fff;
  color: #667eea;
  border-color: #667eea;
}

.btn-secondary:hover {
  background: #667eea;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .contact-grid {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

  .contact-hero {
    padding: 3rem 0;
    margin-bottom: 3rem;
  }

  .contact-hero h1 {
    font-size: 2rem;
  }

  .contact-hero p {
    font-size: 1.125rem;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .contact-card {
    flex-direction: column;
    text-align: center;
  }

  .card-icon {
    margin: 0 auto;
  }

  .map-container {
    height: 350px;
  }

  .hours-section,
  .social-section {
    padding: 2rem 1.5rem;
  }

  .section-header {
    flex-direction: column;
    text-align: center;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .hour-row {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .social-grid {
    grid-template-columns: 1fr;
  }

  .page-actions {
    flex-direction: column;
    align-items: stretch;
    padding: 2rem 0;
  }

  .btn {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .contact-hero h1 {
    font-size: 1.75rem;
  }

  .contact-hero p {
    font-size: 1rem;
  }

  .contact-card {
    padding: 1.5rem;
  }

  .card-icon {
    width: 48px;
    height: 48px;
  }

  .hours-section,
  .social-section {
    padding: 1.5rem 1rem;
  }

  .map-container {
    height: 300px;
  }
}
