
/*
Theme Name: BudowaPro

Description: Prosty, lekki motyw dla firmy budowlanej z gotowym układem stron: Strona główna, Usługi, Cennik, Portfolio i Kontakt.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: budowapro
*/

:root {
  --bp-dark: #111827;
  --bp-accent: #f59e0b;
  --bp-accent-soft: #fbbf24;
  --bp-bg: #f3f4f6;
  --bp-card: #ffffff;
  --bp-muted: #6b7280;
  --bp-border: #e5e7eb;
  --bp-radius-lg: 16px;
  --bp-radius-xl: 24px;
  --bp-shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.12);
}

body {


/* upewniamy się, że header jest „paskiem”, a nie pełnoekranowym blokiem */
.bp-header {
    position: relative;
}

.bp-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 32px;
}

  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top left, #fbbf24 0, #f3f4f6 42%, #e5e7eb 100%);
  color: var(--bp-dark);
}

a {
  color: var(--bp-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.bp-container {
  width: min(1120px, 100% - 3rem);
  margin: 0 auto;
}

.bp-main {
  padding-top: 96px;
  padding-bottom: 64px;
}

/* HEADER */

.bp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(to right, rgba(17, 24, 39, 0.92), rgba(31, 41, 55, 0.92));
  border-bottom: 1px solid rgba(249, 250, 251, 0.08);
}

.bp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.bp-logo a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #f9fafb;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.bp-logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 20%, #fef3c7 0, #f59e0b 42%, #b45309 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.bp-logo-text span {
  display: block;
}

.bp-logo-text-small {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #d1d5db;
}

.bp-logo-text-main {
  font-size: 0.95rem;
}

.bp-nav .bp-menu {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
}

.bp-nav .bp-menu li a {
  color: #e5e7eb;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 0.2rem;
}

.bp-nav .bp-menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, #fbbf24, #f97316);
  transition: width 0.2s ease-out;
}

.bp-nav .bp-menu li.current-menu-item > a::after,
.bp-nav .bp-menu li a:hover::after {
  width: 100%;
}

/* HERO / HOME */

.bp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
  margin-top: 1.5rem;
}

.bp-hero-left-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.bp-hero-left-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #22c55e;
}

.bp-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.2rem 0.7rem;
  background: rgba(251, 191, 36, 0.09);
  border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.35);
  margin-bottom: 0.65rem;
}

.bp-badge-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #f59e0b;
}

.bp-hero h1 {
  font-size: clamp(2.4rem, 3.3vw + 1.4rem, 3.2rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  letter-spacing: -0.035em;
}

.bp-hero h1 span.bp-highlight {
  background-image: linear-gradient(120deg, rgba(251, 191, 36, 0.3), transparent);
  background-repeat: no-repeat;
  background-size: 100% 45%;
  background-position: 0 90%;
}

.bp-hero-lead {
  font-size: 0.98rem;
  color: var(--bp-muted);
  max-width: 32rem;
  line-height: 1.6;
}

.bp-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.35rem;
}

.bp-hero-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #4b5563;
}

.bp-hero-meta-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
}

.bp-hero-cta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

.bp-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(to right, #f59e0b, #f97316);
  color: #111827;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(248, 171, 10, 0.45);
}

.bp-btn-primary span.bp-btn-icon {
  margin-left: 0.5rem;
}

.bp-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(248, 171, 10, 0.6);
}

.bp-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.6rem;
  border-radius: 999px;
  border: 1px dashed rgba(31, 41, 55, 0.45);
  background: rgba(249, 250, 251, 0.7);
  font-size: 0.8rem;
  color: #374151;
}

.bp-btn-ghost-star {
  font-size: 0.9rem;
}

.bp-hero-right {
  position: relative;
}

.bp-hero-card {
  background: radial-gradient(circle at top left, #fef3c7 0, #fbbf24 32%, #f97316 100%);
  border-radius: 32px;
  padding: 1.5rem 1.6rem;
  box-shadow: 0 24px 55px rgba(148, 90, 2, 0.55);
  color: #111827;
}

.bp-hero-card-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: 0.85;
}

.bp-hero-card-main {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 0.4rem;
}

.bp-hero-card-main-figure {
  font-size: 2rem;
  font-weight: 700;
}

.bp-hero-card-main-copy {
  font-size: 0.8rem;
  max-width: 13rem;
}

.bp-hero-card-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 1.1rem;
}

.bp-hero-pill {
  background: rgba(243, 244, 246, 0.85);
  padding: 0.65rem 0.85rem;
  border-radius: 14px;
  font-size: 0.78rem;
}

