/* ============================================
   CONTACT CSS - Contact Page Styles
   ============================================ */

@import url('./global.css');

/* ============================================
   CONTACT HEADER BACKGROUND
   ============================================ */

.contact-header {
  background-image: url('../assets/jordan_Image.jpg');
}

/* ============================================
   FORM INPUT STYLES
   ============================================ */

.glass-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 12px 14px;
  transition: all 0.3s ease;
  font-size: 14px;
  color: var(--text-dark);
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
}

.glass-input::placeholder {
  color: #999;
  font-weight: 400;
}

.glass-input:focus {
  outline: none;
  border-color: var(--primary-desert);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 0 4px rgba(184, 132, 77, 0.15);
  transform: translateY(-2px);
}

.glass-input:disabled {
  background: rgba(255, 255, 255, 0.3);
  cursor: not-allowed;
  opacity: 0.6;
}

/* INPUT LABEL STYLES */
.glass-input ~ label,
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #666;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .glass-input {
    border-radius: 16px;
    padding: 16px 18px;
    font-size: 15px;
  }

  label {
    font-size: 12px;
    letter-spacing: 0.8px;
  }
}

/* ============================================
   SUBMIT BUTTON STYLES
   ============================================ */

.submit-btn {
  width: 100%;
  background: var(--primary-desert);
  color: white;
  padding: 14px;
  border-radius: 12px;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.submit-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(184, 132, 77, 0.4);
}

.submit-btn:active {
  transform: translateY(-1px);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.submit-btn .material-icons {
  font-size: 18px;
}

@media (min-width: 768px) {
  .submit-btn {
    padding: 16px;
    border-radius: 16px;
    font-size: 15px;
  }

  .submit-btn .material-icons {
    font-size: 20px;
  }
}

/* ============================================
   FAQ ACCORDION STYLES
   ============================================ */

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: 16px;
  overflow: hidden;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.03);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  border-color: rgba(184, 132, 77, 0.1);
}

.faq-item.active {
  box-shadow: 0 10px 25px rgba(184, 132, 77, 0.1);
  border-color: rgba(184, 132, 77, 0.2);
}

/* FAQ TRIGGER BUTTON */
.faq-trigger {
  width: 100%;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  font-size: 14px;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.faq-trigger:hover {
  color: var(--primary-desert);
}

.faq-trigger .material-icons {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  color: var(--primary-desert);
  font-size: 20px;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item.active .faq-trigger {
  color: var(--primary-desert);
  background: rgba(184, 132, 77, 0.05);
}

.faq-item.active .faq-trigger .material-icons {
  transform: rotate(180deg);
}

/* FAQ CONTENT */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 16px;
  color: #666;
}

.faq-item.active .faq-content {
  max-height: 300px;
  padding-bottom: 16px;
  opacity: 1;
}

.faq-content p {
  color: #666;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

@media (min-width: 768px) {
  .faq-container {
    gap: 16px;
  }

  .faq-item {
    border-radius: 20px;
  }

  .faq-trigger {
    padding: 20px 24px;
    font-size: 15px;
  }

  .faq-trigger .material-icons {
    font-size: 24px;
    margin-left: 16px;
  }

  .faq-content {
    padding: 0 24px;
  }

  .faq-item.active .faq-content {
    padding-bottom: 20px;
  }

  .faq-content p {
    font-size: 14px;
  }
}

/* ============================================
   CONTACT INFO SECTION
   ============================================ */

.contact-info {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-info-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #999;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #666;
  transition: all 0.3s ease;
  padding: 8px 0;
  font-size: 13px;
  margin-bottom: 8px;
}

.contact-link:hover {
  color: var(--primary-desert);
  transform: translateX(4px);
}

.contact-link .material-icons {
  font-size: 18px;
  color: var(--primary-desert);
}

@media (min-width: 768px) {
  .contact-info {
    margin-top: 32px;
    padding-top: 24px;
  }

  .contact-info-title {
    font-size: 12px;
    margin-bottom: 16px;
  }

  .contact-link {
    gap: 16px;
    font-size: 14px;
    padding: 10px 0;
    margin-bottom: 12px;
  }

  .contact-link .material-icons {
    font-size: 20px;
  }
}

/* ============================================
   FORM GROUP STYLING
   ============================================ */

.group {
  margin-bottom: 12px;
}

.group:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .group {
    margin-bottom: 20px;
  }
}

/* ============================================
   FORM HEADER STYLING
   ============================================ */

.form-header,
.faq-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e0e0e0;
}

.form-header .material-icons,
.faq-header .material-icons {
  color: var(--primary-desert);
  font-size: 24px;
}

.form-header h2,
.faq-header h2 {
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

@media (min-width: 768px) {
  .form-header,
  .faq-header {
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
  }

  .form-header .material-icons,
  .faq-header .material-icons {
    font-size: 28px;
  }

  .form-header h2,
  .faq-header h2 {
    font-size: 20px;
  }
}

/* ============================================
   RESPONSIVE GRID LAYOUT
   ============================================ */

@media (max-width: 1023px) {
  .contact-form-wrapper {
    margin-bottom: 32px;
  }
}

@media (min-width: 1024px) {
  .contact-form-wrapper {
    order: 1;
  }

  .contact-faq-wrapper {
    order: 2;
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

.glass-input:focus-visible,
.submit-btn:focus-visible,
.faq-trigger:focus-visible {
  outline: 2px solid var(--primary-desert);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .faq-content,
  .glass-input,
  .submit-btn,
  .faq-trigger .material-icons {
    transition: none;
  }
}

/* ============================================
   SUCCESS MESSAGE STYLING
   ============================================ */

.success-message {
  background: rgba(74, 222, 128, 0.1);
  color: #15803d;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(74, 222, 128, 0.3);
  margin-bottom: 16px;
  font-size: 13px;
  animation: slideDown 0.4s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  .page-navigation,
  .logo-header {
    display: none;
  }

  .faq-item {
    break-inside: avoid;
  }
}