/* ═══════════════════════════════════════════════════════════════════════════
   Tube Plant Slovakia — UI Improvements
   contact form · footer · global polish
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Team card — horizontal (desktop) ────────────────────────────────────── */
#team .member.member-horizontal {
  display: flex;
  flex-direction: row;
  text-align: left;
  margin: 0 auto;
  max-width: 680px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.10);
}
#team .member.member-horizontal .pic {
  flex: 0 0 220px;
  width: 220px;
  overflow: hidden;
}
#team .member.member-horizontal .pic picture,
#team .member.member-horizontal .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#team .member.member-horizontal .details {
  flex: 1;
  border-radius: 0;
  padding: 28px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
#team .member.member-horizontal h4 {
  font-size: 22px;
  margin-bottom: 2px;
}
#team .member.member-horizontal span {
  font-size: 13px;
  margin-bottom: 8px;
}
#team .member.member-horizontal p {
  margin-bottom: 4px;
}
/* Mobile: collapse back to vertical */
@media (max-width: 767px) {
  #team .member.member-horizontal {
    flex-direction: column;
    max-width: 340px;
  }
  #team .member.member-horizontal .pic {
    width: 100%;
    flex: none;
    height: 240px;
  }
  #team .member.member-horizontal .details {
    padding: 20px;
    text-align: center;
  }
}

/* ── Contact section background ──────────────────────────────────────────── */
#contact {
  background: #f0faf7;
  padding-top: 64px;
  padding-bottom: 64px;
}

/* ── Section header ───────────────────────────────────────────────────────── */
#contact .section-header h2 {
  font-size: 30px;
  font-weight: 800;
  color: #0f172a;
  text-transform: none;
  letter-spacing: -0.01em;
}
#contact .section-header p {
  color: #64748b;
  font-size: 15.5px;
  max-width: 500px;
  margin: 0 auto;
}

/* ── Topbar — compact strip ───────────────────────────────────────────────── */
#topbar {
  background: #0f172a !important;
  border-bottom: 1px solid rgba(255,255,255,.07) !important;
  padding: 0 !important;
  min-height: 0;
}
#topbar .container {
  height: 36px;
}
#topbar .contact-info,
#topbar .contact-address,
#topbar .social-links {
  font-size: 12px;
  color: #94a3b8;
  gap: 6px;
}
#topbar .contact-info a,
#topbar .contact-address span,
#topbar .contact-address {
  color: #94a3b8;
  text-decoration: none;
  font-size: 12px;
  background: none;
  border-radius: 0;
  padding: 0 !important;
  box-shadow: none;
  transform: none !important;
}
#topbar .contact-info a:hover,
#topbar .contact-address a:hover { color: #50d8af; }
#topbar .contact-info i,
#topbar .contact-address i {
  font-size: 11px !important;
  color: #50d8af !important;
  margin-bottom: 0;
  display: inline;
}
#topbar .social-links a {
  color: #64748b;
  font-size: 13px;
  transition: color .2s;
}
#topbar .social-links a:hover { color: #50d8af; }
#topbar .mx-3 { color: #334155; margin: 0 8px !important; }
#topbar .fa-map-marker { font-size: 11px !important; }

/* ── Contact info cards (scoped to #contact section only) ─────────────────── */
#contact .contact-address,
#contact .contact-phone,
#contact .contact-email {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 24px !important;
  box-shadow: 0 1px 4px rgba(0,0,0,.05), 0 6px 20px rgba(0,0,0,.06);
  transition: box-shadow .25s, transform .25s;
  text-align: center;
}
#contact .contact-address:hover,
#contact .contact-phone:hover,
#contact .contact-email:hover {
  box-shadow: 0 4px 24px rgba(80,216,175,.18);
  transform: translateY(-3px);
}

/* icons */
#contact .contact-address i,
#contact .contact-phone i,
#contact .contact-email i {
  font-size: 34px !important;
  color: #50d8af !important;
  margin-bottom: 14px;
  display: block;
}

/* labels */
#contact .contact-address h3,
#contact .contact-phone h3,
#contact .contact-email h3 {
  font-size: 10.5px !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #94a3b8 !important;
  margin-bottom: 8px;
}

