@import url('helper.css');

/* CONTACT HERO SECTION */
.contact-hero {
  text-align: center;
  padding: 3rem 1rem 2rem;
}

.contact-hero h1 {
  font-size: clamp(40px, 5vw, 70px);
  color: #2e2e2e;
}

h2 {
  font-size: clamp(22px, 3vw, 30px);
  color: #af483e;
  text-align: center;
  font-weight: 600;
}

.contact-hero .subtitle {
  font-size: clamp(16px, 3vw, 20px);
  color: #2e2e2e;
  margin-top: 10px;
}

/* COLUMN CONTAINER */
.contact-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto 3rem;
  box-sizing: border-box;
}

.contact-left,
.contact-right {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* CONTACT QUERIES */
.contact-info-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  justify-items: center;
  /* center grid items */
  width: 100%;
}

.contact-box {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
}

.contact-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 12px 0;
}

.contact-item i {
  font-size: 22px;
  color: #af483e;
}

.contact-item a {
  font-size: 16px;
  color: #2e2e2e;
  text-decoration: none;
}

.contact-item a:hover {
  color: #af483e;
}

/* Contact Form */
.contact-form-container {
  display: flex;
  justify-content: center;
}

#contactForm {
  background: #fffefc;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
  margin: 0 auto;
}

#contactForm h3 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: #2e2e2e;
}

.form-group {
  margin-bottom: 20px;
}

label {
  font-weight: bold;
  font-size: 18px;
  color: #2e2e2e;
  display: block;
  margin-bottom: 5px;
}

.country-code-select {
  text-align: center;
}

.form-control,
.form-select,
textarea {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ddd;
  background: #f9f9f9;
  font-size: 16px;
  box-sizing: border-box;
}

textarea {
  resize: vertical;
}

.phone-input-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 10px;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.btn-submit {
  background: #af483e;
  color: white;
  font-size: 18px;
  padding: 12px;
  border: none;
  border-radius: 6px;
  width: 100%;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-submit:hover {
  background: #2e2e2e;
}

/* Map + Photo */
.contact-right {
  display: flex;
  justify-content: center;
}

.map-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.map {
  width: 100%;
  height: 350px;
  border-radius: 10px;
  border: none;
  margin-bottom: 1rem;
}

.logo {
  width: 100%;
  border-radius: 10px;
  margin-top: 1rem;
}

/* PRIVACY SECTION */
.privacy-note {
  margin-top: 15px;
  text-align: center;
  color: #6c757d;
}

.privacy-note a {
  color: #af483e;
  text-decoration: none;
}

.privacy-note a:hover {
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
  }

  .contact-info-group {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1rem;
  }

  .label {
    font-size: 13px;
  }

  .contact-box {
    max-width: 100%;
    width: 100%;
    padding: 1rem;
  }

  .contact-left {
    gap: 1rem;
  }

  .contact-right {
    gap: 1rem;
    margin-bottom: 20px;
  }

  .contact-form-container {
    justify-content: center;
  }

  #contactForm {
    padding: 20px;
    width: 100%;
  }

  .phone-input-wrapper {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .contact-item a,
  .form-control,
  .form-select,
  textarea {
    font-size: 14px;
  }

  .map-card {
    width: 100%;
    max-width: 500px;
  }

  .privacy-note p {
    font-size: 13px;
  }
}