/* contact.css */
@import url('base.css');

/* Hero Section */
.contact-hero {
  height: 50vh;
  min-height: 400px;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
              url('./images/hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.contact-hero h1 {
  font-size: 3.5rem;
  color: white;
  animation: fadeInUp 1s ease-out;
}

/* Contact Form Section */
.contact--form {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  text-align: center;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #555;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(69, 123, 157, 0.2);
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  background-color: var(--accent);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.submit-btn:hover {
  background-color: var(--dark);
}

.contact--txt--col h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.contact--txt--col p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: #555;
}

.contact--icons {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: #555;
}

.contact--icons .fa-solid {
  font-size: 1.2rem;
  margin-right: 1rem;
  color: var(--accent);
}

#ctc-p {
  font-size: 1rem;
}

/* Map Section */
.location {
  padding: 0 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.locate {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 1024px) {
  .contact-hero h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    min-height: 300px;
  }
  
  .contact-hero h1 {
    font-size: 2.2rem;
  }
  
  .contact--form {
    grid-template-columns: 1fr;
  }
  
  .contact--txt--col {
    order: -1;
  }
}

@media (max-width: 480px) {
  .contact-hero h1 {
    font-size: 1.8rem;
  }
  
  .contact-form h2, .contact--txt--col h1 {
    font-size: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
}