/* ============================================
   InstallMe Ltd — Contact Page Styles (contact.css)
   ============================================ */

/* ── PAGE HEADER ── */
.page-header {
  padding: 140px 6% 70px;
  background: linear-gradient(135deg, var(--warm-white) 0%, var(--sand) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 169, 122, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--deep);
  margin-bottom: 14px;
}

.page-header p {
  color: var(--light-mid);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto;
}


/* ── CONTACT LAYOUT ── */
.contact-section {
  padding: 80px 6% 100px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}


/* ── CONTACT INFO ── */
.contact-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--deep);
  margin-bottom: 10px;
}

.contact-info > p {
  color: var(--mid);
  font-size: 0.95rem;
  margin-bottom: 36px;
}

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.info-card {
  background: var(--warm-white);
  border: 1px solid rgba(200, 169, 122, 0.3);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: box-shadow 0.25s;
}

.info-card:hover {
  box-shadow: var(--shadow);
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(184, 92, 44, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  color: var(--deep);
  margin-bottom: 4px;
}

.info-card p,
.info-card a {
  color: var(--mid);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s;
}

.info-card a:hover {
  color: var(--rust);
}

.hours-list {
  margin-top: 30px;
  background: var(--sand);
  border-radius: var(--radius);
  padding: 22px;
}

.hours-list h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--deep);
  margin-bottom: 14px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--mid);
  padding: 5px 0;
  border-bottom: 1px solid rgba(200, 169, 122, 0.25);
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-row span:last-child {
  font-weight: 600;
  color: var(--deep);
}


/* ── CONTACT FORM ── */
.contact-form-wrap {
  background: var(--warm-white);
  border: 1px solid rgba(200, 169, 122, 0.3);
  border-radius: 20px;
  padding: 42px;
  box-shadow: var(--shadow);
}

.contact-form-wrap h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--deep);
  margin-bottom: 6px;
}

.contact-form-wrap > p {
  color: var(--light-mid);
  font-size: 0.9rem;
  margin-bottom: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--deep);
  letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  color: var(--deep);
  background: var(--cream);
  border: 1.5px solid rgba(200, 169, 122, 0.45);
  border-radius: 10px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--light-mid);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--rust);
  box-shadow: 0 0 0 3px rgba(184, 92, 44, 0.1);
}

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

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239E8472' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.form-submit {
  width: 100%;
  background: var(--rust);
  color: #fff;
  border: none;
  padding: 15px;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(184, 92, 44, 0.3);
  margin-top: 8px;
}

.form-submit:hover {
  background: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(184, 92, 44, 0.35);
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--light-mid);
  margin-top: 14px;
}

/* Form success state */
.success-message {
  display: none;
  text-align: center;
  padding: 32px;
}

.success-message .checkmark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(74, 103, 65, 0.12);
  color: #4A6741;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.success-message h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--deep);
  margin-bottom: 8px;
}

.success-message p {
  color: var(--mid);
  font-size: 0.95rem;
}


/* ── CONTACT PAGE RESPONSIVE ── */
@media (max-width: 820px) {
  .contact-section {
    grid-template-columns: 1fr;
    padding: 60px 5%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding: 28px;
  }
}