/* values */
#contact .contact-address address,
#contact .contact-address p,
#contact .contact-phone p,
#contact .contact-email p {
  font-size: 14.5px;
  color: #1e293b;
  font-weight: 500;
  margin: 0;
}
#contact .contact-address a,
#contact .contact-phone a,
#contact .contact-email a {
  color: #1e293b;
  text-decoration: none;
  transition: color .2s;
}
#contact .contact-address a:hover,
#contact .contact-phone a:hover,
#contact .contact-email a:hover { color: #50d8af; }

/* ── Form card ────────────────────────────────────────────────────────────── */
.form {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 44px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.04), 0 12px 36px rgba(0,0,0,.09);
  max-width: 760px;
  margin: 0 auto;
}
@media (max-width: 640px) {
  .form { padding: 28px 20px !important; border-radius: 14px; }
}

/* ── Form inputs ──────────────────────────────────────────────────────────── */
.contactForm .form-control {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 14.5px;
  color: #1e293b;
  height: auto;
  transition: border-color .2s, background .2s, box-shadow .2s;
  box-shadow: none;
  margin-bottom: 0;
}
.contactForm .form-control::placeholder {
  color: #94a3b8;
  font-weight: 400;
}
.contactForm .form-control:focus {
  background: #ffffff;
  border-color: #50d8af;
  box-shadow: 0 0 0 3px rgba(80,216,175,.15);
  outline: none;
  color: #0f172a;
}
.contactForm textarea.form-control {
  min-height: 130px;
  resize: vertical;
  line-height: 1.55;
}

/* ── Submit button ────────────────────────────────────────────────────────── */
.contactForm button[type="submit"],
#contact .text-center button,
.contactForm .text-center button {
  display: inline-block;
  background: linear-gradient(135deg, #50d8af 0%, #34c898 100%);
  color: #ffffff !important;
  border: none;
  border-radius: 10px;
  padding: 14px 52px;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: .025em;
  cursor: pointer;
  transition: opacity .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(80,216,175,.38);
  margin-top: 4px;
}
.contactForm button[type="submit"]:hover,
#contact .text-center button:hover {
  opacity: .88;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(80,216,175,.45);
}
.contactForm button[type="submit"]:active,
#contact .text-center button:active {
  transform: translateY(0);
  opacity: 1;
}

/* ── Success / error messages ─────────────────────────────────────────────── */
#sendmessage {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #6ee7b7;
  border-radius: 10px;
  padding: 14px 20px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 20px;
}
#errormessage {
  background: #fff1f2;
  color: #9f1239;
  border: 1px solid #fda4af;
  border-radius: 10px;
  padding: 14px 20px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 20px;
}

/* ── Privacy consent checkbox (form) ─────────────────────────────────────── */
.tps-privacy-consent {
  background: #f8fafc;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
  border: 1px solid #e2e8f0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER REDESIGN
   ═══════════════════════════════════════════════════════════════════════════ */
#footer {
  background: #0f172a;
  padding: 28px 0 22px;
  border-top: 3px solid #50d8af;
}

#footer .copyright {
  color: #cbd5e1;
  font-size: 13.5px;
  margin-bottom: 2px;
}

#footer .footer-legal-links {
  margin: 10px 0 8px;
  font-size: 13px;
  color: #475569;
}

#footer .footer-legal-links a,
#footer .footer-legal-links .tps-cookie-settings-link {
  color: #94a3b8 !important;
  text-decoration: none;
  transition: color .2s;
}
#footer .footer-legal-links a:hover,
#footer .footer-legal-links .tps-cookie-settings-link:hover {
  color: #50d8af !important;
}

#footer .footer-legal-links .sep {
  color: #334155;
  margin: 0 8px;
}

#footer .credits {
  font-size: 12px;
  color: #475569;
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   GLOBAL POLISH
   ═══════════════════════════════════════════════════════════════════════════ */

/* Smooth focus outline on all interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #50d8af;
  outline-offset: 2px;
}

/* Product page — main image subtle shadow */
.inner-page .img-fluid.rounded.shadow-sm {
  border-radius: 14px !important;
  box-shadow: 0 4px 24px rgba(0,0,0,.12) !important;
}

/* Back to top button */
.back-to-top {
  background: #50d8af;
  border-radius: 8px;
  width: 38px;
  height: 38px;
  line-height: 38px;
}
