/* Contact Page Styles */

body {
  padding-top: 120px; /* Adjust based on your header height */
}

.hero-section {
  position: relative;
  width: 100%;
  min-height: 300px; /* Reduced from 400px */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 60px; /* Reduced from 120px */
  padding-bottom: 40px;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--light-color);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: 3rem; /* Slightly reduced */
  margin-bottom: 0.5rem; /* Reduced */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.25rem; /* Slightly reduced */
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.contact-section {
  padding: 5rem 0;
  background-color: var(--light-color);
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--secondary-color);
  margin-bottom: 3rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.contact-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  text-align: center;
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.contact-icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.contact-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.contact-card p,
.contact-card ul {
  color: var(--text-color);
}

.contact-card ul {
  list-style-type: none;
  padding: 0;
}

.contact-card ul li {
  margin-bottom: 0.5rem;
}

.contact-card a {
  color: var(--accent-color);
  text-decoration: none;
  transition: var(--transition);
}

.contact-card a:hover {
  color: var(--secondary-color);
}

.map-section {
  padding: 5rem 0;
  background-color: #f8f9fa;
}

.map-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-card .email-list {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

.contact-card .email-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}

.contact-card .email-label {
  flex: 0 0 180px; /* Adjust this width as needed */
  text-align: right;
  padding-right: 10px;
  font-weight: bold;
}

.contact-card .email-address {
  flex: 1;
}

.contact-card .email-list a {
  word-break: break-all;
}

@media (max-width: 768px) {
  body {
    padding-top: 80px; /* Adjust for smaller screens */
  }

  .hero-section {
    min-height: 250px; /* Reduced */
    padding-top: 60px; /* Adjusted */
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .map-section {
    padding: 3rem 0;
  }

  .map-container {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding-top: 80px; /* Adjusted */
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .map-section {
    padding: 2rem 0;
  }
  .map-container {
    height: 250px;
  }
}

