@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
  --text-primary: #000000;
  --text-secondary: #4a4a4a;
  --text-light: #8a8a8a;
  --background: #ffffff;
  --surface: #f5f5f5;
  --border: #e0e0e0;
  --shadow: rgba(0, 0, 0, 0.05);
  --shadow-hover: rgba(0, 0, 0, 0.1);
}

/* Contact Page Layout */
.contact-page {
  padding-top: 100px;
  min-height: 100vh;
  background: var(--background);
}

/* Header Section */
.contact-header {
  text-align: center;
  padding: 4rem 0;
  background: var(--background);
  margin-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}

.back-button {
  margin-bottom: 2rem;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: var(--background);
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 0;
  font-weight: 400;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.btn-back:hover {
  background: var(--text-primary);
  color: var(--background);
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

.page-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
  letter-spacing: 0.5px;
}

/* Contact Content */
.contact-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Contact Cards */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.contact-card {
  background: var(--background);
  border-radius: 0;
  padding: 2.5rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: var(--text-primary);
  opacity: 0;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px var(--shadow-hover);
  border-color: var(--text-primary);
}

.contact-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 60px;
  height: 60px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.contact-card:hover .card-icon {
  background: var(--text-primary);
  border-color: var(--text-primary);
}

.card-icon i {
  font-size: 1.5rem;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.contact-card:hover .card-icon i {
  color: var(--background);
}

.contact-card h3 {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 400;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.5px;
}

.contact-card p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 300;
}

.card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: var(--text-primary);
  color: var(--background);
  text-decoration: none;
  border-radius: 0;
  font-weight: 400;
  transition: all 0.3s ease;
  border: 1px solid var(--text-primary);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.card-btn:hover {
  background: var(--background);
  color: var(--text-primary);
  transform: translateY(-2px);
}

/* Contact Form Section */
.contact-form-section {
  margin-bottom: 4rem;
}

.form-container {
  background: var(--background);
  border-radius: 0;
  padding: 3rem;
  border: 1px solid var(--border);
  box-shadow: none;
  max-width: 800px;
  margin: 0 auto;
}

.form-container h2 {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.8rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 400;
  font-family: 'Playfair Display', serif;
  letter-spacing: -0.5px;
}

.form-container h2 i {
  color: var(--text-secondary);
  font-size: 1.5rem;
}

.form-description {
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 300;
}

/* Form Styling */
.contact-form {
  display: grid;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
  font-weight: 400;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.form-group label i {
  color: var(--text-secondary);
  width: 16px;
  text-align: center;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 0;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--background);
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--text-primary);
  box-shadow: 0 0 0 1px var(--text-primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 1rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 300;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 1px solid var(--border);
  border-radius: 0;
  position: relative;
  flex-shrink: 0;
  transition: all 0.3s ease;
  margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: var(--text-primary);
  border-color: var(--text-primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--background);
  font-size: 12px;
  font-weight: bold;
}

.submit-btn {
  background: var(--text-primary);
  color: var(--background);
  border: 1px solid var(--text-primary);
  padding: 1.2rem 2rem;
  border-radius: 0;
  font-size: 0.9rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.submit-btn:hover {
  background: var(--background);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--shadow-hover);
}

/* Additional Info */
.additional-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.info-card {
  background: var(--background);
  border-radius: 0;
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px var(--shadow);
  border-color: var(--text-primary);
}

.info-card i {
  font-size: 2rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.info-card:hover i {
  color: var(--text-primary);
}

.info-card h3 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.info-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 300;
}

/* Desktop Enhancements */
@media (min-width: 1024px) {
  .contact-header {
    padding: 5rem 0;
  }
  
  .page-title {
    font-size: 4rem;
  }
  
  .page-subtitle {
    font-size: 1.2rem;
  }
  
  .contact-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .contact-card {
    padding: 3rem;
  }
  
  .form-container {
    padding: 4rem;
  }
  
  .form-container h2 {
    font-size: 2rem;
  }
  
  .form-description {
    font-size: 1.1rem;
  }
}

/* Tablet Responsive */
@media (max-width: 768px) {
  .contact-page {
    padding-top: 80px;
  }
  
  .contact-header {
    padding: 3rem 0;
  }
  
  .page-title {
    font-size: 2.5rem;
  }
  
  .page-subtitle {
    font-size: 1rem;
  }
  
  .contact-content {
    padding: 0 1.5rem;
  }
  
  .contact-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-card {
    padding: 2rem;
  }
  
  .form-container {
    padding: 2.5rem;
  }
  
  .additional-info {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Mobile Responsive */
@media (max-width: 480px) {
  .contact-header {
    padding: 2rem 0;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .page-subtitle {
    font-size: 0.95rem;
  }
  
  .contact-content {
    padding: 0 1rem;
  }
  
  .contact-card {
    padding: 1.5rem;
  }
  
  .form-container {
    padding: 2rem;
  }
  
  .form-container h2 {
    font-size: 1.5rem;
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .checkbox-label {
    font-size: 0.85rem;
  }
  
  .submit-btn {
    padding: 1rem 1.5rem;
    font-size: 0.85rem;
  }
  
  .btn-back {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
  }
}
