/* Contact page custom styles (tailwind-unhandled helpers and responsive fallbacks) */

/* Hero */
.hero-contact {
  background: var(--official-green);

  text-align: center;
}
.contact-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
}
.contact-sub {
  font-size: 1.25rem;
  color: var(--secondary-font-color);
  opacity: 0.95;
}

/* Generic card */
.card {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.contact-card {
  text-align: center;
}
.contact-icon {
  color: var(--official-green);
  background: rgba(107, 142, 35, 0.12);
}
.contact-icon svg {
  color: inherit;
  stroke: currentColor;
}
.icon-wrap svg,
.icon-wrap img {
  width: 28px;
  height: 28px;
}

/* Form controls */
.input-field,
.textarea-field {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 1rem;
}
.textarea-field {
  min-height: 140px;
  resize: vertical;
}

.btn-primary {
  display: inline-block;
  background: var(--official-brown);
  color: var(--secondary-font-color);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: none;
  font-weight: 400;
}

.btn-primary:hover {
  background: #5c432f;
}
.btn-primary:active {
  background: #4a3626;
}

.full-width {
  width: 100%;
}

/* Map */
.map-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.hours-card {
  background: linear-gradient(to bottom right, #443832, var(--official-brown));
  color: var(--secondary-font-color);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.hours-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.hours-card h3 {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 0.5rem;
}

.hours-card p {
  color: rgba(255, 255, 255, 0.9);
}

.hours-card .space-y-2 p {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  transition: background 0.3s ease;
}

.hours-card .space-y-2 p:hover {
  background-color: rgba(255, 255, 255, 0.15);
}
/* Responsive */
@media (min-width: 768px) {
  .contact-title {
    font-size: 3.75rem;
  }
  .contact-sub {
    font-size: 1.25rem;
  }
}
@media (max-width: 480px) {
  .contact-title {
    font-size: 2rem;
  }
  .icon-wrap {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 640px) {
  .map-card,
  .hours-card {
    margin-left: 1rem;
    margin-right: 1rem;
  }
}

/* utility */
.text-muted-foreground {
  color: #6b7280;
}
.text-primary-foreground {
  color: #111827;
}
.bg-secondary-10 {
  background: rgba(15, 23, 42, 0.04);
}

/* Animations */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-fade-in-up {
  animation: fade-in-up 0.8s ease-out forwards;
}
.animate-fade-in {
  animation: fade-in 0.6s ease-out forwards;
  opacity: 0; /* Initial state for elements using this */
}

@media (max-width: 480px) {
  .contact-tag {
    font-size: 2rem;
  }
}
