/* Contact Page Styles */

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Image Section */
.contact-hero-image {
  width: 100%;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
  position: relative;
}

.hero-image-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
  background-color: #fff;
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #666;
}

.breadcrumb-link {
  color: #e74c3c;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-link:hover {
  color: #c0392b;
  text-decoration: underline;
}

.breadcrumb-separator {
  margin: 0 8px;
  color: #999;
}

.breadcrumb-current {
  color: #333;
  font-weight: 500;
}

/* Contact Section */
.contact-section {
  background-color: #fff;
  padding: 60px 0 80px 0;
}

.contact-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: 60px;
}

.page-title {
  font-size: 48px;
  font-weight: 700;
  color: #333;
  margin: 0;
  line-height: 1.2;
  font-family: "Arial", "Helvetica", sans-serif;
  letter-spacing: -1px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

/* Contact Information */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.info-block {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 8px;
}

.info-title {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin: 0 0 20px 0;
  font-family: "Arial", "Helvetica", sans-serif;
  line-height: 1.3;
}

.info-subtitle {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0 0 15px 0;
  font-family: "Arial", "Helvetica", sans-serif;
}

.info-details p {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin: 0 0 8px 0;
  font-family: "Arial", "Helvetica", sans-serif;
}

.info-details p:last-child {
  margin-bottom: 0;
}

.info-details strong {
  color: #333;
  font-weight: 600;
}

.info-details em {
  color: #999;
  font-style: italic;
}

/* Contact Form Container */
.contact-form-container {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Breadcrumb Section */
.breadcrumb-section {
  background-color: #f8f8f8;
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
}

.breadcrumb {
  font-size: 12px;
  font-weight: 400;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.breadcrumb a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: #000;
}

.breadcrumb-separator {
  margin: 0 10px;
  color: #999;
}

.breadcrumb-current {
  color: #000;
  font-weight: 500;
}

/* Contact Hero Section */
.contact-hero {
  background-color: #fff;
  padding: 80px 0 60px 0;
  text-align: center;
}

.contact-title {
  font-size: 48px;
  font-weight: 700;
  color: #000;
  margin: 0;
  letter-spacing: -1px;
  font-family: "Arial", "Helvetica", sans-serif;
  text-transform: uppercase;
}

/* Contact Info Section */
.contact-info-section {
  background-color: #fff;
  padding: 0 0 80px 0;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info-card {
  background-color: #f0f0f0;
  padding: 60px 40px;
  text-align: center;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact-info-title {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  margin: 0 0 20px 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: "Arial", "Helvetica", sans-serif;
}

.contact-info-text {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.6;
  max-width: 280px;
}

.releases-link {
  color: #0066cc;
  text-decoration: underline;
  transition: color 0.2s;
}

.releases-link:hover {
  color: #004499;
}

/* Contact Form Section */
.contact-form-section {
  background-color: #fff;
  padding: 0 0 80px 0;
}

.contact-form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-title {
  font-size: 24px;
  font-weight: 600;
  color: #000;
  margin: 0 0 30px 0;
  font-family: "Arial", "Helvetica", sans-serif;
}

/* Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
  font-family: "Arial", "Helvetica", sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  font-family: "Arial", "Helvetica", sans-serif;
  background-color: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
  appearance: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  font-family: "Arial", "Helvetica", sans-serif;
}

/* Character Counter */
.char-counter {
  text-align: right;
  font-size: 12px;
  color: #666;
  margin-top: 4px;
}

/* File Upload Styles */
.form-group input[type="file"] {
  padding: 8px;
  border: 2px dashed #ddd;
  border-radius: 8px;
  background-color: #fafafa;
  cursor: pointer;
}

.form-group input[type="file"]:hover {
  border-color: #e74c3c;
  background-color: #fff5f5;
}

.file-info {
  font-size: 12px;
  color: #666;
  margin-top: 8px;
  line-height: 1.4;
}

.file-list {
  margin-top: 16px;
}

.file-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background-color: #f0f0f0;
  border-radius: 4px;
  margin-bottom: 8px;
  font-size: 14px;
}

.file-name {
  flex: 1;
  color: #333;
}

.file-size {
  color: #666;
  font-size: 12px;
  margin-right: 8px;
}

.file-remove {
  background: none;
  border: none;
  color: #e74c3c;
  cursor: pointer;
  font-size: 16px;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-remove:hover {
  color: #c0392b;
}

/* Checkbox Styles */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  cursor: pointer;
  margin-bottom: 0;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
  accent-color: #e74c3c;
}

.checkbox-label a {
  color: #e74c3c;
  text-decoration: none;
}

.checkbox-label a:hover {
  text-decoration: underline;
}

.form-label {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
  font-family: "Arial", "Helvetica", sans-serif;
}

.required {
  color: #e74c3c;
  font-weight: 600;
}

.form-input,
.form-select,
.form-textarea {
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  font-family: "Arial", "Helvetica", sans-serif;
  background-color: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  box-sizing: border-box;
}

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

.form-input:invalid,
.form-select:invalid,
.form-textarea:invalid {
  border-color: #e74c3c;
}

.form-input:invalid:focus,
.form-select:invalid:focus,
.form-textarea:invalid:focus {
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
  appearance: none;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  font-family: "Arial", "Helvetica", sans-serif;
}

.character-count {
  text-align: right;
  font-size: 12px;
  color: #666;
  margin-top: 4px;
}

/* File Upload Styles */
.file-upload-group {
  border: 2px dashed #ddd;
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  background-color: #fafafa;
  transition: border-color 0.2s, background-color 0.2s;
}

.file-upload-group:hover {
  border-color: #007bff;
  background-color: #f8f9ff;
}

.file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

.file-icon {
  color: #666;
}

.file-input {
  display: none;
}

.file-info {
  font-size: 12px;
  color: #666;
  margin: 8px 0 0 0;
  line-height: 1.4;
}

.file-list {
  margin-top: 16px;
  text-align: left;
}

.file-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background-color: #f0f0f0;
  border-radius: 4px;
  margin-bottom: 8px;
  font-size: 14px;
}

.file-name {
  flex: 1;
  color: #333;
}

.file-size {
  color: #666;
  font-size: 12px;
  margin-right: 8px;
}

.file-remove {
  background: none;
  border: none;
  color: #e74c3c;
  cursor: pointer;
  font-size: 16px;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-remove:hover {
  color: #c0392b;
}

/* Form Actions */
.form-actions {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

/* Submit Button */
.submit-btn {
  background-color: #333;
  color: #fff;
  border: none;
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: "Arial", "Helvetica", sans-serif;
  min-width: 160px;
}

.submit-btn:hover {
  background-color: #000;
  transform: translateY(-1px);
}

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

.submit-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  transform: none;
}

/* Form Footer */
.form-footer {
  font-size: 12px;
  color: #666;
  text-align: center;
  margin-top: 20px;
  line-height: 1.4;
}

.privacy-link,
.terms-link {
  color: #007bff;
  text-decoration: none;
}

.privacy-link:hover,
.terms-link:hover {
  text-decoration: underline;
}

/* Error Messages */
.error-message {
  color: #e74c3c;
  font-size: 12px;
  margin-top: 4px;
  display: none;
  font-family: "Arial", "Helvetica", sans-serif;
}

.form-group.error .error-message {
  display: block;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

/* Success Message */
.success-message {
  background-color: #d4edda;
  color: #155724;
  padding: 12px 16px;
  border-radius: 4px;
  margin-bottom: 20px;
  border: 1px solid #c3e6cb;
  display: none;
}

.success-message.show {
  display: block;
}

/* Loading State */
.loading .submit-btn {
  background-color: #ccc;
  cursor: not-allowed;
  position: relative;
}

.loading .submit-btn::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  margin: auto;
  border: 2px solid transparent;
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }

  .contact-hero-image {
    height: 50vh;
    min-height: 350px;
  }

  .page-title {
    font-size: 40px;
  }

  .contact-layout {
    gap: 60px;
  }

  .contact-form-container {
    padding: 35px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .contact-hero-image {
    height: 40vh;
    min-height: 300px;
  }

  .breadcrumb-nav {
    padding: 15px 0;
  }

  .breadcrumb {
    font-size: 13px;
  }

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

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

  .page-title {
    font-size: 32px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-info {
    gap: 30px;
  }

  .info-block {
    padding: 25px;
  }

  .info-title {
    font-size: 18px;
  }

  .info-subtitle {
    font-size: 15px;
  }

  .contact-form-container {
    padding: 30px 25px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

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

  .contact-form {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .contact-hero-image {
    height: 35vh;
    min-height: 250px;
  }

  .breadcrumb {
    font-size: 12px;
  }

  .breadcrumb-separator {
    margin: 0 6px;
  }

  .contact-section {
    padding: 30px 0 50px 0;
  }

  .contact-header {
    margin-bottom: 30px;
  }

  .page-title {
    font-size: 28px;
  }

  .contact-info {
    gap: 25px;
  }

  .info-block {
    padding: 20px;
  }

  .info-title {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .info-subtitle {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .info-details p {
    font-size: 13px;
  }

  .contact-form-container {
    padding: 25px 20px;
  }

  .form-group label {
    font-size: 13px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 13px;
    padding: 10px 14px;
  }

  .char-counter {
    font-size: 11px;
  }

  .file-info {
    font-size: 11px;
  }

  .checkbox-label {
    font-size: 13px;
  }

  .submit-btn {
    padding: 14px 32px;
    font-size: 14px;
    min-width: 140px;
  }
}
