/* style/contact.css */
.page-contact {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  color: #ffffff; /* Light text for dark body background */
  background-color: #111111; /* Matching body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-contact__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #000000; /* Main dark color */
  position: relative;
  overflow: hidden;
}

.page-contact__hero-content {
  max-width: 800px;
  z-index: 1;
  position: relative;
}

.page-contact__hero-title {
  font-size: 3.2em;
  color: #FFD700; /* Accent gold color */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.page-contact__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-contact__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.page-contact__button--primary {
  background-color: #FFD700; /* Accent gold */
  color: #000000;
  border: 2px solid #FFD700;
}

.page-contact__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-contact__button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-contact__button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-3px);
}

.page-contact__button--small {
  padding: 10px 20px;
  font-size: 0.95em;
  border-radius: 5px;
  background-color: #DC143C; /* Emphasis red */
  color: #ffffff;
  border: none;
}

.page-contact__button--small:hover {
  background-color: #b20e2f;
  transform: translateY(-2px);
}

.page-contact__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-contact__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.page-contact__channels-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.page-contact__section-title {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

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

.page-contact__channel-card {
  background-color: #000000; /* Dark background for cards */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-contact__channel-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-contact__channel-icon {
  width: 250px;
  height: 187px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  border: 2px solid #FFD700;
}

.page-contact__channel-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-contact__channel-description {
  font-size: 1.05em;
  color: #cccccc;
  margin-bottom: 25px;
}

.page-contact__form-section {
  max-width: 800px;
  margin: 60px auto;
  padding: 40px;
  background-color: #000000; /* Dark background for form section */
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-contact__contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.page-contact__form-group {
  text-align: left;
}

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 0, 0.4);
  background-color: #1a1a1a;
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

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

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

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

.page-contact__button--submit {
  background-color: #DC143C; /* Emphasis red */
  color: #ffffff;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  align-self: flex-start; /* Align button to the left */
}

.page-contact__button--submit:hover {
  background-color: #b20e2f;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 60px 15px;
  }

  .page-contact__hero-title {
    font-size: 2.2em;
  }

  .page-contact__hero-description {
    font-size: 1em;
  }

  .page-contact__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-contact__button {
    width: 100%;
    max-width: 300px;
  }

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

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

  .page-contact__channel-card {
    padding: 25px;
  }

  .page-contact__channel-icon {
    width: 100%;
    height: auto;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .page-contact__form-section {
    padding: 30px 20px;
    margin: 40px auto;
  }

  .page-contact__contact-form {
    gap: 15px;
  }

  .page-contact__button--submit {
    width: 100%;
  }

  /* Ensure all images within .page-contact are responsive and don't overflow */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }
}

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

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