﻿/* contact_index.php */

  /* ============================================================
     CONTACT PAGE STYLES
     [Maintainability Note]: Utilizes global color variables and 
     standardized flex/grid layouts for easy maintenance.
     ============================================================ */

  .contact-page .om-hero {
    min-height: 540px;
  }
  .contact-page .om-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 34%;
  }
  .contact-page .om-hero__overlay {
    background: linear-gradient(120deg, rgba(20,24,40,.94) 0%, rgba(53,57,104,.74) 52%, rgba(20,24,40,.68) 100%);
  }

  .contact-hero {
    position: relative;
    overflow: hidden;
    padding-top: 68px; /* Offset for fixed header */
    background: var(--navy-700);
    min-height: 400px;
    display: flex;
    align-items: flex-end;
  }
  .contact-hero__bg {
    position: absolute;
    inset: 0;
  }
  .contact-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
  }
  .contact-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(20,24,40,0.95) 0%, rgba(53,57,104,0.6) 100%);
  }
  .contact-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: var(--sp-2xl) 0 var(--sp-xl);
  }
  .contact-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--orange-500);
    margin-bottom: 1rem;
  }
  .contact-hero__eyebrow::before {
    content: ''; display: block; width: 28px; height: 2px; background: var(--orange-500);
  }
  .contact-hero__title {
    color: var(--white);
    margin-bottom: 1rem;
  }
  .contact-hero__desc {
    color: rgba(255,255,255,0.75);
    font-size: 1.1rem;
    max-width: 500px;
    font-weight: 300;
  }

  /* ── Contact Section Layout ── */
  .contact-section {
    padding: var(--sp-2xl) 0;
    background: var(--grey-50);
  }
  .contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
  }

  /* ── Contact Info (Left) ── */
  .contact-info {
    background: var(--navy-700);
    color: var(--white);
    padding: 3.5rem 3rem;
    position: relative;
    overflow: hidden;
  }
  /* Decorative background graphic */
  .contact-info::before {
    content: '';
    position: absolute;
    bottom: -10%; right: -10%;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(243,115,33,0.15) 0%, transparent 70%);
    pointer-events: none;
  }
  .contact-info__header { margin-bottom: 3rem; position: relative; z-index: 1; }
  .contact-info__title { font-size: 1.8rem; margin-bottom: 0.5rem; color: var(--white); }
  .contact-info__subtitle { font-size: 0.95rem; color: rgba(255,255,255,0.65); font-weight: 300; }
  
  .contact-list {
    list-style: none;
    padding: 0; margin: 0;
    position: relative; z-index: 1;
    display: flex; flex-direction: column; gap: 2rem;
  }
  .contact-item {
    display: flex; gap: 1rem; align-items: flex-start;
  }
  .contact-item__icon {
    width: 42px; height: 42px;
    flex-shrink: 0;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--orange-500);
  }
  .contact-item__icon svg { width: 20px; height: 20px; stroke-width: 1.5; }
  .contact-item__text h4 {
    font-size: 0.85rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.3rem;
  }
  .contact-item__text p {
    font-size: 1.05rem; line-height: 1.5; color: var(--white); margin: 0;
  }
  .contact-item__text a {
    color: var(--white); transition: color var(--trans-fast);
  }
  .contact-item__text a:hover { color: var(--orange-500); }

  /* ── Contact Form (Right) ── */
  .contact-form-wrap {
    padding: 3.5rem 4rem 3.5rem 1rem;
  }
  .contact-form-wrap h3 {
    font-size: 1.5rem; color: var(--grey-900); margin-bottom: 2rem;
  }
  
  .form-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  }
  .form-group {
    position: relative;
    margin-bottom: 1.5rem;
  }
  .form-group--full { grid-column: 1 / -1; }
  
  .form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--grey-600);
    margin-bottom: 0.5rem;
  }
  .form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--grey-900);
    background: var(--grey-50);
    border: 1px solid var(--sand);
    border-radius: var(--radius-sm);
    transition: all var(--trans-fast);
  }
  .form-control:focus {
    outline: none;
    border-color: var(--orange-500);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(243,115,33,0.1);
  }
  .form-control--select {
    appearance: none;
    height: 48px;
    min-height: 48px;
    padding-top: 0;
    padding-right: 2.75rem;
    padding-bottom: 0;
    line-height: 48px;
    color: var(--grey-800);
    background-image:
      linear-gradient(45deg, transparent 50%, var(--grey-500) 50%),
      linear-gradient(135deg, var(--grey-500) 50%, transparent 50%);
    background-position:
      calc(100% - 1.15rem) 50%,
      calc(100% - .82rem) 50%;
    background-size: .36rem .36rem, .36rem .36rem;
    background-repeat: no-repeat;
  }
  .form-control--select option {
    color: var(--grey-900);
  }
  .form-control--select:focus {
    background-image:
      linear-gradient(45deg, transparent 50%, var(--orange-500) 50%),
      linear-gradient(135deg, var(--orange-500) 50%, transparent 50%);
  }
  textarea.form-control {
    resize: vertical;
    min-height: 120px;
  }
  
  .form-submit {
    margin-top: 1rem;
  }

  @media (max-width: 992px) {
    .contact-wrapper { grid-template-columns: 1fr; gap: 0; }
    .contact-form-wrap { padding: 3rem; }
  }
  @media (max-width: 768px) {
    .contact-page .om-hero { min-height: 420px; }
    .contact-page .om-hero__bg img { object-position: center 28%; }
    .contact-hero { min-height: 320px; }
    .contact-info { padding: 2.5rem 2rem; }
    .contact-form-wrap { padding: 2.5rem 2rem; }
    .form-grid { grid-template-columns: 1fr; }
  }
