/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

/* Page Hero */
.contact-page .page-hero {
  padding: 10rem 0 4rem;
  background: var(--dark-charcoal);
  text-align: center;
  margin-top: 90px;
}

.contact-page .page-hero .section-label {
  color: var(--primary-gold);
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.contact-page .page-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 400;
  color: white;
  margin-bottom: 1.5rem;
}

.contact-page .page-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Contact Section */
.contact-section {
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
}

/* Contact Info Panel */
.contact-info-panel {
  position: sticky;
  top: 120px;
}

.contact-card {
  background: var(--dark-charcoal);
  padding: 2.5rem;
  color: white;
  margin-bottom: 1.5rem;
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  color: white;
  margin-bottom: 1rem;
}

.contact-intro {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Contact Details List */
.contact-details {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(201, 169, 97, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary-gold);
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.5);
}

.contact-text a,
.contact-text span:not(.contact-label) {
  font-size: 1rem;
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-text a:hover {
  color: var(--primary-gold);
}

/* WhatsApp Button - Theme styled */
.whatsapp-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem 2rem;
  background: var(--dark-charcoal);
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: 2px solid var(--dark-charcoal);
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
}

.whatsapp-button:hover {
  background: transparent;
  color: var(--dark-charcoal);
}

.whatsapp-button svg {
  width: 20px;
  height: 20px;
}

/* Discretion Notice */
.discretion-notice {
  background: white;
  padding: 1.5rem;
  border-left: 3px solid var(--primary-gold);
}

.discretion-notice h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-charcoal);
  margin-bottom: 0.5rem;
}

.discretion-notice p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
  background: white;
  padding: 3rem;
  border: 1px solid var(--neutral-gray);
}

.contact-form-wrapper h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--dark-charcoal);
  margin-bottom: 0.5rem;
}

.contact-form-wrapper .form-intro {
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* CF7 Form Styles */
.contact-form-wrapper .wpcf7 {
  margin: 0;
}

.contact-form-wrapper .wpcf7-form {
  margin: 0;
}

.contact-form-wrapper .wpcf7-form p {
  margin-bottom: 1.5rem;
}

.contact-form-wrapper .wpcf7-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--dark-charcoal);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-form-wrapper .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-checkbox):not(.wpcf7-acceptance) {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--dark-charcoal);
  background: white;
  border: 1px solid var(--neutral-gray);
  border-radius: 0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-wrapper .wpcf7-form-control:not(.wpcf7-submit):focus {
  outline: none;
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

.contact-form-wrapper .wpcf7-form-control.wpcf7-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B6B6B' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.contact-form-wrapper .wpcf7-form-control.wpcf7-textarea {
  min-height: 150px;
  resize: vertical;
}

/* CF7 Submit Button */
.contact-form-wrapper .wpcf7-form-control.wpcf7-submit {
  display: inline-block;
  padding: 1.25rem 3rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: var(--dark-charcoal);
  color: white;
  border: 2px solid var(--dark-charcoal);
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 200px;
}

.contact-form-wrapper .wpcf7-form-control.wpcf7-submit:hover {
  background: transparent;
  color: var(--dark-charcoal);
}

/* CF7 Validation */
.contact-form-wrapper .wpcf7-not-valid-tip {
  display: block;
  font-size: 0.85rem;
  color: #dc2626;
  margin-top: 0.5rem;
}

.contact-form-wrapper .wpcf7-form-control.wpcf7-not-valid {
  border-color: #dc2626;
}

/* CF7 Response Messages */
.contact-form-wrapper .wpcf7-response-output {
  margin: 2rem 0 0;
  padding: 1rem 1.5rem;
  border: none;
}

.contact-form-wrapper .wpcf7 form.sent .wpcf7-response-output {
  background: #f0fdf4;
  border-left: 4px solid #22c55e;
  color: #166534;
}

.contact-form-wrapper .wpcf7 form.invalid .wpcf7-response-output,
.contact-form-wrapper .wpcf7 form.unaccepted .wpcf7-response-output,
.contact-form-wrapper .wpcf7 form.failed .wpcf7-response-output {
  background: #fef2f2;
  border-left: 4px solid #dc2626;
  color: #dc2626;
}

.contact-form-wrapper .wpcf7-spinner {
  margin-left: 1rem;
}

/* Form Grid Layout */
.contact-form-wrapper .form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-form-wrapper .form-row p {
  margin-bottom: 0;
}

