/* ===============================
   Contact Page Styles
   =============================== */

/* Hero Section */
.contact-hero {
  background: linear-gradient(rgba(1, 68, 33, 0.7), rgba(1, 68, 33, 0.7)),
  image-set(
    url('../img/avif/background.avif') 1x,
    url('../img/webp/background.webp') 1x,
    url('../img/fallback/background.png') 1x
  ) no-repeat center;
  background-size: cover;
  color: var(--gold);
  text-align: center;
  padding: 6rem 2rem;
  box-shadow: inset 0 -5px 10px rgba(0, 0, 0, 0.25);
}

.contact-hero h1 {
  margin-top: 1.2rem;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.contact-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  color: white;
}

/* Main Content Section */
.contact-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4rem;
  padding: 4rem 2rem;
  background-color: rgba(255, 255, 255, 0.95);
}

/* Social Media */
.social-section {
  flex: 1 1 300px;
  text-align: center;
}

.social-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--dark-green);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 2rem;
}

.social-icons a {
  color: var(--gold);
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  color: var(--dark-green);
  transform: scale(1.2);
}

/* Contact Form */
.form-section {
  flex: 1 1 400px;
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--dark-green);
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--dark-green);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--gold);
  border-radius: 6px;
  font-size: 1rem;
  background-color: #fdfdfd;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--dark-green);
}

.submit-btn {
  background-color: var(--gold);
  color: var(--dark-green);
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: block;
  margin-top: 1rem;
}

.submit-btn:hover {
  background-color: var(--dark-green);
  color: var(--white);
}

/* Fade-in Animation */
.contact-hero,
.contact-content {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}

.contact-content {
  animation-delay: 0.3s;
}
.contact-info {
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--gold);
}

.contact-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--dark-green);
}

.contact-info ul {
  list-style: none;
  padding: 0;
}

.contact-info li {
  margin-bottom: 0.25rem;
}

.social-section{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

/* Responsive Adjustments */
@media (max-width: 768px) {
  .contact-content {
    flex-direction: column;
    align-items: center;
  }

  .form-section,
  .social-section {
    width: 100%;
  }
}
/* Desktop enhancements for social section and contact info */
@media (min-width: 992px) {
  .social-section {
    flex: 1;
    padding-right: 2rem;
  }

  .social-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .social-icons a {
    font-size: 2.5rem;
    margin: 1rem;
  }

  .contact-info {
    margin-top: 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
  }

  .contact-info h3 {
    font-size: 1.4rem;
  }
}
