/*!
Theme Name: TestyGS
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: OnePage KupimyPOZ - Struktura oparta na Underscores.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: testygs
*/

/* Zmienne globalne */
:root {
  --primary-color: #007bff;
  --secondary-color: #1e3a8a;
  --accent-color: #f7931e;
  --nav-footer-bg: #2b3e50;
  --nav-footer-accent: #aec2d8;
  --accent-hover: #e6861a;
  --text-dark: #333;
  --text-light: #555;
  --background-light: #f9f9f9;
  --border-color: #e0e0e0;
  --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.08);
  --border-radius: 8px;
  --tooltip-bg: #333;
  --tooltip-text: white;
  --nav-color: #2b3e50;
}

/* RESET I GLOBALNE STYLE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #fff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
}

/* NAGŁÓWKI */
h1 {
  font-family: "Libre Baskerville", serif;
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.1;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
h2 {
  font-family: "Libre Baskerville", serif;
  font-size: 35px;
  text-align: center;
  margin-bottom: 10px;
  color: var(--secondary-color);
  font-weight: 700;
}
h3 {
  font-family: "Libre Baskerville", serif;
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--secondary-color);
  font-weight: 700;
}

.subtitle {
  text-align: center;
  font-size: 1.1em;
  color: var(--text-light);
  margin-bottom: 60px;
}

/* --------------------------------------------------------------
NAVBAR
-------------------------------------------------------------- */
.header-nav {
  background-color: var(--nav-footer-bg);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
}
.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.logo-link {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: 700;
  color: white;
  text-decoration: none;
  cursor: default;
}
.logo-img {
  height: 60px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 25px;
}
.nav-links li {
  list-style: none;
}
.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 5px 0;
  transition: color 0.3s ease;
}
.nav-links a:hover {
  color: var(--accent-color);
}
.nav-contact-button a {
  background-color: var(--accent-color);
  color: white;
  padding: 8px 18px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: 2px solid var(--accent-color);
}
.nav-contact-button a:hover {
  background-color: var(--accent-hover);
  color: white;
  transform: translateY(-1px);
}

/* NOWE STYLE DLA PRZYCISKU TELEFONU (BIAŁA KAPSUŁA Z OBRAMOWANIEM) */
.nav-phone-button a {
  background-color: white;
  color: var(--nav-footer-bg);
  padding: 8px 18px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease; /* Płynne przejście */
  border: 2px solid white;
  white-space: nowrap;
  text-decoration: none;
}

