/**
 * DWiA Get In Touch (Contact) Section - EXACT MOCKUP REPLICA
 * Extracted from dwi_a_one_page_layout_mockup_updated (3).html
 *
 * This file contains ONLY the Get In Touch section styles from the mockup.
 * Background color: #2f7353 (green per mockup specification)
 *
 * Key requirements:
 * - Section title in white, uppercase
 * - All text in white
 * - Simple contact form with vertical labels
 * - Labels: Name, Email, Subject, Message
 *
 * @package DWiA Theme
 * @version 2.0.0
 */

/* =========================================
   GET IN TOUCH SECTION - CSS VARIABLES
========================================== */
:root {
  --dwia-green-bg: #2f7353;  /* Get In Touch background (exact mockup color) */
  --dwia-light: #ffffff;
  --dwia-dark: #1e1510;
}

/* =========================================
   GET IN TOUCH SECTION - MAIN CONTAINER
========================================== */
#get-in-touch {
  background: var(--dwia-green-bg);
  color: var(--dwia-light);
  padding: 4.5rem 0;
}

/* Section inner wrapper */
#get-in-touch .section-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =========================================
   GET IN TOUCH SECTION - HEADING/TITLE
========================================== */
#get-in-touch .section-topband {
  max-width: 1120px;
  margin: 0 auto 1.5rem;
  padding: 0;
  border-radius: 0;
  display: block;
  background: transparent;
}

#get-in-touch .section-heading {
  text-align: center;
  margin-bottom: 1.5rem;
}

#get-in-touch .section-title {
  margin: 0;
  font-size: 1.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  color: #FFFFFF;  /* White title */
  font-weight: 700;
}

/* =========================================
   GET IN TOUCH SECTION - LAYOUT (2-COLUMN GRID)
========================================== */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 2fr);
  gap: 2rem;
  align-items: flex-start;
}

@media (max-width: 860px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =========================================
   GET IN TOUCH SECTION - TEXT (LEFT COLUMN)
========================================== */
.contact-text p {
  margin: 0 0 0.7rem;
  color: var(--dwia-light);
  line-height: 1.6;
}

.contact-text a {
  color: var(--dwia-light);
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.contact-text a:hover {
  opacity: 0.8;
}

/* =========================================
   GET IN TOUCH SECTION - FORM (RIGHT COLUMN)
========================================== */
.contact-form {
  padding: 1.3rem 1.4rem;
  border-radius: 1.1rem;
  background: rgba(0, 0, 0, 0.18);
}

.contact-form label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
  color: var(--dwia-light);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.98);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  color: var(--dwia-dark);
  box-sizing: border-box;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--dwia-light);
  outline-offset: 1px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.contact-submit,
.contact-form input[type="submit"],
.contact-form button[type="submit"] {
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: none;
  background: var(--dwia-light);
  color: var(--dwia-green-bg);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-submit:hover,
.contact-form input[type="submit"]:hover,
.contact-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* =========================================
   GET IN TOUCH SECTION - CONTACT FORM 7 COMPATIBILITY
========================================== */
#get-in-touch .wpcf7-form {
  margin: 0;
}

#get-in-touch .wpcf7-form p {
  margin: 0 0 0.5rem;
}

#get-in-touch .wpcf7-form label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
  color: var(--dwia-light);
}

#get-in-touch .wpcf7-form input[type="text"],
#get-in-touch .wpcf7-form input[type="email"],
#get-in-touch .wpcf7-form input[type="url"],
#get-in-touch .wpcf7-form input[type="tel"],
#get-in-touch .wpcf7-form textarea {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.98);
  font-size: 0.85rem;
  margin-bottom: 0;
  color: var(--dwia-dark);
  box-sizing: border-box;
}

#get-in-touch .wpcf7-form input[type="text"]:focus,
#get-in-touch .wpcf7-form input[type="email"]:focus,
#get-in-touch .wpcf7-form input[type="url"]:focus,
#get-in-touch .wpcf7-form input[type="tel"]:focus,
#get-in-touch .wpcf7-form textarea:focus {
  outline: 2px solid var(--dwia-light);
  outline-offset: 1px;
}

#get-in-touch .wpcf7-form textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

#get-in-touch .wpcf7-form input[type="submit"] {
  appearance: none;
  -webkit-appearance: none;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: none;
  background: var(--dwia-light);
  color: var(--dwia-green-bg);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#get-in-touch .wpcf7-form input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Contact Form 7 validation messages */
#get-in-touch .wpcf7-not-valid-tip {
  color: #ffcccc;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  display: block;
}

#get-in-touch .wpcf7-validation-errors,
#get-in-touch .wpcf7-mail-sent-ok {
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.3);
  color: var(--dwia-light);
  padding: 0.8rem;
  border-radius: 0.5rem;
  margin: 1rem 0;
  font-size: 0.85rem;
}

#get-in-touch .wpcf7-mail-sent-ok {
  background: rgba(76, 175, 80, 0.3);
  border-color: rgba(76, 175, 80, 0.5);
}

/* =========================================
   GET IN TOUCH SECTION - RESPONSIVE BEHAVIOR
========================================== */
@media (max-width: 720px) {
  #get-in-touch {
    padding: 3rem 0;
  }

  #get-in-touch .section-inner {
    padding: 0 1rem;
  }

  #get-in-touch .section-topband {
    margin-bottom: 1.8rem;
  }

  #get-in-touch .section-title {
    font-size: 1.5rem;
    letter-spacing: 0.16em;
  }

  .contact-layout {
    gap: 1.5rem;
  }

  .contact-form {
    padding: 1.2rem 1.4rem;
  }
}

@media (max-width: 480px) {
  #get-in-touch .section-topband {
    padding: 0;
  }

  #get-in-touch {
    padding: 2.5rem 0;
  }
}

/* =========================================
   COMPATIBILITY OVERRIDES
   Hide old contact features if they still exist
========================================== */
#get-in-touch .dwia-contact-features,
#get-in-touch .dwia-contact-feature {
  display: none !important;
}
