@import url("base.css");

/* Contact page specific overrides can be added below. */

.page-contact main {
  padding-top: calc(var(--hero-spacing-top) + 2rem);
}

.hero--contact {
  padding-block: var(--hero-spacing-top) 0rem;
}

.hero--contact .hero__copy {
  display: grid;
  gap: 1.5rem;
}

.hero--contact .hero__copy h1 {
  font-size: 42px;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.hero--contact .hero__copy p {
  color: var(--color-text-muted);
  max-width: 34rem;
}

.hero--contact .hero__actions .btn {
  min-width: 180px;
}

.hero__image-layer--contact {
  background-image: url("../logo/contact.jpg");
}

.hero__image-layer--contact-secondary {
  background-image: linear-gradient(
      160deg,
      rgba(163, 180, 156, 0.32),
      rgba(4, 21, 45, 0.35)
    ),
    url("https://images.unsplash.com/photo-1525182008055-f88b95ff7980?auto=format&fit=crop&w=1000&q=80");
}

.contact-wrap {
  align-items: stretch;
}

.contact-wrap > * {
  height: 100%;
}

.contact-card.card {
  --card-bg: rgba(10, 26, 51, 0.86);
  padding: 2.5rem;
  display: grid;
  gap: 1.25rem;
}

.contact-card.card h3 {
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.contact-card.card p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.contact-card.card .map-frame {
  border-radius: var(--radius-md);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.contact-card.card .map-frame iframe {
  width: 100%;
  height: 240px;
  border: 0;
  border-radius: calc(var(--radius-md) - 0.5rem);
  display: block;
  filter: grayscale(0.1) contrast(1.05);
}

.contact-card.card .map-placeholder {
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
}

.contact-card.card .contact-bullets span {
  background: rgba(255, 255, 255, 0.06);
}
.contact-card.card .social-link:hover .link-content {
  background: #000;
  color: #fff;
}

.contact-card.card:hover,
.contact-card.card:hover h3,
.contact-card.card:hover p,
.contact-card.card:hover a {
  color: #000;
}

/* Preserve readability on hover for the contact info card */
.contact-card.card::before {
  content: none;
}

.contact-card.card:hover {
  color: var(--color-text);
}

.contact-card.card:hover p {
  color: var(--color-text-muted);
}

.page-contact .form {
  background: rgba(7, 18, 36, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.06);
  min-height: 100%;
}

.page-contact .form button {
  width: fit-content;
  min-width: 210px;
  justify-self: flex-start;
  align-self: flex-start;
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .hero--contact {
    padding-block: var(--hero-spacing-top) -1rem;
  }

  .hero--contact .hero__copy h1 {
    font-size: clamp(2rem, 6vw, 2.6rem);
  }

  .hero--contact .hero__inner {
    grid-template-columns: 1fr;
  }
}
.section {
  background: var(--color-bg-base);
}

.section--light,
.section--dark {
  background: var(--color-bg-base);
}

.section::before,
.section--light::before,
.section--dark::before {
  content: none;
}
.star {
  color: red;
}
.form input,
.form select,
.form textarea {
  background: transparent; /* no background */
  border: none; /* remove all borders */
  border-bottom: 1px solid rgba(255, 255, 255, 0.25); /* bottom border only */
  border-radius: 0; /* no radius for bottom-border fields */

  padding: 0.5rem 0; /* vertical padding only */
  color: #ffffff;
  font: inherit;

  transition: border-color 180ms ease, transform 180ms ease;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none; /* remove blue outline */
  border-bottom-color: rgba(255, 255, 255, 0.9); /* brighter line on focus */
}
