/* Contact Page Specific Styles */

/* Hero Section */
.contact-hero {
  background-image: url('../Images/cattle-landscape.jpg'); /* Add an appropriate image */
  background-size: cover;
  background-position: center;
  height: 300px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(
    107,
    66,
    38,
    0.7
  ); /* Warmer brown overlay matching brand colors */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.contact-hero-overlay h1 {
  font-size: 48px;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.contact-hero-overlay p {
  font-size: 22px;
  margin-top: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  color: #f2e8d5;
}

/* Contact Grid with Cards */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 600px;
  gap: 30px;
  margin: 40px auto;
}

.contact-card {
  padding: 40px 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.contact-icon {
  font-size: 38px;
  color: #800000;
  margin-bottom: 20px;
}

.contact-card h4 {
  font-size: 22px;
  font-weight: 600;
  color: #6b4226;
  margin-bottom: 12px;
}

.contact-card p {
  font-size: 18px;
  color: #333;
  line-height: 1.5;
}

.contact-card a {
  color: #800000;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-card a:hover {
  color: #a00000;
}

/* Active nav item */
.navbar-container a.active {
  background-color: #800000;
  color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-hero-overlay h1 {
    font-size: 36px;
  }

  .contact-hero-overlay p {
    font-size: 18px;
  }

  .contact-hero {
    height: 250px;
  }
}

.navbar-container a.current {
  background-color: #800000;
  color: white;
}
