
:root {
    --first: #182434;
    --firstrgb: 24, 36, 52;
    --second: #caa556;
    --third: #1c1c1c;
}

.shadow-first {
    box-shadow: 0 1px 5px rgba(var(--firstrgb), 0.8);
}
    
.content-wrapper {
    min-height: calc(100vh - 140px);
  }
  

    .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--first);
        opacity: 0.4;
        pointer-events: all; /* to blokuje iframe pod spodem */
        cursor: default; /* stały kursor */
        z-index: 1;
        border-bottom: 10px solid var(--first);
      }
      
      .contact-map-section{
        max-height: 430px;
      }
      

    .heading-audiowide {
        font-family: 'Audiowide', cursive;
    }

    .hero-section {
        position: relative;
        background: url('/img/hero-bg.jpg') no-repeat center center / cover;
        min-height: 300px;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: flex-start; /* kluczowe */
        text-align: left;
    }

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--first);
  opacity: 0.8; 
  z-index: 1;
}


.hero-section > * {
position: relative;
z-index: 2;
}

.hero-content {
max-width: 100%;
text-align: left;
}


.hero-slogan {
color: var(--second);
font-size: 1.1rem;
font-weight: 500;
}

.hero-subtitle {
font-size: 1rem;
font-weight: 300;
color: white;
}

.btn-hero-cta {
background-color: var(--first);
color: var(--second);
padding: 12px 24px;
border-radius: 4px;
font-weight: 500;
text-decoration: none;
transition: background-color 0.3s, color 0.3s;
border: 2px solid var(--second);
}

.btn-hero-cta:hover {
background-color: var(--second);
color: var(--first);
border: 2px solid var(--first);
}




.about-section {
background-color: #f8f9fa;
position: relative;
}

/* Złota kreska */
.section-marker {
width: 50px;
height: 4px;
background-color: var(--second);
font-weight: bold;
}

/* Nagłówek sekcji */
.section-title {
font-size: 2rem;
font-weight: 600;
color: var(--first);
}

/* Obrazek z tłem */
.img-wrapper {
position: relative;
width: 300px;
max-width: 100%;
}

.img-background {
position: absolute;
top: -20px;
left: 20px;
width: 100%;
height: 100%;
background-color: var(--second);
z-index: 1;
}

.about-image {
position: relative;
z-index: 2;
width: 100%;
height: auto;
object-fit: cover;
}



.counter-section {
background-color: var(--first);
}

.counter-box {
padding: 20px;
transition: transform 0.3s;
}

.counter-box:hover {
transform: translateY(-5px);
}

.counter-number {
font-size: 2.5rem;
font-weight: 700;
color: var(--second);
margin-bottom: 10px;
}

.counter-label {
font-size: 1rem;
font-weight: 400;
color: white;
line-height: 1.4;
}




.services-section {
background-color: #f9f9f9;
}

.section-title {
color: var(--first);
font-size: 2rem;
font-weight: 600;
}

.section-subtitle {
font-size: 1.1rem;
color: var(--third);
}

.service-box {
background-color: white;
padding: 25px;
border-radius: 6px;
box-shadow: 0 0 10px rgba(0,0,0,0.05);
transition: transform 0.3s, box-shadow 0.3s;
}

.service-box:hover {
transform: translateY(-5px);
box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.service-list {
list-style: none;
padding-left: 0;
}

.service-list li {
margin-bottom: 1rem;
color: var(--third);
line-height: 1.4;
}

.service-list li strong {
color: var(--first);
display: block;
}

.service-marker {
width: 100px;
height: 4px;
background-color: var(--second);
border-radius: 2px;
}

.service-icon i {
font-size: 2rem;
color: var(--second);
}

.has-logo-bg {
position: relative;
overflow: hidden;
background-color: white;
}

.has-logo-bg::after {
content: "";
position: absolute;
top: 50%;
left: 50%;
width: 80%;
height: 80%;
background: url('/img/logo_g.png') no-repeat center center;
background-size: contain;
opacity: 0.05;
transform: translate(-50%, -50%);
z-index: 0;
}



.partners-section {
background-color: #f8f9fa;
}

.section-title {
color: var(--first);
font-size: 2rem;
font-weight: 600;
}

.section-subtitle {
font-size: 1.1rem;
color: var(--third);
}

.swiper {
width: 100%;
padding: 40px 0;
}

.swiper-slide {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}

.partner-logo {
object-fit: contain;
width: auto;
transition: transform 0.3s ease;
}

/* Domyślnie (mobile first) */
.partner-logo {
max-height: 30vw;
}

/* ≥ 768px: 2 loga w rzędzie */
@media (min-width: 768px) {
.partner-logo {
max-height: 25vw;
}
}

/* ≥ 992px: 3 loga */
@media (min-width: 992px) {
.partner-logo {
max-height: 18vw;
}
}

/* ≥ 1200px: 4 loga */
@media (min-width: 1200px) {
.partner-logo {
max-height: 190px;
}
}



.partner-logo:hover {
filter: none;
}

.partner-name {
font-size: 1rem;
font-weight: 500;
color: var(--third);
margin: 0;
}

.swiper-button-prev, .swiper-button-next{
color: var(--first) !important;
}


.site-footer {
background-color: var(--first);
color: var(--second);
font-size: 0.875rem;
border-top: 1px solid rgba(255, 255, 255, 0.1);
height: 70px;
}

.footer-text {
color: var(--second);
font-weight: 400;
letter-spacing: 0.3px;
}







/* Mapa */
.map-iframe {
  width: 100%;
  height: 450px;
  display: block;
}

/* Sekcja mapy – ustawia warstwowość */
.contact-map-section {
  position: relative;
  z-index: 1;
}

/* Sekcja kontaktowa wystająca ponad mapę */
.contact-info-panel {
  background: #fff;
  position: relative;
  z-index: 2;
}

/* Karta z kontaktami */
.contact-card {
  background: white;
  border-radius: 12px;
  padding: 30px 40px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 3;
  margin-top: -100px;
  background: var(--first) !important;
}

/* Każdy box kontaktowy */
.contact-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
  height: 100%;
}

/* Ikony */
.contact-icon {
  font-size: 1.8rem;
  color: var(--second); /* złoty */
  margin-bottom: 10px;
}

/* Etykiety i dane */
.contact-label {
  font-weight: 600;
  margin: 0;
  font-size: 0.95rem;
  color: var(--first); /* ciemne */
}

.contact-value {
  margin: 0;
  font-size: 0.9rem;
  color: var(--third);
}

.contact-value a {
  color: var(--third);
  text-decoration: none;
}

.contact-value a:hover {
  text-decoration: underline;
}

/* Pionowe kreski między kolumnami */
@media (min-width: 768px) {
  .contact-box:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 25%;
    right: 0;
    width: 1px;
    height: 50%;
    background-color: var(--second);
  }
}

/* Mobile fix: usuwa wystawanie */
@media (max-width: 767px) {
  .contact-info-panel {
    margin-top: 0;
  }
}

@media (min-width: 768px) {
  .bothborders{
    border-left: 1px solid var(--second);
    border-right: 1px solid var(--second);
  }
}