﻿/* Contact Form Container */
.contact-container {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(139, 158, 139, 0.05) 0%, rgba(196, 152, 122, 0.05) 100%);
  padding: 4rem 0;
}

/* Contact Card */
.contact-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

/* Header Section */
.contact-header {
  background: linear-gradient(160deg, #8B9E8B 0%, #6B7E6B 100%);
  color: white;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
}

.contact-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.contact-header-content {
  position: relative;
  z-index: 1;
}

.contact-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.contact-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 0;
}

/* Contact Info Section */
.contact-info {
  background: #FAF8F5;
  padding: 2rem;
  border-bottom: 1px solid rgba(139, 158, 139, 0.15);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

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

.info-icon {
  width: 40px;
  height: 40px;
  background: rgba(139, 158, 139, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6B7E6B;
  flex-shrink: 0;
}

.info-content {
  flex: 1;
}

.info-label {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.25rem;
}

.info-value {
  font-weight: 500;
  color: #2C2C2C;
  margin: 0;
}

/* Form Section */
.contact-form-section {
  padding: 2.5rem 2rem;
}

/* Form Controls */
.form-label-contact {
  font-weight: 600;
  color: #2C2C2C;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  display: block;
}

.form-control-contact {
  width: 100%;
  padding: 0.875rem 1rem;
  background: #FAF8F5;
  border: 1.5px solid transparent;
  border-radius: 10px;
  transition: all 0.3s ease;
  font-size: 1rem;
  display: block;
}

.form-control-contact:focus {
  background: #fff;
  border-color: #8B9E8B;
  box-shadow: 0 0 0 4px rgba(139, 158, 139, 0.1);
  outline: none;
}

.form-control-contact::placeholder {
  color: #aaa;
}

/* Quill Editor Styling */
.editor-wrapper {
  background: #FAF8F5;
  border: 1.5px solid transparent;
  border-radius: 10px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.editor-wrapper:focus-within {
  background: #fff;
  border-color: #8B9E8B;
  box-shadow: 0 0 0 4px rgba(139, 158, 139, 0.1);
}

.editor-wrapper .ql-toolbar {
  background: #fff;
  border: none;
  border-bottom: 1px solid rgba(139, 158, 139, 0.15);
  padding: 0.75rem 1rem;
}

.editor-wrapper .ql-container {
  border: none;
  font-family: inherit;
  font-size: 1rem;
}

.editor-wrapper .ql-editor {
  min-height: 200px;
  padding: 1rem;
}

.editor-wrapper .ql-editor.ql-blank::before {
  color: #aaa;
  font-style: normal;
}

/* Quill Toolbar Buttons */
.ql-toolbar .ql-stroke {
  stroke: #6B7E6B;
}

.ql-toolbar .ql-fill {
  fill: #6B7E6B;
}

.ql-toolbar button:hover,
.ql-toolbar button:focus {
  color: #8B9E8B;
}

.ql-toolbar button:hover .ql-stroke,
.ql-toolbar button:focus .ql-stroke {
  stroke: #8B9E8B;
}

.ql-toolbar button.ql-active {
  color: #8B9E8B;
}

.ql-toolbar button.ql-active .ql-stroke {
  stroke: #8B9E8B;
}

.ql-toolbar button.ql-active .ql-fill {
  fill: #8B9E8B;
}

/* Submit Button */
.btn-contact-submit {
  padding: 1rem 2.5rem;
  background: #2C2C2C;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100%;
}

.btn-contact-submit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #6B7E6B, #A67B5B);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(44, 44, 44, 0.25);
  color: #fff;
}

.btn-contact-submit:hover::before {
  opacity: 1;
}

.btn-contact-submit span {
  position: relative;
  z-index: 1;
}

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

/* Validation */
.field-validation-error {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: block;
}

.input-validation-error {
  border-color: #dc3545 !important;
}

/* Success Message */
.success-message {
  background: rgba(139, 158, 139, 0.1);
  border: 1px solid #8B9E8B;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  color: #6B7E6B;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Responsive */
@media (max-width: 768px) {
  .contact-container {
    padding: 2rem 1rem;
  }
  .contact-header {
    padding: 2rem 1.5rem;
  }
  .contact-title {
    font-size: 2rem;
  }
  .contact-subtitle {
    font-size: 1rem;
  }
  .contact-form-section {
    padding: 2rem 1.5rem;
  }
  .info-item {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}
