/* Contact Page - White Sands Armenia */

/* ===== HERO SECTION ===== */
.contact-hero-section {
  padding: 120px 30px 60px;
  background: var(--bg-primary);
  text-align: center;
}

.contact-hero-title {
  font-family: 'Clash Grotesk Semibold', sans-serif;
  font-size: 56px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.contact-hero-subtitle {
  font-family: 'Poppins Medium', sans-serif;
  font-size: 18px;
  color: var(--text-secondary);
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* ===== CONTACT CARDS SECTION ===== */
.contact-cards-section {
  padding: 40px 30px 80px;
  background: var(--bg-primary);
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
  grid-auto-rows: min-content;
  align-items: start;
}

/* ===== CONTACT CARD ===== */
.contact-card {
  background: linear-gradient(135deg, 
    rgba(26, 26, 26, 0.7) 0%, 
    rgba(26, 26, 26, 0.5) 100%
  );
  backdrop-filter: blur(20px);
  border: 1px solid rgba(200, 178, 138, 0.25);
  border-radius: 16px;
  padding: 40px 35px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  align-self: start;
  height: fit-content;
}

/* Featured card (Event Inquiries) */
.contact-card-featured {
  grid-row: span 2;
  border-width: 2px;
  border-color: rgba(200, 178, 138, 0.4);
  background: linear-gradient(135deg, 
    rgba(26, 26, 26, 0.85) 0%, 
    rgba(26, 26, 26, 0.7) 100%
  );
  align-self: start;
  height: fit-content;
}

/* Small card (Photoshoot) */
.contact-card-small {
  opacity: 0.85;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--accent-gold) 50%, 
    transparent 100%
  );
  transform: translateX(-100%);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card-featured::before {
  height: 4px;
}

.contact-card:hover::before {
  transform: translateX(100%);
}

.contact-card:hover {
  border-color: rgba(200, 178, 138, 0.5);
  box-shadow: 
    0 15px 50px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(200, 178, 138, 0.2);
}

.contact-card-featured:hover {
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(200, 178, 138, 0.3);
}

.contact-card-small:hover {
  opacity: 1;
}

.contact-card-title {
  font-family: 'Clash Grotesk Semibold', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
  text-align: center;
}

.contact-card-featured .contact-card-title {
  font-size: 32px;
  color: var(--accent-gold);
  margin-bottom: 16px;
}

.contact-card-description {
  font-family: 'Poppins Medium', sans-serif;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  text-align: center;
}

.contact-card-featured .contact-card-description {
  font-size: 16px;
  margin-bottom: 28px;
}

/* ===== TOGGLE BUTTON ===== */
.contact-card-toggle {
  width: 100%;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-hover) 100%);
  color: var(--bg-primary);
  border: 2px solid var(--accent-gold);
  border-radius: 8px;
  font-family: 'Poppins Semibold', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(200, 178, 138, 0.3);
}

.contact-card-toggle:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent-gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 178, 138, 0.4);
}

.contact-card-toggle:active {
  transform: translateY(0);
}

.contact-card.form-open .contact-card-toggle {
  background: rgba(200, 178, 138, 0.15);
  color: var(--accent-gold);
  border-color: rgba(200, 178, 138, 0.5);
}

/* ===== FORM WRAPPER ===== */
.contact-card-form-wrapper {
  max-height: 0;
  overflow: hidden;
  margin-top: 0;
  /* Կարևոր է overflow-ը transition-ից հանել */
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
              margin-top 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: none; /* Սկզբից hidden */
}

.contact-card.form-open .contact-card-form-wrapper {
  display: block;
}

/* ===== FORM STYLES ===== */
.contact-form {
  display: block;
}

