/* Contact Page Styles */

/* Contact Hero */
.contact-hero {
  background: linear-gradient(135deg, #1a2332 0%, #2d3e50 100%);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(0, 123, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(0, 217, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.contact-hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.contact-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Contact Content */
.contact-content {
  padding: 100px 0;
  background: #f8f9fa;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Contact Form */
.contact-form-wrapper {
  background: white;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.section-header {
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a2332;
  margin-bottom: 10px;
}

.section-header p {
  color: #6c757d;
  font-size: 1rem;
  line-height: 1.6;
}

.contact-form {
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  color: #1a2332;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'Lato', sans-serif;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #007bff;
  background: white;
  box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
}

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

.recaptcha-container {
  margin: 30px 0;
  display: flex;
  justify-content: center;
}

/* Submit Button */
.contact-form .btn-primary-large {
  width: 100%;
  padding: 16px 32px;
  background: linear-gradient(135deg, #2c5282 0%, #1e3a5f 100%);
  color: white;
  border: none;
  border-radius: 1000px;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.contact-form .btn-primary-large:hover {
  background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.contact-form .btn-primary-large:active {
  transform: translateY(-1px);
}

.contact-form .btn-primary-large:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.contact-form .btn-primary-large i {
  font-size: 1.2rem;
}

/* Contact Info Cards */
.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-info-card {
  background: white;
  padding: 35px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.info-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.info-icon i {
  font-size: 1.5rem;
  color: white;
}

.contact-info-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a2332;
  margin-bottom: 12px;
}

.contact-info-card p {
  color: #6c757d;
  line-height: 1.8;
  margin-bottom: 8px;
}

.contact-info-card a {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-info-card a:hover {
  color: #0056b3;
}

.info-note {
  font-size: 0.9rem;
  color: #adb5bd;
  font-style: italic;
  margin-top: 10px;
}

/* Quick Links */
.quick-links {
  background: linear-gradient(135deg, #1a2332 0%, #2d3e50 100%);
}

.quick-links h3 {
  color: white;
}

.quick-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quick-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.quick-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(5px);
}

.quick-link i {
  font-size: 1.1rem;
}

/* Map Section */
.map-section {
  padding: 100px 0;
  background: white;
}

.map-section .section-header {
  margin-bottom: 50px;
}

.text-center {
  text-align: center;
}

.map-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  display: block;
  width: 100%;
}

/* Notification Styles (reuse from product-detail) */
.contact-notification {
  position: fixed;
  top: 100px;
  right: 30px;
  background: white;
  padding: 20px 30px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  min-width: 350px;
  max-width: 450px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  animation: slideInRight 0.4s ease-out;
}

.contact-notification.hiding {
  animation: slideOutRight 0.4s ease-out forwards;
}

.contact-notification.success {
  border-left: 4px solid #28a745;
}

.contact-notification.error {
  border-left: 4px solid #dc3545;
}

.notification-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-notification.success .notification-icon {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
}

.contact-notification.error .notification-icon {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.notification-content h4 {
  margin: 0 0 5px 0;
  font-size: 1rem;
  font-weight: 700;
  color: #1a2332;
}

.notification-content p {
  margin: 0;
  font-size: 0.9rem;
  color: #6c757d;
  line-height: 1.5;
}

@keyframes slideInRight {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form-wrapper {
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 80px 0 60px;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .contact-hero .container {
    height: auto;
  }

  .contact-hero h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .contact-content {
    padding: 60px 0;
  }

  .contact-form-wrapper {
    padding: 30px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

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

  .map-section {
    padding: 60px 0;
  }

  .contact-notification {
    right: 15px;
    left: 15px;
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .contact-hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 12px 16px;
  }
}
