/* ===========================
   contact.css
   Contact Section & Form
   =========================== */

/* Hero Section for Contact Page */
.contact-hero {
  text-align: center;
  padding: 140px 20px 80px;
  background: linear-gradient(135deg, rgba(13,17,23,0.85) 0%, rgba(26,86,219,0.75) 100%), 
              url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?w=1920&q=80') center/cover no-repeat fixed;
  position: relative;
  overflow: hidden;
  color: white;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(26,86,219,0.3) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(201,162,39,0.2) 0%, transparent 50%);
  animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(13,17,23,0.7) 0%, rgba(13,17,23,0.4) 100%);
  z-index: 1;
}

.hero-content-wrap {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.contact-hero .section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #c9a227;
  margin-bottom: 16px;
  padding: 8px 20px;
  background: rgba(201,162,39,0.15);
  border: 1px solid rgba(201,162,39,0.3);
  border-radius: 50px;
  backdrop-filter: blur(10px);
}

.contact-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  color: white;
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.contact-hero h1 em {
  font-style: italic;
  color: #c9a227;
}

.contact-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.9);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Contact Grid Layout */
.contact-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
  padding: 80px 40px;
  background: linear-gradient(135deg, #f8f9ff 0%, #eef2ff 100%);
}

.contact-section {
  padding: 0;
}

/* ---- LEFT SIDE INFO ---- */
.contact-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  color: #0d1117;
  line-height: 1.2;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
}

.contact-item h3 {
  font-size: 14px;
  font-weight: 700;
  color: #0d1117;
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

.contact-item a {
  color: #1a56db;
  text-decoration: none;
  transition: 0.2s ease;
}

.contact-item a:hover {
  color: #1140a6;
  text-decoration: underline;
}

/* ---- RIGHT SIDE FORM ---- */
.contact-form-wrap {
  background: white;
  padding: 44px 40px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.contact-form-wrap h2 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #0d1117;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f3f4f6;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  color: #0d1117;
  background: #f9fafb;
  outline: none;
  transition: 0.3s ease;
  resize: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #1a56db;
  background: white;
  box-shadow: 0 0 0 4px rgba(26,86,219,0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9ca3af;
}

.btn-primary {
  width: 100%;
  padding: 16px;
  background: #1a56db;
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s ease;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.btn-primary:hover {
  background: #1140a6;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(26,86,219,0.3);
}

.form-note {
  text-align: center;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
}

/* Map Section */
.map-section {
  max-width: 1200px;
  margin: 60px auto 0;
  padding: 0 40px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .contact-hero {
    padding: 100px 20px 60px;
  }
  
  .contact-hero h1 {
    font-size: 32px;
  }
  
  .contact-hero p {
    font-size: 15px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 20px;
  }
  
  .map-section {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .contact-hero {
    padding: 80px 15px 50px;
  }
  
  .contact-hero h1 {
    font-size: 28px;
  }
}