/* ========================================
   CONTACT PAGE SPECIFIC STYLES
   Capital Tuckpointing - contact.html
   ======================================== */

/* ========================================
   CONTACT PAGE HEADER
   ======================================== */

.page-header {
  text-align: center;
  margin-bottom: 60px;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #c6402d;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.page-header h2 {
  font-size: 2rem;
  font-weight: 500;
  color: #2a3f50;
  margin-bottom: 0;
}

/* ========================================
   CONTACT CONTENT SECTION
   ======================================== */

.content-section {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
}

.content-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #2a3f50;
  margin-bottom: 25px;
}

.content-section p:last-child {
  margin-bottom: 0;
}

.service-link {
  text-align: left;
}

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

.contact-info-section {
  margin-bottom: 80px;
}

.contact-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-item {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(42, 63, 80, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid #c6402d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(42, 63, 80, 0.15);
}

.contact-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.contact-details h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #c6402d;
  margin-bottom: 15px;
}

.contact-details p {
  font-size: 1rem;
  color: #2a3f50;
  margin-bottom: 8px;
  line-height: 1.5;
}

.contact-details p:last-child {
  margin-bottom: 0;
}

/* ========================================
   SERVICE LINKS STYLING
   ======================================== */

.contact-details a {
  color: #c6402d;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 2px;
}

/* Service links only - exclude phone link */
.contact-details p a:not(.phone-link) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-details p a:not(.phone-link)::before {
  content: '→';
  font-size: 1.1em;
  transition: transform 0.3s ease;
}

.contact-details a:hover {
  color: #e6a832;
  transform: translateX(5px);
}

.contact-details p a:not(.phone-link):hover::before {
  transform: translateX(3px);
}

.contact-details a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #e6a832;
  transition: width 0.3s ease;
}

.contact-details a:hover::after {
  width: 100%;
}

.phone-link {
  font-size: 1.4rem;
  font-weight: 700;
  color: #c6402d;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.phone-link:hover {
  color: #e6a832;
}

/* ========================================
   CONTACT FORM SECTION
   ======================================== */

.form-section {
  background: #ffffff;
  padding: 60px 0;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(42, 63, 80, 0.1);
  margin-bottom: 60px;
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
}

.form-container h3 {
  font-size: 2rem;
  font-weight: 600;
  color: #c6402d;
  text-align: center;
  margin-bottom: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  color: #2a3f50;
  margin-bottom: 8px;
  font-size: 1rem;
}

/* ========================================
   CONTACT PAGE RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .page-header h2 {
    font-size: 1.5rem;
  }

  .page-header {
    margin-bottom: 40px;
  }

  .content-section {
    margin-bottom: 50px;
  }

  .content-section p {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .contact-info-section {
    margin-bottom: 60px;
  }

  .contact-card {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-item {
    padding: 30px 20px;
  }

  .form-container {
    padding: 0 20px;
  }

  .form-container h3 {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-form {
    gap: 20px;
  }

  .submit-btn {
    font-size: 1rem;
    padding: 16px 30px;
    min-width: 200px;
  }
}

@media (max-width: 480px) {
  .page-header h1 {
    font-size: 1.7rem;
  }

  .page-header h2 {
    font-size: 1.3rem;
  }

  .contact-item {
    padding: 25px 15px;
  }

  .contact-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
  }

  .phone-link {
    font-size: 1.2rem;
  }

  .form-container {
    padding: 0 15px;
  }

  .form-container h3 {
    font-size: 1.4rem;
  }

  .submit-btn {
    font-size: 0.9rem;
    padding: 14px 25px;
    min-width: 180px;
  }
}

/* Thank You Page Styles */
.thank-you-message {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  color: #28a745;
}

.thank-you-text {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #2a3f50;
  margin-bottom: 40px;
}

.next-steps {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 40px;
  text-align: left;
}

.next-steps h3 {
  color: #c6402d;
  font-size: 1.4rem;
  margin-bottom: 20px;
  text-align: center;
}

.next-steps-list {
  list-style: none;
  padding: 0;
}

.next-steps-list li {
  padding: 10px 0;
  border-bottom: 1px solid #e9ecef;
  font-size: 1.1rem;
  line-height: 1.6;
}

.next-steps-list li:last-child {
  border-bottom: none;
}

.next-steps-list strong {
  color: #c6402d;
  font-weight: 600;
}

.emergency-contact {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 40px;
}

.emergency-contact h3 {
  color: #856404;
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.emergency-contact p {
  color: #856404;
  margin-bottom: 15px;
}

.phone-highlight {
  text-align: center;
  margin: 20px 0;
}

.phone-highlight .phone-link {
  background: #c6402d;
  color: white;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 600;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.phone-highlight .phone-link:hover {
  background: #a53326;
}

.hours {
  font-size: 0.9rem;
  color: #6c757d;
  margin-top: 10px;
}

.thank-you-actions {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

.action-buttons {
  text-align: center;
  margin-bottom: 50px;
}

.action-buttons .cta-button {
  display: inline-block;
  padding: 15px 30px;
  margin: 0 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.action-buttons .cta-button.primary {
  background: #c6402d;
  color: white;
}

.action-buttons .cta-button.primary:hover {
  background: #a53326;
}

.action-buttons .cta-button.secondary {
  background: transparent;
  color: #c6402d;
  border: 2px solid #c6402d;
}

.action-buttons .cta-button.secondary:hover {
  background: #c6402d;
  color: white;
}

.service-links h3 {
  text-align: center;
  color: #c6402d;
  font-size: 1.8rem;
  margin-bottom: 30px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e9ecef;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.service-card h4 {
  color: #c6402d;
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.service-card p {
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .success-icon {
    font-size: 3rem;
  }

  .thank-you-text {
    font-size: 1.1rem;
  }

  .next-steps,
  .emergency-contact {
    padding: 20px;
  }

  .action-buttons .cta-button {
    display: block;
    margin: 10px auto;
    max-width: 250px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}