.nav-phone-button a:hover {
  color: var(
    --accent-color
  ); /* EFEKT HOVER: Zmiana koloru tekstu na Akcentowy */
  background-color: var(--background-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.menu-toggle {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

/* --------------------------------------------------------------
SEKCJA HERO (I RESZTA TREŚCI)
-------------------------------------------------------------- */
.hero-section {
  position: relative;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  filter: brightness(60%) contrast(110%);
}
.hero-content-wrapper {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
}
.hero-content {
  padding: 0 15px;
  max-width: 800px;
  text-align: left;
}
.hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  font-weight: 400;
}
.cta-button {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--accent-color);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: 2px solid var(--accent-color);
}
.cta-button:hover {
  background-color: var(--accent-hover);
  border: 2px solid var(--accent-hover);
  transform: translateY(-2px);
}
.about-section {
  padding: 40px 0 80px 0;
  background-color: white;
}
.about-content {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}
.about-text {
  flex: 1;
  padding-right: 20px;
}
.about-text p {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: var(--text-light);
}
.about-highlight {
  flex: 1;
  padding: 30px;
  background-color: var(--background-light);
  border-left: 5px solid var(--primary-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-highlight:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.about-highlight p {
  font-style: italic;
  font-size: 1.1em;
}
.about-icon {
  font-size: 2em;
  color: var(--primary-color);
  margin-bottom: 15px;
  display: block;
}
.approach-section {
  padding: 80px 0;
  background-color: var(--background-light);
}
.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.approach-card {
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 220px;
}
.approach-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.card-icon {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
}
.card-title {
  font-family: "Libre Baskerville", serif;
  font-size: 1.3em;
  color: var(--secondary-color);
  margin-bottom: 10px;
  font-weight: 700;
}
.card-description {
  font-size: 0.95em;
  color: var(--text-light);
}
.faq-section {
  padding: 80px 20px;
  background-color: white;
}
.faq-container {
  max-width: 1200px;
  margin: auto;
  background-color: var(--background-light);
  border-radius: var(--border-radius);
  padding: 50px;
  box-shadow: var(--shadow-light);
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}
.faq-item {
  background-color: white;
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: auto;
}
.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}
.faq-question-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}
.faq-item h3 {
  font-family: "Libre Baskerville", serif;
  font-size: 1.15em;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
  line-height: 1.4;
}
.faq-item p {
  font-size: 1em;
  color: var(--text-light);
  line-height: 1.6;
  padding-top: 5px;
  margin: 0;
}
.faq-icon {
  margin-right: 15px;
  color: var(--primary-color);
  font-size: 1.4em;
  flex-shrink: 0;
  line-height: 1;
}
.contact-section {
  padding: 80px 40px;
  background-color: white;
}
.contact-container {
  width: 95%;
  max-width: 1300px;
  margin: 0 auto;
}
.section-header h2 {
  margin-bottom: 50px;
}
.contact-content {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}
.form-column {
  flex: 2;
  min-width: 55%;
  background-color: white;
  padding: 50px 60px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-color);
}
.form-column h3 {
  font-size: 1.8em;
  margin-bottom: 25px;
  color: var(--secondary-color);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.9em;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="text"][name="telefon"],
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--border-color);
  border-radius: 5px;
  font-size: 1em;
  transition: border-color 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 1px var(--primary-color);
  outline: none;
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.checkbox-group {
  margin-top: 15px;
}
.checkbox-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.85em;
  color: var(--text-light);
}
.checkbox-item input[type="checkbox"] {
  margin-top: 4px;
  margin-right: 10px;
  flex-shrink: 0;
  accent-color: var(--primary-color);
}
.checkbox-item a {
  color: var(--primary-color);
  text-decoration: underline;
}
.submit-button {
  display: block;
  width: 100%;
  padding: 15px;
  background-color: var(--accent-color);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease, opacity 0.3s ease;
  margin-top: 30px;
  position: relative;
  z-index: 10;
}
.submit-button:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
}
.submit-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.submit-button:disabled:hover {
  opacity: 0.5;
  transform: none;
}
/* STYLIZACJA Dymka (Tooltip) */
.submit-button:disabled[title]:hover::after {
  content: attr(title);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  white-space: nowrap;
  padding: 8px 12px;
  background: var(--tooltip-bg);
  color: var(--tooltip-text);
  border-radius: 4px;
  font-size: 0.9em;
  font-weight: 400;
  pointer-events: none;
  z-index: 20;
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s;
}
.submit-button:disabled[title]:hover::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(0px);
  margin-bottom: -10px;
  border-width: 5px;
  border-style: solid;
  border-color: var(--tooltip-bg) transparent transparent transparent;
  pointer-events: none;
  z-index: 20;
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s;
}
.submit-button[title]::after,
.submit-button[title]::before {
  visibility: hidden;
  opacity: 0;
}
.info-column {
  flex: 1.2;
  min-width: 350px;
  background-color: var(--nav-color);
  padding: 50px;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border: none;
}
.info-column h3 {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: white;
  font-weight: 700;
}
.info-column p {
  font-size: 1em;
  margin-bottom: 30px;
  color: var(--nav-footer-accent);
}
.contact-person {
  margin-top: 5px;
  padding: 0;
}
.contact-person strong {
  display: block;
  font-size: 1.4em;
  color: white;
  margin-bottom: 3px;
  font-weight: 700;
  font-family: "Libre Baskerville", serif;
}
.contact-person .role {
  color: var(--accent-color);
  font-size: 1em;
  font-weight: 600;
  margin-bottom: 25px;
  display: block;
}
.contact-detail-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.contact-detail-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.contact-detail-item i {
  font-size: 1.2em;
  color: var(--accent-color);
  margin-right: 15px;
  width: 25px;
  text-align: center;
}
.contact-detail-item a {
  color: white;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 400;
  transition: color 0.3s ease;
}
.contact-detail-item a:hover {
  color: var(--accent-color);
}