/* Custom Form Styles */
.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form .form-group.half {
  margin-bottom: 0;
}

.contact-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--dark-charcoal);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-form .required {
  color: #dc2626;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--dark-charcoal);
  background: white;
  border: 1px solid var(--neutral-gray);
  border-radius: 0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

.contact-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B6B6B' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form .form-actions {
  margin-top: 2rem;
}

.contact-form .btn {
  display: inline-block;
  padding: 1.25rem 3rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: var(--dark-charcoal);
  color: white;
  border: 2px solid var(--dark-charcoal);
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 200px;
}

.contact-form .btn:hover {
  background: transparent;
  color: var(--dark-charcoal);
}

.contact-form .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Form Success State */
.form-success {
  text-align: center;
  padding: 3rem;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-gold);
  color: white;
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  border-radius: 50%;
}

.form-success h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--dark-charcoal);
  margin-bottom: 1rem;
}

.form-success p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Floating WhatsApp Button - Theme styled */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  background: var(--dark-charcoal);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 999;
}

.whatsapp-float:hover {
  background: var(--primary-gold);
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
}

.whatsapp-float svg {
  width: 26px;
  height: 26px;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Large screens - wider form */
@media (min-width: 1400px) {
  .contact-section .container {
    max-width: 1400px;
  }

  .contact-form-wrapper {
    padding: 3.5rem;
  }
}

/* Large tablets and small desktops */
@media (max-width: 1200px) {
  .contact-grid {
    grid-template-columns: 320px 1fr;
    gap: 2.5rem;
  }

  .contact-form-wrapper {
    padding: 2.5rem;
  }

  .contact-card {
    padding: 2rem;
  }
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-info-panel {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .contact-card {
    grid-column: 1 / -1;
  }

  .whatsapp-button {
    margin-bottom: 0;
  }

  .discretion-notice {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .contact-page .page-hero {
    padding: 8rem 0 3rem;
  }

  .contact-page .page-title {
    font-size: 2.5rem;
  }

  .contact-page .page-description {
    font-size: 1rem;
  }

  .contact-section {
    padding: 2.5rem 0;
  }

  .contact-info-panel {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 1.75rem;
  }

  .contact-card h3 {
    font-size: 1.5rem;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }

  .contact-form-wrapper h2 {
    font-size: 1.5rem;
  }

  .contact-form-wrapper .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper .wpcf7-form-control.wpcf7-submit,
  .contact-form .btn {
    width: 100%;
  }

  .form-success h2 {
    font-size: 1.75rem;
  }

  .form-success p {
    font-size: 1rem;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
  }
}

@media (max-width: 480px) {
  .contact-page .page-hero {
    padding: 6rem 0 2rem;
    margin-top: 70px;
  }

  .contact-page .page-title {
    font-size: 2rem;
  }

  .contact-page .section-label {
    font-size: 0.75rem;
  }

  .contact-section {
    padding: 1.5rem 0 2.5rem;
  }

  .contact-card {
    padding: 1.5rem;
  }

  .contact-card h3 {
    font-size: 1.35rem;
  }

  .contact-intro {
    font-size: 0.9rem;
  }

  .contact-icon {
    width: 42px;
    height: 42px;
  }

  .contact-icon svg {
    width: 20px;
    height: 20px;
  }

  .contact-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .contact-form-wrapper {
    padding: 1.25rem;
    border-left: none;
    border-right: none;
    margin-left: -1rem;
    margin-right: -1rem;
    width: calc(100% + 2rem);
  }

  .contact-form-wrapper h2 {
    font-size: 1.35rem;
  }

  .contact-form-wrapper .wpcf7-form label,
  .contact-form label {
    font-size: 0.75rem;
  }

  .contact-form-wrapper .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-checkbox):not(.wpcf7-acceptance),
  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form input[type="tel"],
  .contact-form select,
  .contact-form textarea {
    padding: 0.75rem;
    font-size: 16px; /* Prevents iOS zoom */
  }

  .success-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }

  .form-success h2 {
    font-size: 1.5rem;
  }

  .discretion-notice {
    padding: 1.25rem;
  }

  .discretion-notice h4 {
    font-size: 1rem;
  }

  .discretion-notice p {
    font-size: 0.85rem;
  }

  .whatsapp-float {
    bottom: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}
