/* assets/contact.css — Premium Contact Page Styles & Layout Grid */

/* ── Micro-Grid Layout System ─────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
  box-sizing: border-box;
}

.row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-inline-end: 1.5rem;
}

@media only screen and (min-width: 768px) {
  .row {
    flex-direction: row;
  }
}

.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media only screen and (min-width: 768px) {
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media only screen and (min-width: 992px) {
  .col-lg-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }

  .col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }

  .col-lg-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }

  .col-lg-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
}

/* ── Flexbox Utilities ────────────────────────────────────────── */
.d-flex {
  display: flex !important;
}

.d-none {
  display: none !important;
}

@media only screen and (min-width: 992px) {
  .d-lg-block {
    display: block !important;
  }

  .d-lg-flex {
    display: flex !important;
  }
}

.align-items-center {
  align-items: center !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.justify-content-center {
  justify-content: center !important;
}

.contact__section .row {
  gap: 4rem;
}

#contact-form .row {
  gap: 2rem;
}

/* ── Contact Hero Header ──────────────────────────────────────── */
.contact__hero {
  text-align: center;
  padding: 8rem 2rem 6rem;
  background: #800020;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.contact__hero h1 {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: clamp(3.6rem, 5vw, 5.2rem);
  color: #ffffff;
  font-weight: 700;
}

.contact__hero p {
  font-family: var(--font-body-family);
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Contact Section Grid Layout ──────────────────────────────── */
.contact__section {
  direction: flex;
  flex-direction: column;
  padding-bottom: 8rem;
}

/* ── Form Card wrapper ───────────────────────────────────────── */
.contact__form--wrapper {
  background-color: #ffffff;
  padding-inline: 1.5rem;
  padding-block:1.5rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact__form--title {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 2.8rem;
  color: var(--primary-color, #1a1818);
  font-weight: 600;
  margin: 0;
}

/* Form Group Controls */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.form-group label {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary-color, #1a1818);
  margin: 0;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--border-color, #e0e0e0);
  border-radius: 8px;
  background-color: #fcfbf9;
  color: var(--foreground-color, #222);
  font-size: 1.5rem;
  outline: none;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
  border-color: var(--secondary-color, #C97F5F);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(201, 127, 95, 0.15);
}

.form-group textarea {
  height: 140px;
  resize: vertical;
}

/* Submit Button */
.contact__submit--btn {
  display: inline-block;
  width: 100%;
  padding: 1.6rem;
  background-color: #800020;
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact__submit--btn:hover {
  background-color: #6b001a;
  box-shadow: 0 6px 20px #800020;
  transform: translateY(-2px);
}

/* ── Contact Info Cards ───────────────────────────────────────── */
.col-lg-5.col-12 {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact__info--card {
  background-color: #fcfbf9;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1.2rem;
  padding: 3.2rem 3rem;
  text-align: center;
  box-sizing: border-box;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.contact__info--card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: var(--secondary-color, #C97F5F);
}

.contact__info--icon {
  color: var(--primary-color);
  width: 3.5rem;
  height: 3.5rem;
}

.contact__info--icon svg {
  width: 100%;
  height: 100%;
}

.contact__info--title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--primary-color);
  font-weight: 500;
  margin: 0;
}

.contact__info--text {
  font-family: var(--font-body);
  font-size: 1.45rem;
  line-height: 1.6;
  color: var(--foreground-sub-color);
  margin: 0;
}

.contact__info--text a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact__info--text a:hover {
  color: var(--yellow-color);
}

/* ── Helper Class Layout Corrections ──────────────────────────── */
.contact-header-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.contact-offcanvas-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.contact-footer-logo {
  height: 70px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.1);
}

.contact-payment-text {
  font-size: 1.2rem;
  opacity: 0.6;
}