/* ==========================================================================
   CONTACT PAGE STYLES (contact.css)
   ========================================================================== */

/* ----------------------------------------
   1. Contact Information Cards
   ---------------------------------------- */

/* Container Layout */
.appt-contact-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 1rem;
  width: 100%;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, sans-serif;
}

/* Headers */
.appt-contact-head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.appt-contact-eyebrow {
  display: block;
  margin-bottom: 0.5rem;
  color: #C8A96E; /* Accent color */
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.appt-contact-title {
  margin: 0;
  color: #ffffff;
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1.2;
}

/* Grid Layout */
.appt-contact-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  max-width: 1000px;
}

/* Individual Info Card */
.appt-contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 260px;
  padding: 2.5rem 1.5rem;
  background-color: #11141a;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  text-align: center;
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.appt-contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* SVG Icon */
.appt-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 1.25rem;
  background-color: rgba(196, 140, 113, 0.1);
  color:#C8A96E;
  border-radius: 50%;
}

.appt-contact-svg {
  width: 32px;
  height: 32px;
  fill: #C8A96E;
}

/* Card Typography */
.appt-contact-item h3 {
  margin: 0 0 0.5rem 0;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 600;
}

.appt-contact-item p {
  margin: 0;
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.5;
}
/* ----------------------------------------
   2. Contact Form & Map Section (Square-ish Layout)
   ---------------------------------------- */

/* Section Layout */
.contact-section {
  display: flex;
  justify-content: center;
  padding: 5rem 1rem 6rem;
  width: 100%;
  box-sizing: border-box;
}

.contact-section__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  width: 100%;
  max-width: 1000px;
  align-items: stretch; /* Forces both cards to be the exact same height */
}

/* General Card Styling */
.contact-card {
  display: flex;
  flex-direction: column;
  padding: 2rem; /* Adjusted for better breathing room */
  background-color: #11141a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-sizing: border-box;
}

/* Map Card Specifics */
.contact-card--map {
  padding: 0;
  overflow: hidden; /* Keeps the map inside the rounded corners */
}

/* Form Typography */
.contact-card--form h2 {
  margin-top: 0;
  margin-bottom: 0.25rem;
  font-family: var(--font-display, inherit);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
}

.contact-card--form p {
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--clr-text-muted, rgba(255, 255, 255, 0.7));
}

/* Form Grid & Inputs */
.contact-form {
  display: flex;
  flex-direction: column;
  height: 100%; 
}

.contact-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem; 
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.7rem 1rem; 
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  box-sizing: border-box;
}

/* Textarea Behavior */
.contact-form__message {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Pushes everything else into place */
}

.contact-form textarea { 
  min-height: 100px; /* Safe minimum height so it never collapses completely */
  height: 100%;
  resize: vertical; /* Allows users to drag it slightly if needed */
}

/* Checkbox */
.contact-form__checkbox {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
}

.contact-form__checkbox input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* Submit Button */
.contact-form__submit {
  margin-top: auto;
  align-self: flex-start; 
}

/* Map Frame */
.map-frame {
  height: 100%; 
  width: 100%;
  background: #0d1118;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
/* ----------------------------------------
   3. Responsive Media Queries
   ---------------------------------------- */

/* Tablets & Small Desktops */
@media (max-width: 992px) {
  .contact-section__grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile Devices */
@media (max-width: 768px) {
  .page-hero { 
    padding: 3rem 0; 
  }
  
  .page-hero__title { 
    font-size: clamp(2.4rem, 8vw, 3.4rem); 
  }
  
  .contact-card { 
    padding: 1.75rem; 
  }
  
  .contact-form__row { 
    grid-template-columns: 1fr; 
  }
}