/**
 * Contact Page Styles
 * Speed Protection - Astra Child Theme
 */

/* =========================================
   HERO SECTION
   ========================================= */
.sp-contact-hero {
  position: relative;
  padding: 160px 20px 120px;
  background: var(--sp-dark);
  color: white;
  text-align: center;
  overflow: hidden;
}

.sp-hero-subtitle {
  font-size: 1.25rem;
  color: #d4d4d4;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
}

.sp-highlight {
  color: var(--sp-primary);
  display: inline-block;
  position: relative;
}

/* =========================================
   CONTACT CONTENT GRID
   ========================================= */
.sp-contact-section {
  padding: 100px 20px;
  background: var(--sp-white);
  position: relative;
}

.sp-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  align-items: start;
  justify-content: center;
}

/* --- Left Column: Info --- */
.sp-info-column {
  flex: 1;
  min-width: 320px;
  max-width: 450px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.sp-info-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--sp-dark);
  margin-bottom: 15px;
  letter-spacing: -1px;
}

.sp-info-header p {
  color: var(--sp-text-muted);
  font-size: 1.1rem;
}

.sp-info-card {
  background: var(--sp-light);
  padding: 30px;
  border-radius: 20px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.sp-info-card:hover {
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transform: translateY(-5px);
  border-color: #e2e8f0;
}

.sp-icon-box {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sp-primary);
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}

.sp-info-text h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--sp-dark);
  margin: 0 0 5px 0;
}

.sp-info-text p,
.sp-info-text a {
  font-size: 1rem;
  color: var(--sp-text-muted);
  margin: 0;
  text-decoration: none;
  transition: color 0.2s;
}

.sp-info-text a:hover {
  color: var(--sp-primary);
}

/* Social Links */
.sp-social-row {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.sp-social-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--sp-light);
  color: var(--sp-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.sp-social-btn:hover {
  background: var(--sp-primary);
  color: white;
  transform: translateY(-3px);
}

/* --- Right Column: Form --- */
.sp-form-wrapper {
  flex: 1;
  min-width: 350px;
}

.sp-form-card {
  background: white;
  padding: 50px;
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border: 1px solid #f1f5f9;
  width: 100%;
}

.sp-form-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}

.sp-form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 calc(50% - 12.5px);
  min-width: 200px;
}

.sp-form-group.full {
  flex: 1 1 100%;
}

.sp-form-group label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--sp-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sp-input,
.sp-textarea {
  background: var(--sp-input-bg);
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 15px 20px;
  font-size: 1rem;
  color: var(--sp-dark);
  font-family: inherit;
  transition: all 0.3s ease;
  width: 100%;
}

.sp-input:focus,
.sp-textarea:focus {
  background: white;
  border-color: var(--sp-primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 77, 0, 0.1);
}

.sp-textarea {
  min-height: 150px;
  resize: vertical;
}

.sp-submit-btn {
  background: var(--sp-primary);
  color: white;
  border: none;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  flex: 1 1 100%;
  width: 100%;
}

.sp-submit-btn:hover {
  background: var(--sp-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(255, 77, 0, 0.2);
}

/* =========================================
   MAP SECTION
   ========================================= */
.sp-map-section {
  height: 500px;
  width: 100%;
  filter: grayscale(1);
  transition: filter 0.5s ease;
}

.sp-map-section:hover {
  filter: grayscale(0);
}

.sp-map-section iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
  .sp-container {
    gap: 40px;
  }

  .sp-info-column,
  .sp-form-wrapper {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .sp-form-card {
    padding: 30px;
  }
}

@media (max-width: 600px) {
  .sp-form-group {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .sp-hero-title {
    font-size: 2.5rem;
  }

  .sp-form-card {
    padding: 20px;
  }

  .sp-info-column {
    min-width: 100%;
  }

  .sp-contact-hero {
    padding: 120px 20px 80px;
  }
}
