@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&display=swap');

:root {
  --brand-blue: #1e8ffa;
  --brand-blue-dark: #1479db;
  --dark-panel: #333333;
  --text-dark: #2b2b2b;
  --input-bg: #eef6ff;
}

body {
  font-family: 'Quicksand', 'Segoe UI', sans-serif;
  color: var(--text-dark);
  margin: 0;
}

a { text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('img/hero-CV-Writer.jpg') center center / cover no-repeat;
  padding: 60px 20px;
}

.hero h1 {
  color: #ffffff;
  font-weight: 600;
  font-size: 56px;
  line-height: 1.2;
  margin-bottom: 32px;
}

.hero .btn-cta {
  background: var(--brand-blue);
  color: #ffffff;
  border: none;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  border-radius: 2px;
  transition: background 0.2s ease;
}

.hero .btn-cta:hover {
  background: var(--brand-blue-dark);
  color: #ffffff;
}

/* ---------- About ---------- */
.about-section {
  background: #f2f2f2;
  padding: 70px 20px;
}

.about-section h2 {
  text-align: center;
  font-weight: 600;
  font-size: 36px;
  margin-bottom: 30px;
}

.about-section .about-text {
  max-width: 900px;
  margin: 0 auto 50px;
  font-size: 16px;
}

/* ---------- Contact card ---------- */
.contact-card {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  display: flex;
  flex-wrap: wrap;
}

.contact-side {
  background: var(--brand-blue);
  color: #ffffff;
  flex: 0 0 320px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
}

.contact-side h3 {
  font-weight: 600;
  font-size: 26px;
  margin-bottom: 24px;
}

.contact-side .info-line {
  border-bottom: 1px solid rgba(255,255,255,0.6);
  padding-bottom: 18px;
  margin-bottom: 18px;
  min-height: 18px;
}

.contact-side .socials {
  margin-top: auto;
  display: flex;
  gap: 14px;
}

.contact-side .socials a {
  width: 34px;
  height: 34px;
  border-radius: 4px;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 16px;
}

.contact-form-wrap {
  flex: 1 1 360px;
  padding: 40px 36px;
}

.contact-form-wrap h3 {
  font-weight: 600;
  font-size: 26px;
  margin-bottom: 6px;
}

.contact-form-wrap .subtitle {
  color: #555;
  margin-bottom: 18px;
}

.required-note {
  font-size: 13px;
  font-style: italic;
  color: #666;
  margin-bottom: 16px;
}

.required-note .req-star {
  color: #e0433f;
  margin-right: 2px;
}

.form-field {
  position: relative;
  margin-bottom: 16px;
}

.form-field .req-star {
  position: absolute;
  left: -12px;
  top: 8px;
  color: #e0433f;
  font-size: 14px;
}

.form-control-custom {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid #d7e7fb;
  border-radius: 3px;
  padding: 12px 14px;
  font-family: 'Quicksand', sans-serif;
  font-size: 14px;
  color: var(--text-dark);
}

.form-control-custom::placeholder { color: #6f8fb3; }

.form-control-custom:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(30,143,250,0.15);
}

textarea.form-control-custom {
  min-height: 110px;
  resize: vertical;
}

.field-error {
  color: #e0433f;
  font-size: 12.5px;
  margin-top: 4px;
  display: none;
}

.form-field.has-error .form-control-custom { border-color: #e0433f; }
.form-field.has-error .field-error { display: block; }

.btn-send {
  background: var(--brand-blue);
  color: #ffffff;
  border: none;
  padding: 11px 30px;
  font-weight: 600;
  font-size: 14px;
  border-radius: 2px;
  margin-top: 10px;
}

.btn-send:hover { background: var(--brand-blue-dark); color: #fff; }
.btn-send:disabled { opacity: 0.6; cursor: not-allowed; }

.form-status {
  margin-top: 14px;
  font-size: 14px;
  display: none;
}
.form-status.success { color: #1e7e34; display: block; }
.form-status.error   { color: #e0433f; display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark-panel);
  color: #ffffff;
  text-align: center;
  padding: 50px 20px 26px;
}

.site-footer h4 {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 20px;
}

.site-footer .socials {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 26px;
}

.site-footer .socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.site-footer .copyright {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

.site-footer .copyright a { color: rgba(255,255,255,0.85); }

@media (max-width: 700px) {
  .hero h1 { font-size: 34px; }
  .contact-card { flex-direction: column; }
  .contact-side { flex: 1 1 auto; }
}
