/* =========================
   CONTACT PAGE
========================= */

body {
  margin: 0;
  padding: 0;
  font-family: 'Canva Sans', sans-serif;
}

/* Section reveal animation */
.animate-section {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.animate-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   CONTACT HERO
========================= */
.contact-hero {
  position: relative;
  height: 85vh;
  max-height: 900px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(
      rgba(7, 42, 84, 0.85),
      rgba(7, 42, 84, 0.65)
    ),
    url("/assets/contact-hero.png") center / cover no-repeat;
  overflow: hidden;
  color: #ffffff;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 42, 84, 0.5);
  z-index: 1;
}

/* Canvas for interactive cursor */
#heroCanvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* Hero content */
.contact-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  text-align: center;
  padding: 0 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.5s;
}

.section-eyebrow {
  color: #ecaf27;
  font-weight: 500;
  letter-spacing: 0.25em;
  font-size: 1.85rem;
  font-family: 'Garet', sans-serif;
  margin-bottom: 20px;
  display: inline-block;
  text-shadow: 2px 2px 6px rgba(234, 194, 49, 0.6);
}

.contact-hero h1 {
  font-family: 'Garet', sans-serif;
  font-weight: 400;
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
}

.contact-hero p {
  font-size: 1.5rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 620px;
  margin: 0 auto;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   CONTACT SECTION
========================= */
.contact-section {
  background-color: #e6e6e6;
  padding: 5rem 2rem;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* =========================
   CONTACT FORM
========================= */
.contact-form-wrapper h2 {
  font-family: 'Garet', sans-serif;
  font-size: 2.2rem;
  color: #072a54;
  margin-bottom: 2rem;
  font-weight: 400;
}

.contact-form {
  background-color: #ffffff;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.8rem;
}

.form-group label {
  display: block;
  font-size: 1rem;
  color: #072a54;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: 'Canva Sans', sans-serif;
  border: 1.5px solid #d0d0d0;
  border-radius: 4px;
  background-color: #ffffff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ecaf27;
  box-shadow: 0 0 0 3px rgba(236, 175, 39, 0.1);
}

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

.submit-btn {
  background-color: #ecaf27;
  color: #072a54;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 400;
  font-family: 'Garet', sans-serif;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
  background-color: #d9a81f;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(236, 175, 39, 0.3);
}

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

/* =========================
   CONTACT INFO
========================= */
.contact-info-wrapper h2 {
  font-family: 'Garet', sans-serif;
  font-size: 2.2rem;
  color: #072a54;
  margin-bottom: 2rem;
  font-weight: 400;
}

.contact-info-block {
  background-color: #ffffff;
  padding: 1.8rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid #ecaf27;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.contact-info-block h3 {
  font-family: 'Garet', sans-serif;
  font-size: 1.3rem;
  color: #072a54;
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.contact-info-block p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

.contact-info-block a {
  color: #072a54;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info-block a:hover {
  color: #ecaf27;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-links a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #072a54;
  color: #ffffff;
  border-radius: 4px;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.social-links a:hover {
  background-color: #ecaf27;
  color: #072a54;
  transform: translateY(-2px);
}

/* =========================
   MAP SECTION
========================= */
.contact-map {
  background-color: #ffffff;
  padding: 5rem 2rem;
}

.map-container {
  max-width: 1200px;
  margin: 0 auto;
}

.map-container h2 {
  font-family: 'Garet', sans-serif;
  font-size: 2.2rem;
  color: #072a54;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 400;
}

.map-placeholder {
  background-color: #e6e6e6;
  height: 400px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed #ccc;
}

.map-placeholder p {
  font-size: 1.2rem;
  color: #999;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-hero {
    height: 65vh;
  }

  .contact-hero h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .contact-hero h1 {
    font-size: 2.2rem;
  }

  .contact-hero p {
    font-size: 1.2rem;
  }

  .section-eyebrow {
    font-size: 1.4rem;
  }

  .contact-form {
    padding: 2rem;
  }

  .map-placeholder {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .contact-hero h1 {
    font-size: 1.8rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .social-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  .social-links a {
    text-align: center;
  }
}

/* Mobile Touch Support */
@media (hover: none) and (pointer: coarse) {
  .submit-btn:active {
    background-color: #d9a81f;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(236, 175, 39, 0.3);
  }
  
  .social-links a:active {
    background-color: #ecaf27;
    color: #072a54;
    transform: translateY(-2px);
  }
  
  .contact-info-block a:active {
    color: #ecaf27;
  }
}

@media (prefers-reduced-motion: reduce) {
  .animate-section {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
