/**
 * Contact Page – Sumnervera layout
 * Original design – horizontal quickbar + form panel
 * Light and dark theme support
 */

.sv-contact-section {
  padding-top: 1.25rem;
  padding-bottom: 3rem;
  margin-top: 4.5rem;
  min-height: 60vh;
}

.sv-contact-container {
  max-width: 700px;
  margin: 0 auto;
}

/* Header */
.sv-contact-header {
  text-align: center;
  margin-bottom: 2rem;
}

.sv-contact-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-color);
  margin: 0 0 0.5rem 0;
}

.sv-contact-sub {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin: 0;
}

/* Quick contact bar – horizontal strip */
.sv-contact-quickbar {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin-bottom: 2rem;
  background: #1E1A17;
  border: 1px solid rgba(196, 168, 130, 0.28);
  border-radius: 12px;
  overflow: hidden;
}

.sv-contact-quickitem {
  flex: 1;
  min-width: 140px;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}

a.sv-contact-quickitem:hover {
  background: rgba(196, 168, 130, 0.1);
  color: var(--gold);
}

.sv-contact-quickicon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: var(--gold);
  background: rgba(196, 168, 130, 0.15);
  border-radius: 8px;
}

.sv-contact-quicklabel {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 0.25rem;
}

.sv-contact-quickvalue {
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.4;
}

.sv-contact-quickdivider {
  width: 1px;
  min-height: 60px;
  background: rgba(196, 168, 130, 0.2);
  align-self: center;
}

@media (max-width: 767px) {
  .sv-contact-quickbar {
    flex-direction: column;
  }
  .sv-contact-quickdivider {
    width: 80%;
    height: 1px;
    min-height: 0;
  }
}

.sv-contact-socials {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.sv-contact-social {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(196, 168, 130, 0.4);
  color: var(--gold);
  text-decoration: none;
  transition: all 0.2s;
}

.sv-contact-social:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
}

/* Form panel */
.sv-contact-form-panel {
  background: #1E1A17;
  border: 1px solid rgba(196, 168, 130, 0.28);
  border-radius: 12px;
  padding: 1.75rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.sv-contact-form-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text-color);
  margin: 0 0 1.5rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(196, 168, 130, 0.2);
}

.contact-field {
  margin-bottom: 1rem;
}

.sv-contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 575px) {
  .sv-contact-row {
    grid-template-columns: 1fr;
  }
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  color: var(--text-color);
}

.contact-input {
  width: 100%;
  padding: 0.65rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 8px;
  border: 1px solid rgba(196, 168, 130, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-color);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.contact-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(196, 168, 130, 0.2);
}

.contact-textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--charcoal);
  border: 1px solid var(--gold);
  color: var(--cream);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.contact-submit:hover:not(:disabled) {
  background: var(--charcoal-light);
  border-color: var(--gold);
  color: var(--gold);
}

.contact-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Alerts */
.sv-contact-form-panel .alert {
  margin-bottom: 1rem;
  border-radius: 8px;
  padding: 0.75rem 1rem;
}

.sv-contact-form-panel .alert-danger {
  background: rgba(220, 53, 69, 0.15);
  border: 1px solid rgba(220, 53, 69, 0.4);
  color: #f5a5a5;
}

.sv-contact-form-panel .alert-success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #86efac;
}

/* ─── LIGHT THEME ─── */
.light-theme .sv-contact-title {
  color: var(--charcoal);
}

.light-theme .sv-contact-sub {
  color: rgba(0, 0, 0, 0.65);
}

.light-theme .sv-contact-quickbar {
  background: #fff;
  border-color: rgba(28, 23, 20, 0.12);
}

.light-theme .sv-contact-quickitem {
  color: var(--charcoal);
}

a.light-theme .sv-contact-quickitem:hover {
  background: rgba(196, 168, 130, 0.08);
  color: var(--gold-dark);
}

.light-theme .sv-contact-quickicon {
  background: rgba(196, 168, 130, 0.15);
  color: var(--gold-dark);
}

.light-theme .sv-contact-quicklabel {
  color: var(--charcoal);
}

.light-theme .sv-contact-quickvalue {
  color: var(--charcoal);
}

.light-theme .sv-contact-quickdivider {
  background: rgba(28, 23, 20, 0.1);
}

.light-theme .sv-contact-social {
  border-color: rgba(196, 168, 130, 0.5);
  color: var(--gold-dark);
}

.light-theme .sv-contact-social:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: #fff;
}

.light-theme .sv-contact-form-panel {
  background: #fff;
  border-color: rgba(28, 23, 20, 0.12);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.light-theme .sv-contact-form-title {
  color: var(--charcoal);
  border-bottom-color: rgba(28, 23, 20, 0.1);
}

.light-theme .contact-label {
  color: var(--charcoal);
}

.light-theme .contact-input {
  background: #fff;
  border-color: rgba(28, 23, 20, 0.15);
  color: var(--charcoal);
}

.light-theme .contact-input::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.light-theme .contact-input:focus {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 2px rgba(160, 134, 96, 0.2);
}

.light-theme .contact-submit {
  background: var(--charcoal);
  border-color: var(--gold-dark);
  color: var(--cream);
}

.light-theme .contact-submit:hover:not(:disabled) {
  background: var(--charcoal-light);
  border-color: var(--gold-dark);
  color: var(--gold-dark);
}

.light-theme .sv-contact-form-panel .alert-danger {
  background: rgba(220, 53, 69, 0.1);
  color: #b91c1c;
}

.light-theme .sv-contact-form-panel .alert-success {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
}