.contact-card.form-submitted .contact-form {
  display: none;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  font-family: 'Poppins Semibold', sans-serif;
  font-size: 13px;
  color: var(--text-primary);
  display: block;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.required {
  color: var(--accent-gold);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(200, 178, 138, 0.2);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: 'Poppins Medium', sans-serif;
  font-size: 14px;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-gold);
  background: rgba(26, 26, 26, 0.8);
  box-shadow: 0 0 15px rgba(200, 178, 138, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group select {
  cursor: pointer;
}

.form-submit-btn {
  width: 100%;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-hover) 100%);
  color: var(--bg-primary);
  border: 2px solid var(--accent-gold);
  border-radius: 8px;
  font-family: 'Poppins Semibold', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(200, 178, 138, 0.3);
  margin-bottom: 12px;
}

.form-submit-btn:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent-gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 178, 138, 0.4);
}

.form-submit-btn:active {
  transform: translateY(0);
}

.form-note {
  font-family: 'Poppins Medium', sans-serif;
  font-size: 12px;
  color: var(--text-secondary);
  text-align: center;
  font-style: italic;
}

/* ===== SUCCESS MESSAGE ===== */
.form-success {
  text-align: center;
  padding: 40px 20px;
}

.contact-card.form-submitted .form-success {
  display: block !important;
}

.success-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-hover) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 32px;
  color: var(--bg-primary);
  font-weight: bold;
}

.form-success h4 {
  font-family: 'Clash Grotesk Semibold', sans-serif;
  font-size: 24px;
  color: var(--accent-gold);
  margin-bottom: 12px;
}