.bp-hero-floating {
  position: absolute;
  right: 12%;
  bottom: -16%;
  background: rgba(17, 24, 39, 0.96);
  color: #e5e7eb;
  padding: 0.7rem 0.9rem;
  border-radius: 16px;
  font-size: 0.75rem;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.7);
}

.bp-hero-floating span {
  display: block;
}

.bp-hero-floating-strong {
  font-weight: 600;
  color: #fbbf24;
  margin-bottom: 0.1rem;
}

/* TWO COLUMN WHY-US */

.bp-section {
  margin-top: 3.5rem;
}

.bp-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.bp-section-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--bp-muted);
}

.bp-section-title {
  font-size: 1.5rem;
  margin: 0.35rem 0 0.25rem;
}

.bp-section-subtitle {
  font-size: 0.9rem;
  color: var(--bp-muted);
  max-width: 26rem;
}

.bp-two-col-blog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.bp-card {
  background: rgba(249, 250, 251, 0.9);
  border-radius: var(--bp-radius-lg);
  padding: 1.2rem 1.3rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(243, 244, 246, 0.9);
}

.bp-card-eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #f59e0b;
  margin-bottom: 0.5rem;
}

.bp-card-title {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.bp-card-body {
  font-size: 0.9rem;
  color: var(--bp-muted);
  line-height: 1.6;
}

/* FEATURED SERVICE BLOCK */

.bp-featured {
  margin-top: 3rem;
}

.bp-featured-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.25rem;
  align-items: center;
  background: radial-gradient(circle at top left, rgba(248, 250, 252, 0.9) 0, rgba(249, 250, 251, 0.92) 40%, rgba(229, 231, 235, 0.95) 100%);
  border-radius: 28px;
  border: 1px solid rgba(209, 213, 219, 0.8);
  padding: 1.8rem 2rem;
  box-shadow: var(--bp-shadow-soft);
}

.bp-featured-tagline {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #6b7280;
  margin-bottom: 0.3rem;
}

.bp-featured-title {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.bp-featured-body {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.6;
}

.bp-featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #6b7280;
}

.bp-featured-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.bp-featured-meta-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #10b981;
}

.bp-featured-cta {
  margin-top: 1.4rem;
}

.bp-featured-pill {
  font-size: 0.8rem;
  color: #111827;
  margin-top: 0.6rem;
}

.bp-featured-pill span {
  font-weight: 600;
}

.bp-featured-right {
  display: grid;
  gap: 0.9rem;
}

.bp-featured-stat {
  background: #111827;
  color: #e5e7eb;
  border-radius: 18px;
  padding: 1rem 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bp-featured-stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
  margin-bottom: 0.2rem;
}

.bp-featured-stat-value {
  font-size: 1.2rem;
  font-weight: 600;
}

.bp-featured-dotline {
  display: flex;
  gap: 0.3rem;
}

.bp-featured-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(249, 250, 251, 0.55);
}

.bp-featured-note {
  font-size: 0.78rem;
  color: #9ca3af;
}

/* TESTIMONIALS */

.bp-testimonials {
  margin-top: 3rem;
}

.bp-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.bp-testimonial-card {
  background: rgba(17, 24, 39, 0.96);
  color: #e5e7eb;
  border-radius: 18px;
  padding: 1.1rem 1.15rem;
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(55, 65, 81, 0.95);
}

.bp-testimonial-name {
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.bp-testimonial-role {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-bottom: 0.4rem;
}

.bp-stars {
  color: #fbbf24;
  font-size: 0.85rem;
  margin-bottom: 0.45rem;
}

.bp-testimonial-text {
  font-size: 0.85rem;
  color: #d1d5db;
  line-height: 1.55;
}

/* SERVICES */

.bp-page-hero {
  margin-top: 1rem;
  margin-bottom: 1.75rem;
}

.bp-page-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6b7280;
}

.bp-page-title {
  font-size: 1.8rem;
  margin: 0.2rem 0 0.4rem;
}

.bp-page-lead {
  font-size: 0.95rem;
  color: #6b7280;
  max-width: 34rem;
}

.bp-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.3rem;
}

.bp-service-card {
  background: rgba(249, 250, 251, 0.95);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.16);
  border: 1px solid rgba(229, 231, 235, 0.95);
  display: flex;
  flex-direction: column;
}

.bp-service-img-wrap {
  position: relative;
  padding-top: 62%;
  overflow: hidden;
}

