/* style/contact.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1A1A1A; /* Dark Black */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark-section: #1A1A1A; /* For sections with dark background */
  --bg-light-section: #f8f9fa; /* For sections with light background */
  --border-color: #333333;
  --form-bg: #2a2a2a;
  --input-bg: #3c3c3c;
  --input-border: #555;
  --placeholder-color: #ccc;
}

.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light);
  background-color: var(--bg-dark);
}

/* Ensure content is not hidden by fixed header */
.page-contact__hero-section {
  position: relative;
  padding: 80px 20px 60px; /* Adjusted padding for hero section */
  background-color: var(--bg-dark-section);
  color: var(--text-light);
  text-align: center;
}

/* Desktop padding-top for fixed header */
.page-contact__hero-section {
  padding-top: 120px; /* Adjust based on actual header height */
}

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

.page-contact__main-title {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact__hero-description {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-contact__cta-wrapper {
  margin-top: 30px;
}

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-contact__cta-button:hover {
  background: #e6c200; /* Slightly darker gold */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-contact__info-section {
  background-color: var(--bg-light-section);
  color: var(--text-dark);
  padding: 80px 20px;
  text-align: center;
}

.page-contact__info-title {
  font-size: 38px;
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact__section-description {
  font-size: 16px;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #555;
}

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

.page-contact__detail-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
  color: var(--text-dark);
}

.page-contact__detail-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-contact__detail-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-contact__detail-heading {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__detail-text {
  font-size: 16px;
  color: var(--text-dark);
}

.page-contact__phone-link,
.page-contact__email-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-contact__phone-link:hover,
.page-contact__email-link:hover {
  text-decoration: underline;
}

.page-contact__form-section {
  background-color: var(--bg-dark-section);
  color: var(--text-light);
  padding: 80px 20px;
  text-align: center;
}

.page-contact__form-title {
  font-size: 38px;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact__form-description {
  font-size: 18px;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: var(--form-bg);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
  text-align: left;
}

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

.page-contact__form-label {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text-light);
  font-weight: bold;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: calc(100% - 20px); /* Adjust for padding */
  padding: 12px 10px;
  border: 1px solid var(--input-border);
  border-radius: 5px;
  background-color: var(--input-bg);
  color: var(--text-light);
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: var(--placeholder-color);
}

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

.page-contact__form-textarea {
  resize: vertical;
}

.page-contact__submit-button {
  display: block;
  width: 100%;
  padding: 15px 20px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  margin-top: 20px;
}

.page-contact__submit-button:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-contact__social-section {
  background-color: var(--bg-light-section);
  color: var(--text-dark);
  padding: 80px 20px;
  text-align: center;
}

.page-contact__social-title {
  font-size: 38px;
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact__social-description {
  font-size: 18px;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #555;
}

.page-contact__social-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.page-contact__social-icon-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: bold;
  transition: transform 0.3s ease, color 0.3s ease;
}

.page-contact__social-icon-link:hover {
  transform: translateY(-5px);
  color: var(--primary-color);
}

.page-contact__social-icon {
  width: 60px; /* Display size, source image is larger */
  height: 60px;
  margin-bottom: 10px;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  object-fit: contain;
}

.page-contact__social-text {
  font-size: 16px;
}

.page-contact__map-section {
  background-color: var(--bg-dark-section);
  color: var(--text-light);
  padding: 80px 20px;
  text-align: center;
}

.page-contact__map-title {
  font-size: 38px;
  color: var(--primary-color);
  margin-bottom: 40px;
  font-weight: bold;
}

.page-contact__map-embed {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
}

.page-contact__map-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__main-title {
    font-size: 42px;
  }
  .page-contact__info-title,
  .page-contact__form-title,
  .page-contact__social-title,
  .page-contact__map-title {
    font-size: 34px;
  }
  .page-contact__cta-button {
    font-size: 18px;
    padding: 12px 30px;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding-top: 100px !important; /* Mobile padding-top for fixed header */
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-contact__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-contact__main-title {
    font-size: 36px;
  }
  .page-contact__hero-description {
    font-size: 16px;
  }
  .page-contact__info-section,
  .page-contact__form-section,
  .page-contact__social-section,
  .page-contact__map-section {
    padding: 50px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-contact__info-title,
  .page-contact__form-title,
  .page-contact__social-title,
  .page-contact__map-title {
    font-size: 30px;
  }
  .page-contact__section-description,
  .page-contact__form-description,
  .page-contact__social-description {
    font-size: 15px;
  }
  .page-contact__contact-details {
    grid-template-columns: 1fr;
  }
  .page-contact__detail-item {
    padding: 25px;
  }
  .page-contact__detail-icon {
    width: 60px;
    height: 60px;
  }
  .page-contact__detail-heading {
    font-size: 20px;
  }
  .page-contact__form-input,
  .page-contact__form-textarea {
    width: calc(100% - 20px) !important;
    font-size: 15px;
  }
  .page-contact__contact-form {
    padding: 30px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-contact__submit-button {
    font-size: 16px;
    padding: 14px 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-contact__social-links {
    gap: 20px;
  }
  .page-contact__social-icon {
    width: 50px;
    height: 50px;
  }
  .page-contact__social-text {
    font-size: 14px;
  }
  .page-contact__map-embed {
    border-radius: 5px;
  }
  /* Image responsive adaptations */
  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-contact__section,
  .page-contact__card,
  .page-contact__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-contact__main-title {
    font-size: 32px;
  }
  .page-contact__info-title,
  .page-contact__form-title,
  .page-contact__social-title,
  .page-contact__map-title {
    font-size: 28px;
  }
  .page-contact__cta-button {
    font-size: 16px;
    padding: 10px 25px;
  }
  .page-contact__detail-heading {
    font-size: 18px;
  }
  .page-contact__detail-text {
    font-size: 14px;
  }
  .page-contact__form-label {
    font-size: 14px;
  }
  .page-contact__form-input,
  .page-contact__form-textarea {
    font-size: 14px;
  }
  .page-contact__submit-button {
    font-size: 15px;
    padding: 12px 15px;
  }
}