.form-success p {
  font-family: 'Poppins Medium', sans-serif;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== DIRECT CONTACT SECTION ===== */
.direct-contact-section {
  padding: 60px 30px 100px;
  background: var(--bg-primary);
}

.direct-contact-title {
  font-family: 'Clash Grotesk Semibold', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 50px;
  letter-spacing: -0.5px;
}

.direct-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.direct-contact-item {
  background: linear-gradient(135deg, 
    rgba(26, 26, 26, 0.7) 0%, 
    rgba(26, 26, 26, 0.5) 100%
  );
  backdrop-filter: blur(20px);
  border: 1px solid rgba(200, 178, 138, 0.25);
  border-radius: 12px;
  padding: 35px 25px;
  text-align: center;
  transition: all 0.4s ease;
}

.direct-contact-item:hover {
  border-color: rgba(200, 178, 138, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.direct-contact-item h4 {
  font-family: 'Poppins Semibold', sans-serif;
  font-size: 16px;
  color: var(--accent-gold);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Phone trigger button styled like clickable link */
.phone-trigger {
  font-family: 'Poppins Medium', sans-serif;
  font-size: 16px;
  color: var(--text-primary);
  background: rgba(200, 178, 138, 0.1);
  border: 1px solid rgba(200, 178, 138, 0.3);
  border-radius: 8px;
  padding: 12px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  width: 100%;
  max-width: 220px;
}

.phone-trigger:hover {
  background: rgba(200, 178, 138, 0.2);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(200, 178, 138, 0.2);
}

/* Email link styled like button */
.contact-link {
  font-family: 'Poppins Medium', sans-serif;
  font-size: 16px;
  color: var(--text-primary);
  text-decoration: none;
  background: rgba(200, 178, 138, 0.1);
  border: 1px solid rgba(200, 178, 138, 0.3);
  border-radius: 8px;
  padding: 12px 20px;
  display: inline-block;
  transition: all 0.3s ease;
  max-width: 220px;
  word-break: break-all;
}

.contact-link:hover {
  background: rgba(200, 178, 138, 0.2);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(200, 178, 138, 0.2);
}

/* Social links with text labels */
.social-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.social-link-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  background: rgba(200, 178, 138, 0.1);
  border: 1px solid rgba(200, 178, 138, 0.3);
  border-radius: 8px;
  padding: 12px 20px;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  width: 100%;
  max-width: 220px;
}

.social-link-item:hover {
  transform: scale(1.05);
  background: rgba(200, 178, 138, 0.15);
  border-color: rgba(200, 178, 138, 0.5);
}

.social-link-item img {
  width: 24px;
  height: 24px;
  display: block;
  flex-shrink: 0;
}

.social-link-item span {
  font-family: 'Poppins Medium', sans-serif;
  font-size: 14px;
  color: var(--text-primary);
  white-space: nowrap;
}

/* ===== PHONE MODAL ===== */
.phone-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.phone-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

.phone-modal-content {
  position: relative;
  background: linear-gradient(135deg, 
    rgba(26, 26, 26, 0.95) 0%, 
    rgba(26, 26, 26, 0.9) 100%
  );
  backdrop-filter: blur(20px);
  border: 2px solid rgba(200, 178, 138, 0.4);
  border-radius: 16px;
  padding: 40px 50px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(200, 178, 138, 0.3);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.phone-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 32px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.phone-modal-close:hover {
  color: var(--accent-gold);
}

.phone-modal-content h3 {
  font-family: 'Clash Grotesk Semibold', sans-serif;
  font-size: 28px;
  color: var(--accent-gold);
  margin-bottom: 12px;
}

.phone-modal-content p {
  font-family: 'Poppins Medium', sans-serif;
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.phone-modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.phone-modal-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: 8px;
  font-family: 'Poppins Semibold', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.phone-modal-call {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-hover) 100%);
  color: var(--bg-primary);
  border-color: var(--accent-gold);
  box-shadow: 0 4px 15px rgba(200, 178, 138, 0.4);
}

.phone-modal-call:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent-gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 178, 138, 0.5);
}

.phone-modal-whatsapp {
  background: rgba(37, 211, 102, 0.15);
  color: #25D366;
  border-color: rgba(37, 211, 102, 0.4);
}

.phone-modal-whatsapp:hover {
  background: rgba(37, 211, 102, 0.25);
  border-color: #25D366;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

/* ===== RESPONSIVE - TABLET ===== */
@media (max-width: 1024px) {
  .contact-hero-title {
    font-size: 44px;
  }

  .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .contact-card-featured {
    grid-row: span 1;
  }

  .direct-contact-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
}

/* ===== RESPONSIVE - MOBILE ===== */
@media (max-width: 768px) {
  .contact-hero-section {
    padding: 100px 20px 40px;
  }

  .contact-hero-title {
    font-size: 32px;
  }

  .contact-hero-subtitle {
    font-size: 16px;
  }

  .contact-cards-section {
    padding: 30px 20px 60px;
  }

  .contact-card {
    padding: 30px 25px;
  }

  .contact-card-title {
    font-size: 22px;
  }

  .contact-card-featured .contact-card-title {
    font-size: 26px;
  }

  .contact-card-description {
    font-size: 14px;
  }

  .direct-contact-section {
    padding: 50px 20px 80px;
  }

  .direct-contact-title {
    font-size: 32px;
    margin-bottom: 35px;
  }

  .direct-contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .phone-modal-content {
    padding: 35px 30px;
  }
}

/* ===== SMALL MOBILE ===== */
@media (max-width: 480px) {
  .contact-hero-section {
    padding: 90px 15px 30px;
  }

  .contact-hero-title {
    font-size: 28px;
  }

  .contact-hero-subtitle {
    font-size: 14px;
  }

  .contact-cards-section {
    padding: 25px 15px 50px;
  }

  .contact-card {
    padding: 25px 20px;
  }

  .contact-card-title {
    font-size: 20px;
  }

  .contact-card-featured .contact-card-title {
    font-size: 24px;
  }

  .direct-contact-section {
    padding: 40px 15px 60px;
  }

  .direct-contact-title {
    font-size: 28px;
  }

  .phone-modal-content {
    padding: 30px 25px;
  }

  .phone-modal-content h3 {
    font-size: 24px;
  }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .contact-card,
  .contact-card::before,
  .contact-card-toggle,
  .contact-card-form-wrapper,
  .form-submit-btn,
  .direct-contact-item,
  .social-link-item,
  .phone-modal,
  .phone-modal-content {
    transition: none;
    animation: none;
  }
}