/**
 * Garden Sansar - Contact Page Stylesheet
 * Fully responsive, accessible, device-friendly styles matching gardensewa.com/contact
 */

.contact-page-wrapper {
  background-color: #ffffff;
  min-height: 100vh;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.contact-hero-section {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  overflow: hidden;
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  z-index: 2;
}

.contact-hero-container {
  position: relative;
  z-index: 3;
  max-width: 900px;
  text-align: center;
  padding: 56px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-breadcrumbs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
}

.contact-breadcrumbs a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-breadcrumbs a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-current {
  color: #ffffff;
  font-weight: 600;
}

.contact-hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 16px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.contact-hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.92);
  max-width: 820px;
  margin: 0 auto;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   Contact Information & Feature Photo Layout
   ========================================================================== */

.contact-info-section {
  padding: 72px 20px 48px;
  background: #ffffff;
  position: relative;
  z-index: 2;
}

.max-w-contact {
  max-width: 1250px;
  margin: 0 auto;
}

.contact-info-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.contact-section-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: #0b5c49;
  margin: 0 0 18px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.contact-section-desc {
  font-size: 1.1rem;
  line-height: 1.75;
  color: #4b5563;
  margin: 0 0 36px;
  max-width: 620px;
}

.contact-items-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-bottom: 36px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-item-icon {
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  background: #dcfce7;
  color: #0b5c49;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.contact-item:hover .contact-item-icon {
  transform: scale(1.08);
  background: #bbf7d0;
}

.contact-item-text {
  flex: 1;
  min-width: 0;
}

.contact-item-label {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 4px;
}

.contact-item-value {
  font-size: 1.05rem;
  color: #4b5563;
  margin: 0;
  line-height: 1.5;
  word-break: break-word;
}

.contact-item-value a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-item-value a:hover {
  color: #0b5c49;
  text-decoration: underline;
}

/* Quick Action Buttons */
.contact-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
}

.contact-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.whatsapp-cta {
  background: #0b5c49;
  color: #ffffff;
  border: 1.5px solid #0b5c49;
}

.whatsapp-cta:hover {
  background: #084335;
  border-color: #084335;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px -2px rgba(11, 92, 73, 0.3);
}

.phone-cta {
  background: #ffffff;
  color: #0b5c49;
  border: 1.5px solid #0b5c49;
}

.phone-cta:hover {
  background: #f0fdf4;
  color: #084335;
  transform: translateY(-2px);
}

/* Right Feature Photo Frame */
.contact-info-right {
  display: flex;
  justify-content: center;
}

.contact-photo-frame {
  width: 100%;
  max-width: 500px;
  border: none;
  border-radius: 20px;
  padding: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.contact-photo-frame:hover {
  transform: translateY(-4px);
  box-shadow: none;
}

.contact-feature-img {
  width: 100%;
  height: auto;
  border: none;
  border-radius: 20px;
  display: block;
  object-fit: cover;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   Inquiry Form Section
   ========================================================================== */

.contact-inquiry-section {
  padding: 32px 20px 56px;
  background: #ffffff;
  position: relative;
  z-index: 2;
}

.contact-inquiry-box {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 24px;
  padding: 48px;
  max-width: 960px;
  margin: 0 auto;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
}

.contact-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0b5c49;
  background: #dcfce7;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.contact-inquiry-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0b5c49;
  margin: 0 0 12px;
}

.contact-inquiry-desc {
  font-size: 1.05rem;
  color: #4b5563;
  margin: 0 0 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Form Styles override inside inquiry box */
.contact-inquiry-box .gs-form {
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}

.contact-inquiry-box .gs-form h2,
.contact-inquiry-box .gs-form p:first-of-type {
  display: none;
}

.contact-inquiry-box .gs-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.contact-inquiry-box .gs-form-grid .gs-field-full {
  grid-column: 1 / -1;
}

.contact-inquiry-box .gs-form-grid label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 6px;
}

.contact-inquiry-box .gs-form-grid input,
.contact-inquiry-box .gs-form-grid select,
.contact-inquiry-box .gs-form-grid textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.95rem;
  background: #ffffff;
  color: #1e293b;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.contact-inquiry-box .gs-form-grid input:focus,
.contact-inquiry-box .gs-form-grid select:focus,
.contact-inquiry-box .gs-form-grid textarea:focus {
  outline: none;
  border-color: #0b5c49;
  box-shadow: 0 0 0 3px rgba(11, 92, 73, 0.15);
}

.contact-inquiry-box .gs-form-grid button {
  background: #0b5c49;
  color: #ffffff;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
  font-size: 1rem;
}

.contact-inquiry-box .gs-form-grid button:hover {
  background: #084335;
  transform: translateY(-1px);
}

.contact-inquiry-box .gs-notice {
  background: #dcfce7;
  color: #166534;
  padding: 16px 20px;
  border-radius: 8px;
  font-weight: 600;
  margin-bottom: 24px;
}

/* ==========================================================================
   Our Location Section
   ========================================================================== */

.contact-location-section {
  padding: 56px 20px 64px;
  background: #ffffff;
  position: relative;
  z-index: 2;
}

.contact-location-heading {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0b5c49;
  text-align: center;
  margin: 0 0 32px;
  letter-spacing: -0.02em;
}

.contact-map-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.05);
}

