--- START OF FILE visitor.css ---
/* Shared Styles */
.text-center {
  text-align: center;
}
.section-subtitle { 
  text-align: center; 
  max-width: 700px; 
  margin: -0.5rem auto 2.5rem auto; 
  color: #666; 
}

/* Visitor Hero Section */
.visitor-hero {
  position: relative;
  height: 50vh;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  background-size: cover;
  background-position: center 40%;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}
.visitor-hero-content {
  position: relative;
  z-index: 2;
}
.visitor-hero-content h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.visitor-hero-content p {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  font-weight: 300;
  max-width: 600px;
  margin: 0.5rem auto 0 auto;
}

/* Info Section */
.visitor-info {
  padding: 4rem 0;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.detail-item i {
  font-size: 1.75rem;
  color: var(--accent-color);
  margin-top: 0.25rem;
  flex-shrink: 0;
  width: 30px;
  text-align: center;
}
.detail-item h3 {
  margin-top: 0;
  margin-bottom: 0.25rem;
}
.detail-item p {
  margin: 0;
  line-height: 1.7;
}

.info-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
  border-radius: 0.5rem;
}

/* Visitor Form Section */
.visitor-form-section {
  padding: 4rem 0;
  text-align: center; /* <-- ADD THIS LINE */
}

.welcome-form {
  max-width: 700px;
  margin: 2rem auto 0 auto;
  text-align: left;
  background: var(--light-gray);
  padding: 2.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.form-group {
  margin-bottom: 1.5rem;
}
.welcome-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}
.welcome-form input,
.welcome-form textarea {
  width: 100%;
  padding: 0.85rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.welcome-form input:focus,
.welcome-form textarea:focus {
  border-color: var(--accent-color);
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-color-light);
}
.welcome-form button {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  margin-top: 1rem;
  border-radius: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .welcome-form {
    padding: 1.5rem;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .visitor-hero {
    height: auto; /* Let content determine height */
    min-height: 40vh;
    padding: 4rem 1rem;
  }
  .info-grid {
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  /* This query already existed and handles the form grid perfectly.
     I'll add a rule for the reCAPTCHA just in case. */
  
  .welcome-form .form-group .g-recaptcha {
    transform: scale(0.9);
    transform-origin: 0 0;
  }
}