/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
  font-family: 'Arial', sans-serif;
  color: #F8F9FA; /* Light text on dark background */
  background-color: #1a1a1a; /* Dark background for overall page */
  line-height: 1.6;
}

.page-contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-contact__hero {
  background: linear-gradient(135deg, #007BFF, #0056b3); /* Darker blue gradient */
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-contact__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:abstract_pattern,geometric,dark_blue]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page-contact__hero > * {
  position: relative;
  z-index: 1;
}

.page-contact__title {
  font-size: 3.2em;
  color: #FFC107; /* Auxiliary color for title */
  margin-bottom: 15px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-contact__subtitle {
  font-size: 1.4em;
  color: #E9ECEF;
  margin-bottom: 40px;
}

.page-contact__hero-image {
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-top: 30px;
}

.page-contact__section-title {
  font-size: 2.5em;
  color: #007BFF; /* Main color for section titles */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
  font-weight: bold;
}

.page-contact__section-title--light {
  color: #FFC107;
}

.page-contact__description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #CED4DA;
}

.page-contact__description--light {
  color: #F8F9FA;
}

/* Contact Methods Section */
.page-contact__methods {
  padding: 60px 0;
  background-color: #212529;
}

.page-contact__method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-contact__method-item {
  background-color: #2c3034;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__method-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
}

.page-contact__method-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(0, 123, 255, 0.5));
}

.page-contact__method-heading {
  font-size: 1.8em;
  color: #FFC107;
  margin-bottom: 15px;
}

.page-contact__method-text {
  color: #ADB5BD;
  font-size: 1em;
  margin-bottom: 25px;
}

/* Contact Form Section */
.page-contact__form-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #2c3034;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.page-contact__form-group {
  margin-bottom: 25px;
}

.page-contact__form-label {
  display: block;
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #FFC107;
  font-weight: bold;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #007BFF;
  border-radius: 5px;
  background-color: #3b3f44;
  color: #F8F9FA;
  font-size: 1em;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #ADB5BD;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #FFC107;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
  outline: none;
}

.page-contact__form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Call to Action Section */
.page-contact__cta {
  background: linear-gradient(90deg, #007BFF, #0056b3); /* Dark blue gradient */
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-contact__cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:abstract_lines,digital,tech_pattern]') no-repeat center center/cover;
  opacity: 0.15;
  z-index: 0;
}

.page-contact__cta > * {
  position: relative;
  z-index: 1;
}

.page-contact__cta-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-contact__cta-image {
  max-width: 800px;
  height: auto;
  margin-top: 50px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Buttons */
.page-contact__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1.1em;
}

.page-contact__btn--primary {
  background-color: #FFC107; /* Auxiliary color for primary action */
  color: #212529; /* Dark text for contrast */
  box-shadow: 0 4px 10px rgba(255, 193, 7, 0.4);
}

.page-contact__btn--primary:hover {
  background-color: #e0a800;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 193, 7, 0.5);
}

.page-contact__btn--secondary {
  background-color: #007BFF; /* Main color for secondary action */
  color: #F8F9FA; /* Light text for contrast */
  border: 1px solid #007BFF;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.page-contact__btn--secondary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 123, 255, 0.4);
}

.page-contact__btn--submit {
  background-color: #28a745; /* Green for submit */
  color: #F8F9FA;
  width: 100%;
  padding: 15px 25px;
  font-size: 1.2em;
  box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3);
}

.page-contact__btn--submit:hover {
  background-color: #218838;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(40, 167, 69, 0.4);
}

.page-contact__btn--large {
  padding: 15px 30px;
  font-size: 1.2em;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-contact__title {
    font-size: 2.8em;
  }

  .page-contact__subtitle {
    font-size: 1.2em;
  }

  .page-contact__section-title {
    font-size: 2em;
  }

  .page-contact__method-grid {
    grid-template-columns: 1fr;
  }

  .page-contact__hero-image,
  .page-contact__cta-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-contact__hero,
  .page-contact__methods,
  .page-contact__form-section,
  .page-contact__cta {
    padding: 40px 0;
  }

  .page-contact__title {
    font-size: 2.2em;
  }

  .page-contact__subtitle {
    font-size: 1em;
  }

  .page-contact__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-contact__description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-contact__method-item {
    padding: 20px;
  }

  .page-contact__method-icon {
    width: 60px;
    height: 60px;
  }

  .page-contact__method-heading {
    font-size: 1.5em;
  }

  .page-contact__contact-form {
    padding: 25px;
  }

  .page-contact__form-label {
    font-size: 1em;
  }

  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 10px;
    font-size: 0.95em;
  }

  .page-contact__btn,
  .page-contact__btn--large {
    padding: 10px 20px;
    font-size: 1em;
  }

  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-contact__title {
    font-size: 1.8em;
  }

  .page-contact__section-title {
    font-size: 1.5em;
  }

  .page-contact__btn--submit {
    font-size: 1.1em;
    padding: 12px 20px;
  }
  .page-contact__hero-image,
  .page-contact__cta-image {
    margin-top: 30px;
  }
}