.contact-map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ==========================================================================
   Our Experts Section
   ========================================================================== */

.contact-experts-section {
  padding: 64px 20px 88px;
  background: #f8fafc;
  position: relative;
  z-index: 2;
}

.contact-experts-heading {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0b5c49;
  text-align: center;
  margin: 0 0 48px;
  letter-spacing: -0.02em;
}

.contact-experts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  max-width: 1200px;
  margin: 0 auto;
}

.expert-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 24px;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.expert-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  border-color: #cbd5e1;
}

.expert-avatar-wrap {
  width: 176px;
  height: 176px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 24px;
  border: 4px solid #f0fdf4;
  box-shadow: 0 10px 15px -3px rgba(11, 92, 73, 0.15);
  background: #e2e8f0;
  flex-shrink: 0;
}

.expert-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.expert-card:hover .expert-avatar-img {
  transform: scale(1.06);
}

.expert-info {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.expert-role-badge {
  background: #f0fdf4;
  color: #166534;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 8px;
  margin-bottom: 12px;
  display: inline-block;
  letter-spacing: 0.01em;
}

.expert-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
  line-height: 1.3;
}

.expert-action {
  margin-top: auto;
}

.expert-wa-btn {
  display: inline-block;
  padding: 8px 28px;
  border: 1.5px solid #0b5c49;
  border-radius: 6px;
  color: #0b5c49;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.expert-wa-btn:hover {
  background: #0b5c49;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(11, 92, 73, 0.25);
  transform: translateY(-1px);
}

/* ==========================================================================
   Hiring Callout Strip
   ========================================================================== */

.gardener-hire-strip {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  padding: 56px 20px;
}

.gardener-hire-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.gardener-hire-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 2;
}

.gardener-hire-container {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.gardener-hire-title {
  font-size: 1.85rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px;
}

.gardener-hire-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  max-width: 720px;
  line-height: 1.6;
}

.gardener-hire-btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 9999px;
  border: 1.5px solid #4ade80;
  color: #ffffff;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.gardener-hire-btn:hover {
  background: #4ade80;
  color: #000000;
  border-color: #4ade80;
  transform: translateY(-1px);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .contact-info-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-info-right {
    order: 2;
  }

  .contact-photo-frame {
    max-width: 440px;
  }

  .contact-experts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .gardener-hire-container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .contact-hero-title {
    font-size: 2.25rem;
  }

  .contact-hero-subtitle {
    font-size: 1rem;
  }

  .contact-section-title {
    font-size: 2.15rem;
  }

  .contact-inquiry-box {
    padding: 28px 20px;
  }

  .contact-inquiry-box .gs-form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-experts-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .contact-location-heading,
  .contact-experts-heading {
    font-size: 2rem;
  }

  .contact-map-wrapper {
    height: 300px;
  }
}

/* Ensure footer hiring banner is not displayed on contact page */
.page-template-page-contact .site-footer .footer-hiring,
.page-contact .site-footer .footer-hiring,
.contact-page-wrapper ~ .site-footer .footer-hiring {
  display: none !important;
}