.bp-service-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bp-service-tag {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  padding: 0.25rem 0.6rem;
  background: rgba(15, 23, 42, 0.86);
  color: #f9fafb;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.bp-service-body {
  padding: 0.9rem 1rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.bp-service-title {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.bp-service-text {
  font-size: 0.86rem;
  color: #4b5563;
  line-height: 1.55;
}

.bp-service-meta {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  color: #6b7280;
}

/* PRICING */

.bp-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.bp-price-card {
  background: #111827;
  color: #e5e7eb;
  border-radius: 18px;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(55, 65, 81, 0.9);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.bp-price-badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #9ca3af;
}

.bp-price-title {
  font-size: 1.05rem;
}

.bp-price-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fbbf24;
}

.bp-price-body {
  font-size: 0.85rem;
  color: #d1d5db;
}

.bp-price-note {
  font-size: 0.78rem;
  color: #9ca3af;
}

/* PORTFOLIO */

.bp-portfolio-grid {
  display: grid;
  gap: 1.3rem;
}

.bp-portfolio-row {
  background: rgba(249, 250, 251, 0.96);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(229, 231, 235, 0.96);
}

.bp-portfolio-row-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.bp-portfolio-row-badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #6b7280;
}

.bp-portfolio-gallery {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 0.75rem;
}

.bp-portfolio-main {
  border-radius: 14px;
  overflow: hidden;
}

.bp-portfolio-main img,
.bp-portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bp-portfolio-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
}

.bp-portfolio-thumb {
  border-radius: 10px;
  overflow: hidden;
}

/* CONTACT */

.bp-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.bp-contact-card {
  background: #111827;
  color: #e5e7eb;
  border-radius: 22px;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(55, 65, 81, 0.9);
}

.bp-contact-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9ca3af;
}

.bp-contact-title {
  font-size: 1.2rem;
  margin: 0.25rem 0 0.45rem;
}

.bp-contact-body {
  font-size: 0.9rem;
  color: #d1d5db;
  margin-bottom: 0.7rem;
}

.bp-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}

.bp-contact-list li + li {
  margin-top: 0.25rem;
}

.bp-contact-list-label {
  color: #9ca3af;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

/* FOOTER */

.bp-footer {
  padding: 1.8rem 0 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  margin-top: 3rem;
}

.bp-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.8rem;
  color: #6b7280;
}

.bp-footer-meta {
  display: flex;
  gap: 1rem;
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .bp-header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .bp-nav .bp-menu {
    flex-wrap: wrap;
    gap: 0.9rem 1.4rem;
  }

  .bp-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .bp-hero-right {
    order: -1;
  }

  .bp-featured-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .bp-featured-right {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bp-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bp-testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bp-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bp-portfolio-gallery {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .bp-grid-4,
  .bp-grid-3,
  .bp-testimonials-grid,
  .bp-contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .bp-featured-inner {
    padding: 1.4rem 1.3rem;
  }

  .bp-main {
    padding-top: 88px;
  }
}
/* LOGO – tylko obrazek, bez starego tła / pseudo-elementów */
.bp-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* jeśli stare logo było robione pseudo-elementami – wyłączamy je */
.bp-logo::before,
.bp-logo::after {
    content: none !important;
    background: none !important;
}




.bp-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* === OSTATECZNE: ZAMIANA LOGO NA GRAFIKĘ === */

/* kontener logo – tu wstawiamy obraz jako tło */
.bp-logo {
    display: block;
    width: 260px;   /* szerokość logo w pasku – możesz zmienić np. na 220 / 280 */
    height: 54px;   /* wysokość paska zajmowana przez logo */
    background-image: url('/wp-content/uploads/2025/12/LMS_logo_bez_tla_8-–-ze-zmianami.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
}

/* link w środku logo wypełnia cały obszar */
.bp-logo > a {
    display: block;
    width: 100%;
    height: 100%;
}

/* ukrywamy stare tekstowe logo, ale zostawiamy je w HTML (SEO, dostępność) */
.bp-logo-mark,
.bp-logo-text {
    font-size: 0;
    line-height: 0;
    color: transparent;
    opacity: 0;
}

/* Wyrównanie LOGO i MENU idealnie w jednej linii */
.bp-header {
    height: 72px !important; /* stała wysokość headera – możesz dopasować */
    display: flex;
    align-items: center;
}

.bp-header-inner {
    display: flex !important;
    align-items: center !important;  /* pionowe wyrównanie logo + menu */
    justify-content: space-between !important;
    height: 100%;
}

/* usuwa dodatkowy padding, który zrzuca menu niżej */
.bp-nav {
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: center !important;
}

.bp-nav-list {
    display: flex;
    align-items: center !important;
}

/* dla pewności wyrównujemy też linki menu */
.bp-nav-list li a {
    line-height: 72px !important; /* musi być równe wysokości headera */
    display: flex;
    align-items: center;
}
/* Przesunięcie menu w prawo */
.bp-nav {
    margin-left: 705px !important; /* zwiększ/zmniejsz według potrzeb */
}
