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

/* Contact hero section container */
.contact-hero {
  padding: var(--space-4xl) 0;
  background: linear-gradient(135deg, var(--primary-black) 0%, var(--gray-900) 100%);
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(139, 37, 0, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
  z-index: 1;
}

.contact-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-primary) 50%, transparent 100%);
  z-index: 2;
}

/* Contact hero subtitle */
.contact-hero-subtitle {
  font-family: var(--font-primary);
  font-size: var(--text-lg);
  font-weight: var(--weight-normal);
  color: var(--gray-200);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  position: relative;
  z-index: 3;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Desktop styles */
@media (min-width: 750px) {
  .contact-hero {
    padding: var(--space-5xl) 0;
  }

  .contact-hero-subtitle {
    font-size: var(--text-xl);
    max-width: 700px;
  }
}

/* Large desktop styles */
@media (min-width: 1024px) {
  .contact-hero-subtitle {
    font-size: var(--text-2xl);
    max-width: 900px;
  }
}

/* ==========================================================================
   CONTACT INFO SECTION
   ========================================================================== */

/* Contact info section container */
.contact-info {
  padding: var(--space-4xl) 0;
  background: var(--bg-secondary);
  position: relative;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-primary) 50%, transparent 100%);
}

/* Contact info card */
.contact-info-card {
  background: var(--bg-primary);
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-red);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

/* Contact info icon */
.contact-info-icon {
  font-size: 3rem;
  margin-bottom: var(--space-lg);
  display: block;
  transition: transform var(--transition-base);
}

/* Contact info title */
.contact-info-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--primary-black);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

/* Contact info text */
.contact-info-text {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: var(--weight-normal);
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

/* Contact info link */
.contact-info-link {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--primary-red);
  text-decoration: none;
  transition: all var(--transition-base);
  display: inline-block;
  position: relative;
  word-break: break-all;
  line-height: 1.4;
  max-width: 100%;
}

.contact-info-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: width var(--transition-base);
}

/* Contact info hours */
.contact-info-hours {
  font-family: var(--font-primary);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--primary-red);
  margin: 0;
  line-height: 1.4;
}

/* Desktop styles */
@media (min-width: 750px) {
  .contact-info {
    padding: var(--space-5xl) 0;
  }

  .contact-info-card {
    padding: var(--space-3xl);
  }

  .contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-primary);
  }

  .contact-info-card:hover::before {
    transform: scaleX(1);
  }

  .contact-info-card:hover .contact-info-icon {
    transform: scale(1.1);
  }

  .contact-info-link:hover {
    color: var(--red-dark);
  }

  .contact-info-link:hover::after {
    width: 100%;
  }
}

/* Mobile adjustments */
@media (max-width: 749px) {
  .contact-info-card {
    margin-bottom: var(--space-xl);
    padding: var(--space-xl);
  }
  
  .contact-info-card:last-child {
    margin-bottom: 0;
  }
  
  .contact-info-link {
    font-size: var(--text-sm);
    word-break: break-word;
  }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
  .contact-info-card {
    padding: var(--space-lg);
  }
  
  .contact-info-link {
    font-size: var(--text-sm);
    line-height: 1.3;
  }
}