/* ==========================================================================
   MEHTA NAMKEEN - CONTACT US PAGE STYLES (contact.css)
   Pixel-Perfect Match with Figma Specification
   ========================================================================== */

/* Page Background Wrapper */
.contact-page-wrapper {
  background-color: #FDF8EF;
  min-height: 100vh;
}

body:has(.contact-page-wrapper) {
  background-color: #FDF8EF;
}

/* --------------------------------------------------------------------------
   1. Contact Hero Section (With Scrabble Banner Background - Figma 1425 x 500)
   -------------------------------------------------------------------------- */
.contact-hero {
  position: relative;
  background-image: url('../assets/images/contact-hero-banner.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 500px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #FFFFFF;
}

.contact-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(18, 14, 10, 0.48);
  z-index: 1;
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Tag with Gold lines (Figma: Poppins 500 18px 100% 1px #D9961A) */
.contact-tag-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 14px;
}

.contact-tag-line {
  width: 40px;
  height: 1.5px;
  background-color: #D9961A;
  display: inline-block;
}

.contact-tag-text {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1;
  color: #D9961A;
  text-transform: uppercase;
}

/* Title (Figma: Merriweather 700 48px 63px -0.5px #FFFFFF, max-width 790px) */
.contact-hero-title {
  font-family: 'Merriweather', serif;
  font-size: 48px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 63px;
  letter-spacing: -0.5px;
  max-width: 790px;
  margin: 0 auto 16px;
}

/* Subtitle (Figma: Poppins 400 18px 28px 0% #FFFFFF 80%, max-width 641px) */
.contact-hero-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.80);
  line-height: 28px;
  letter-spacing: 0;
  max-width: 641px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   2. Contact Info Cards Row (4 Columns Grid - Figma: 280 x 220, radius 16px)
   -------------------------------------------------------------------------- */
.contact-cards-section {
  padding: 40px 0 20px;
}

.contact-cards-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.contact-info-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 24px 22px;
  border: 1px solid rgba(120, 90, 40, 0.08);
  box-shadow: 0 4px 18px rgba(120, 90, 40, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 210px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(120, 90, 40, 0.12);
}

/* Card Icon Circle (Figma: 48 x 48, radius 24px, #FBEFD3, #D9961A) */
.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 24px;
  background-color: #FBEFD3;
  color: #D9961A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.contact-card-title {
  font-family: 'Merriweather', serif;
  font-size: 18px;
  font-weight: 900;
  color: #12398A;
  margin-bottom: 10px;
  line-height: 1.3;
}

.contact-card-desc {
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  color: #4A4F62;
  line-height: 1.55;
  margin-bottom: 0;
}

.contact-card-subtext {
  font-size: 12px;
  color: #6B7280;
  margin-top: 4px;
  display: block;
}

/* --------------------------------------------------------------------------
   3. Main Section: "Send Us a Message" + Map & Banner
   -------------------------------------------------------------------------- */
.contact-main-section {
  padding: 24px 0 75px;
}

.contact-main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.contact-main-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: start;
}

/* --- Left Column: Send Us a Message Card --- */
.contact-form-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 0 0 1px rgba(120, 90, 40, 0.06), 0 2px 14px rgba(120, 90, 40, 0.10);
}

.contact-form-title {
  font-family: 'Merriweather', serif;
  font-size: 26px;
  font-weight: 900;
  color: #12398A;
  margin-bottom: 6px;
  line-height: 1.25;
}

.contact-form-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #6A6F80;
  margin-bottom: 22px;
  line-height: 1.5;
}

.contact-field-group {
  margin-bottom: 18px;
}

.contact-label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #12398A;
  margin-bottom: 6px;
  line-height: 20px;
}

.contact-label .req-star {
  color: #CF0215;
}

.contact-input,
.contact-textarea {
  width: 100%;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #757575;
  background-color: #FFFDFB;
  border: 1px solid #E3D6BF;
  border-radius: 8px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-input {
  height: 46px;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
  color: #9CA3AF;
  font-weight: 400;
}

.contact-input:focus,
.contact-textarea:focus {
  border-color: #12398A;
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(18, 57, 138, 0.10);
}

.contact-textarea {
  resize: vertical;
  min-height: 110px;
}

/* Two-column inputs (Full Name & Phone) */
.contact-input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Topic Pills */
.contact-topic-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.contact-topic-btn {
  background-color: #FFFFFF;
  color: #12398A;
  border: 1px solid #E3D6BF;
  border-radius: 999px;
  padding: 0 16px;
  height: 36px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  outline: none;
}

.contact-topic-btn:hover {
  border-color: #12398A;
  background-color: rgba(18, 57, 138, 0.04);
}

.contact-topic-btn.active {
  background-color: #0D3F8F;
  color: #FFFFFF;
  border-color: #0D3F8F;
}

/* Send Message Button */
.btn-contact-submit {
  width: 100%;
  height: 46px;
  background-color: #E31B23;
  color: #FFFFFF;
  border: none;
  border-radius: 24px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(227, 27, 35, 0.25);
  margin-top: 8px;
}

.btn-contact-submit:hover {
  background-color: #CA141C;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(227, 27, 35, 0.32);
}

.btn-contact-submit:active {
  transform: translateY(0);
}

/* --- Right Column: Map & Bulk Orders --- */
.contact-side-col,
.contact-side-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Map Card */
.contact-map-card,
.contact-map-wrap {
  width: 100%;
  height: 484px;
  position: relative;
  background-color: #EFE6D8;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(120, 90, 40, 0.06), 0 2px 14px rgba(120, 90, 40, 0.10);
}

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

/* Bulk & Gift Orders Banner */
.contact-bulk-banner {
  background-color: #0D3F8F;
  border-radius: 16px;
  padding: 26px 24px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 0 0 1px rgba(120, 90, 40, 0.06), 0 2px 14px rgba(120, 90, 40, 0.10);
}

.contact-banner-tag {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.96px;
  color: #F5B71A;
  text-transform: uppercase;
  margin-bottom: 4px;
  line-height: 18px;
}

.contact-banner-title {
  font-family: 'Merriweather', serif;
  font-size: 18px;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 4px;
  line-height: 23px;
}

.contact-banner-desc {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #FFFFFF;
  margin-bottom: 0;
  line-height: 1.45;
}

.btn-contact-enquire {
  background-color: #F5B71A;
  color: #12398A;
  border: none;
  border-radius: 999px;
  height: 42px;
  padding: 0 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
  cursor: pointer;
}

.btn-contact-enquire:hover {
  background-color: #E2A610;
  color: #0A2D66;
  transform: translateY(-1px);
}

/* Success notification toast/alert */
.contact-alert-success {
  background-color: #D1E7DD;
  color: #0F5132;
  border: 1px solid #BADBCC;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 18px;
  font-size: 13.5px;
  display: none;
}

/* --------------------------------------------------------------------------
   4. Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .contact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-main-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 767.98px) {
  .contact-hero {
    height: auto;
    min-height: 420px;
    padding: 60px 15px 70px;
  }

  .contact-hero-title {
    font-size: 32px;
    line-height: 42px;
  }

  .contact-hero-subtitle {
    font-size: 15px;
    line-height: 24px;
  }

  .contact-input-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-bulk-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-contact-enquire {
    width: 100%;
    margin-top: 8px;
  }
}

@media (max-width: 575.98px) {
  .contact-cards-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 22px 18px;
  }

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