/* =====================================================================
   WAVES LAUNDRY - CONTACT PAGE STYLES
   ===================================================================== */

/* Hero Banner */
.about-hero {
  display: flex;
  align-items: center;
  height: 45vh;
  min-height: 320px;
  background:
    linear-gradient(
      to right,
      rgba(15, 23, 42, 0.9) 0%,
      rgba(15, 23, 42, 0.65) 50%,
      rgba(15, 23, 42, 0.3) 100%
    ),
    url("../images/contact/contact_hero_bg.png") no-repeat center center / cover;
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding-top: 140px;
  box-sizing: border-box;
}

.about-hero-content {
  position: relative;
  z-index: 5;
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

/* Breadcrumb Navigation */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.breadcrumb-item {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-item:hover {
  color: var(--white);
}

.breadcrumb-item.active {
  color: var(--white);
  pointer-events: none;
}

.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
}

/* SECTION 1: CONTACT CARDS GRID */
.contact-cards-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  min-height: 55vh;
  padding: 60px 0;
  background-color: var(--background);
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .contact-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-info-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow:
    var(--shadow-lg),
    0 10px 20px rgba(4, 107, 210, 0.05);
}

.card-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-full);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 20px;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.contact-info-card:hover .card-icon-wrapper {
  background-color: var(--primary);
  color: var(--white);
  transform: rotate(5deg) scale(1.05);
}

/* Specific styling for WhatsApp icon hover */
.card-icon-wrapper.whatsapp {
  background-color: #e8f9ee;
  color: #22c55e;
}

.contact-info-card:hover .card-icon-wrapper.whatsapp {
  background-color: #22c55e;
  color: var(--white);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-dark);
  margin-bottom: 8px;
}

.card-text {
  font-size: 0.9rem;
  color: var(--slate-light);
  margin-bottom: 16px;
  line-height: 1.5;
}

.card-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
  word-break: break-all;
}

.card-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* SECTION 2: MAIN CONTACT GRID (Split Form and Map) */
.contact-grid-section {
  min-height: 95vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  padding: 100px 0;
  background-color: var(--background);
}

.contact-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .contact-split-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.contact-form-card {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  height: 100%;
}

@media (min-width: 768px) {
  .contact-form-card {
    padding: 48px 40px;
  }
}

.form-header {
  margin-bottom: 32px;
}

.contact-section-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--slate-dark);
  margin-top: 6px;
  margin-bottom: 10px;
}

.contact-section-desc {
  font-size: 0.9rem;
  color: var(--slate-body);
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 576px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-dark);
  letter-spacing: 0.01em;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  color: var(--slate-light);
  font-size: 0.95rem;
  pointer-events: none;
  transition: color 0.3s ease;
}

.input-icon.textarea-icon {
  top: 14px;
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
  width: 100%;
  padding: 12px 14px 12px 38px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background-color: #f8fafc;
  color: var(--slate-dark);
  font-size: 0.85rem;
  font-weight: 500;
  outline: none;
  transition: all 0.3s ease;
}

.input-wrapper textarea {
  resize: vertical;
  min-height: 120px;
}

.input-wrapper select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  padding-right: 36px;
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
  background-color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(4, 107, 210, 0.1);
}

.input-wrapper input:focus + .input-icon,
.input-wrapper select:focus + .input-icon,
.input-wrapper textarea:focus + .input-icon {
  color: var(--primary);
}

.contact-submit-btn {
  align-self: flex-start;
  min-width: 160px;
  margin-top: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  cursor: pointer;
  background-color: var(--primary);
  color: var(--white);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  font-size: 0.85rem;
}

.contact-submit-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

.contact-submit-btn i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.contact-submit-btn:hover i {
  transform: translate(3px, -3px);
}

/* MAP CARD STYLING */
.contact-map-card {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-map-block {
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex-grow: 1;
  min-height: 350px;
  position: relative;
}

.contact-map-block iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Responsive tweaks */
@media (max-width: 1023px) {
  .contact-map-block {
    min-height: 300px;
    height: 350px;
  }
}