/* --------------------------------------------------------------
FOOTER
-------------------------------------------------------------- */
.footer-section {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #fff;
  background-color: var(--nav-footer-bg);
  padding: 20px;
  border-top: 2px solid var(--nav-footer-accent);
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 15px;
  padding-top: 15px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  cursor: default;
}
.footer-logo img {
  height: 50px;
  width: auto;
}
.footer-nav-social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}
.footer-nav a:hover {
  color: var(--nav-footer-accent);
}
.footer-nav span {
  color: var(--nav-footer-accent);
}
.footer-social a {
  color: #fff;
  font-size: 20px;
  margin-left: 15px;
  transition: color 0.3s ease;
}
.footer-social a:hover {
  color: var(--nav-footer-accent);
}
.footer-copyright {
  width: 100%;
  padding-top: 15px;
  border-top: 1px solid #3d566e;
  color: var(--nav-footer-accent);
  font-size: 14px;
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copyright-left,
.footer-copyright-right {
  padding: 0 10px;
}
.footer-copyright a {
  color: var(--nav-footer-accent);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-copyright a:hover {
  color: var(--accent-color);
}

/* --------------------------------------------------------------
RESPONSYWNOŚĆ GLOBALNA
-------------------------------------------------------------- */

/* Wyrównanie i odstępy na desktopie */
@media (min-width: 993px) {
  .nav-links {
    gap: 15px;
  }
  .nav-contact-button {
    margin-left: 15px;
  }
}

/* Ukrywamy numer telefonu na mobile */
@media (max-width: 992px) {
  .nav-phone-button {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 3em;
  }
  h2 {
    font-size: 30px;
  }
  .faq-container {
    padding: 40px;
  }
}
@media (max-width: 992px) {
  /* RESPONSYWNOŚĆ NAVBAR */
  .nav-links {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    background-color: var(--nav-footer-bg);
    transition: max-height 0.4s ease-in-out;
  }
  .nav-links.active {
    max-height: 500px;
  }
  .nav-links li {
    width: 100%;
    text-align: center;
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .nav-links li:last-child {
    border-bottom: none;
  }
  .nav-links.active li {
    opacity: 1;
    transform: translateY(0);
  }
  .nav-links.active li:nth-child(1) {
    transition-delay: 0.1s;
  }
  .nav-links.active li:nth-child(2) {
    transition-delay: 0.2s;
  }
  .nav-links.active li:nth-child(3) {
    transition-delay: 0.3s;
  }
  .nav-links.active li:nth-child(4) {
    transition-delay: 0.4s;
  }
  .nav-links li a {
    display: block;
    width: 100%;
    padding: 15px 0;
    margin: 0;
    font-size: 17px;
  }
  .nav-contact-button a {
    display: block;
    width: 90%;
    margin: 15px auto;
    padding: 12px;
    text-align: center;
  }
  .nav-contact-button {
    border-bottom: none !important;
  }
  .menu-toggle {
    display: block;
  }
  /* TREŚĆ */
  .contact-content {
    flex-direction: column;
    gap: 40px;
  }
  .contact-section {
    padding: 60px 5px;
  }
  .contact-container {
    width: 100%;
  }
  .form-column,
  .info-column {
    flex: none;
    width: calc(100% - 10px);
    padding: 40px;
    margin: 0 5px;
    min-width: auto;
  }
  .info-column {
    margin-top: 10px;
  }
}
@media (max-width: 768px) {
  h2 {
    font-size: 26px;
  }
  .hero-section {
    height: 55vh;
  }
  .hero-content-wrapper {
    justify-content: center;
  }
  .hero-content {
    max-width: none;
    padding: 0 5%;
    text-align: center;
  }
  .hero-content h1 {
    font-size: 2.3em;
  }
  .hero-content p,
  .cta-button {
    display: none;
  }
  .hero-content h1 {
    margin-bottom: 0;
  }
  .about-content {
    flex-direction: column;
    gap: 30px;
  }
  .about-text {
    padding-right: 0;
    width: 100%;
  }
  .about-highlight {
    width: 100%;
    padding: 25px;
  }
  .approach-section {
    padding: 50px 0;
  }
  .faq-section {
    padding: 50px 5px;
  }
  .faq-container {
    padding: 5px;
    margin: 0;
  }
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 30px;
  }
  .faq-item {
    padding: 20px;
    margin: 0 5px;
  }
  /* RESPONSYWNOŚĆ FOOTER */
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  .footer-logo,
  .footer-nav-social {
    justify-content: center;
    width: 100%;
  }
  .footer-social {
    margin-top: 10px;
  }
  .footer-social a {
    margin: 0 8px;
  }
  .footer-copyright {
    flex-direction: column;
    text-align: center;
    gap: 5px;
    padding-top: 10px;
  }
  .footer-copyright-left,
  .footer-copyright-right {
    padding: 0;
  }
}
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8em;
  }
  .form-column h3,
  .info-column h3 {
    font-size: 1.5em;
  }
  .form-column,
  .info-column {
    padding: 30px;
  }
}
