/*
Theme Name: PRIMA Theme
Theme URI: https://primakrasnystaw.pl/
Author: PRIMA
Description: Motyw stworzony dla strony PRIMA.
Version: 1.0
*/
/* Resetowanie marginesów i paddingów */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Styl podstawowy dla ciała dokumentu */
body {
    font-family: 'Lato', sans-serif; /* Czcionka domyślna */
    font-weight: 400; /* Standardowa grubość */
    font-size: 16px; /* Rozmiar bazowy dla treści */
    line-height: 1.6; /* Ułatwia czytanie dzięki większemu odstępowi między liniami */
    color: #333333; /* Ciemnoszary dla komfortowego kontrastu */
    background-color: #C3E0F1; /* Tło dopasowane do sekcji hero */
    margin: 0; /* Usuwa domyślne marginesy */
    padding: 0; /* Usuwa domyślne odstępy */
    box-sizing: border-box; /* Ułatwia zarządzanie wymiarami elementów */
  }
  

/* Nawigacja */
.navbar {
    display: flex;
    justify-content: space-between; /* Logo po lewej, linki po prawej */
    align-items: center; /* Wyśrodkowanie pionowe elementów */
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.7); /* Transparentne tło */
    padding: 10px 30px;
    z-index: 11;
}

/* Stylizacja dropdown dla desktop */
.nav-links .dropdown-menu {
    display: none;
    position: absolute;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    list-style: none;
    z-index: 1000;
    text-align: left; /* Wyrównanie do lewej */
    width: 200px; /* Domyślna szerokość na desktopie */
  }

.nav-links svg {
    width: 25px;
    vertical-align: sub;
    transition: all 0.3s ease;
}
  
.nav-links svg:hover {
    fill: #ff5733
}

  .nav-links .dropdown-menu.show {
    display: block;
  }
  .nav-links .dropdown-menu li {
    margin: 0;
  }
  
  .nav-links .dropdown-menu li a {
    color: #333;
    text-decoration: none;
    font-size: 0.9em;
    display: block;
    padding: 10px 20px;
  }
  
  .nav-links .dropdown-menu li a:hover {
    background: #f1f1f1;
    color: #007bff;
  }

  .nav-links .dropdown:hover .dropdown-menu {
    display: block; /* Pokaż menu */
  }
  

#kafelek-0 {
  background-color: #FFED00;
}

#kafelek-0 h3 {
  background-color: red;
}

.navbar .logo img {
    height: 50px; /* Dostosuj wysokość logo */
    width: auto; /* Automatyczne dopasowanie szerokości */
}


.navbar a {
    text-decoration: none;
    color: #2A306F; /* Ciemnoniebieski tekst na jasnym niebieskim tle hero */
    font-weight: bold;
}

.navbar a:hover, /* Zwykły hover na link */
.nav-links .dropdown:hover > a { /* Efekt hover, gdy kursor jest na dropdown lub jego menu */
    color: #FF5733; /* Jasny pomarańczowy */
    text-decoration: overline; /* Podkreślenie */
    border-radius: 5px; /* Zaokrąglenie rogów */
}

#dropdown-obszar {
    position: relative;
}

#dropdown-obszar ul {
    right: 0;
    width: 300px
}

.nav-links {
    list-style: none;
    display: flex;
    min-width: 701px;
    justify-content: space-around;
    padding: 0; /* Usunięcie domyślnego paddingu */
    margin: 0; /* Usunięcie domyślnego marginesu */
}

.nav-links li {
    margin-left: 1.5rem;
}

.menu-toggle {
    display: none; /* Domyślnie ukryte */
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    background-color: #2A306F; /* Kolor pasków */
    height: 3px;
    width: 25px;
    margin: 4px 0;
    transition: all 0.3s ease;
}

.logo a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Sekcja główna (Hero) */
.hero-section {
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-logo {
    margin:0 10px 0 0;
    width: 200px; /* Dostosuj szerokość logo */
    color: grey;
  display: inline-block;
  mask: linear-gradient(-60deg, #000 30%, #0005, #000 70%) right/350% 100%;
  animation: shimmer 4s infinite;
  font-size: 50px;
  max-width: 200px;
}


.counters-logo {
    margin: 0 10px 0 0;
    color: grey;
    display: inline-block;
    mask: linear-gradient(-60deg, #000 30%, #0005, #000 70%) right / 350% 100%;
    animation: shimmer 4s infinite;
}


.myslnik {
    margin: 0 10px 0 0;
}

@keyframes shimmer {
  100% {
    mask-position: left
  }
}


.hero-content {
    position: relative;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    max-width: 90%;
    margin: 0 auto;
    text-align: center;
    z-index: 10;
}

.hero-content h1,
.hero-content p,
.hero-content .cta-button {
    margin: 0.5rem 0;
    color: #fff;
}

.hero-content h1 {
    font-size: 2rem;
}

.hero-content p {
    font-size: 1.2rem;
}

.hero-content .cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #2A306F;
    color: #fff;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease;
}

.hero-content .cta-button:hover {
    background-color: #1d224a;
    transform: translateY(-3px);
}




.hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; /* Bold */
    font-size: 1.8rem; /* Dopasuj rozmiar */
    display: flex;
    position:relative;
    align-items: center; /* Wyśrodkowanie w pionie logo i tekstu */
    justify-content: center; /* Wyśrodkowanie w poziomie */
    text-align: center;
}

.hero-content p {
    font-family: 'Lora', serif;
    font-style: italic; /* Italic */
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.hero-content .highlight-word {
    margin: 0 0 0 10px;
    position: relative; /* Referencja dla pseudo-elementu */
    display: inline-block; /* Dopasowanie szerokości do tekstu */
}





.cta-button {
    background-color: #ff5733;
    color: #fff;
    padding: 0.75rem 2rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #e04e2b;
}

/* Sekcja Usług */
.services-section {
    padding: 4rem 2rem;
    background-color: #fff;
    text-align: center;
}

.services-section h2 {
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: #2A306F;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Maksymalnie 4 kolumny */
    gap: 2rem;
}

.service-cards a {
  text-decoration: none;
}

/* Media query dla mniejszych ekranów */
@media (max-width: 1024px) {
    .service-cards {
        grid-template-columns: repeat(3, 1fr); /* Maksymalnie 3 kolumny */
    }
}

@media (max-width: 768px) {
    .service-cards {
        grid-template-columns: repeat(2, 1fr); /* Maksymalnie 2 kolumny */
    }
}

@media (max-width: 480px) {
    .service-cards {
        grid-template-columns: 1fr; /* 1 kolumna na małych ekranach */
    }
}

.card {
    background-color: #f4f4f4;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.card-image {
    width: 100%;
    height: 200px; /* Możesz dostosować wysokość */
    object-fit: cover; /* Obraz wypełnia przestrzeń, zachowując proporcje */
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.card:hover .card-image {
    transform: scale(1.05);
}

.card h3 {
    margin-top: 1rem; /* Dodano odstęp od obrazka */
    margin-bottom: 1rem;
    background-color: #2A306F;
    width: fit-content;
    padding: 0 10px;
    border-radius: 10px;
    color: #fff;
}

.card p {
    color: #555;
}



.about-us {
    padding: 50px 20px 175px 20px;
    background-color: #fff;
    text-align: center;
  }
  
  .about-us h2 {
    color: #2A306F;
    font-size: 2.5em;
    margin-bottom: 50px;
    justify-content: center;
    display: flex;
    column-gap: 10px;
    align-items: baseline;
  }
  
  .about-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    row-gap: 100px;
    padding: 0 10px;
  }
  
  .about-column {
    padding: 20px;
    position:relative;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
  }

.about-column svg{
    fill: #2A306F1a;
    top: 50%;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.6);
}
  
#interface-light-rating-stars-2 .cls-1 {
    stroke: #2A306F1a;
}

  
.number {
    font-size: 2.5em;
    font-weight: bold;
    margin: 0 auto 10px;
    z-index: 1;
    position: relative;
    background-color: #2A306F;
    width: fit-content;
    padding: 0 10px;
    border-radius: 10px;
    color: #fff;
  }
  
  
  .about-columns p {
    margin: 5px 0;
    font-weight: bold;
  }
  
  .description {
    color: #2A306F;
  }
  
  .highlight {
    font-weight: bold;
    color: #27ae60;
  }
  
  .highlight:before {
    content: "✔ ";
    color: #27ae60;
  }
  
  

/* Sekcja kontaktu */
.contact-us {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
  }
  
  .contact-us h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #2A306F;
  }
  
  /* Kontener */
  .contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: flex-start;
  }
  
  /* Informacje kontaktowe */
  .contact-info {
    flex: 1 1 300px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: left;
  }
  
  .contact-info h3 {
    margin-bottom: 15px;
    font-size: 1.5em;
    background-color: #2A306F;
    width: fit-content;
    padding: 0 10px;
    border-radius: 10px;
    color: #fff;
  }
  
  .contact-info p, .contact-info ul {
    margin: 5px 0;
    color: #555;
    line-height: 1.6;
  }
  
  .contact-info ul {
    padding-left: 20px;
  }
  
  .contact-info a {
    color: #2A306F;
    text-decoration: none;
  }
  
  .contact-info a:hover {
    text-decoration: underline;
  }
  
  /* Formularz kontaktowy */
  .contact-form {
    flex: 1 1 400px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
  }
  
  .contact-form h3 {
    margin-bottom: 15px;
    font-size: 1.5em;
    background-color: #2A306F;
    width: fit-content;
    padding: 0 10px;
    border-radius: 10px;
    color: #fff;
  }
  
  .contact-form .form-group {
    margin-bottom: 15px;
  }
  
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
  }
  
  .contact-form button {
    background-color: #2A306F;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
  }
  
  .contact-form button:hover {
    background-color: #0056b3;
  }
  
  /* Kontener mapy */
.map-container {
    margin-top: 30px;
    text-align: center;
  }
  
  .map-container h3 {
    margin-bottom: 15px;
    font-size: 1.5em;
    color: #007bff;
  }
  
  .map-container iframe {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  /* Link do Facebooka */
.social-link {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    color: #4267B2;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .social-link:hover {
    color: #365899;
  }
  
  .social-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
  }
  

  
  /* Responsywność */
  @media (max-width: 768px) {
    .contact-container {
        max-width: 80%;
        margin: 0 auto;
        align-items: center;
    }
  
    .contact-info, .contact-form {
      max-width: 100%;
    }
  }
  

/* Stopka */
footer {
    display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
}

footer .logo-box {
    display: flex;
      padding: 20px;
}

.logo-footer {
    width: 200px;
    
}

.footer-direct {
    align-items: center;
      gap: 20px;
      margin: 0 20px;
      list-style: none;
      display: flex;
}

.footer-direct li {
    border-right: solid;
    border-color: red;
    padding: 0 20px 0 0;
}



.footer-direct a {
    text-decoration: none;
    transition: all 0.3s ease;
    color: #2A306F;
}

footer svg {
    width: 25px;
    vertical-align: sub;
    transition: all 0.3s ease;
}

footer svg:hover{ 
    fill: #FF5733
}
.footer-direct a:hover {
    color: #FF5733
}

footer p {
    flex: 0 1 100%;
    padding: 1.5rem;
    background-color: #2A306F;
    color: #fff;
    text-align: center;
}


 /* Stylizacja dropdown na urządzeniach mobilnych */
 @media (max-width: 991px) {
    .nav-links .dropdown-menu {
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 90%; /* Szerokość dopasowana do ekranu */
      max-width: 400px; /* Maksymalna szerokość */
      background: #fff;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      padding: 20px;
      text-align: center; /* Wyrównanie do środka */
      z-index: 1050;
      border-radius: 10px;
    }

    #dropdown-obszar ul {
        transform: translate(-50%, 0%);
        width: 90%;
        max-width: none;
    }

    #drop-obszary .dropdown-menu.show  {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .nav-links {
        display: none; /* Ukrywa menu */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        z-index: 100;
        min-width: 0;
        flex-direction: column;
        text-align: center;
    }
  
    .nav-links .dropdown-menu li {
      padding: 15px 0; /* Więcej przestrzeni między elementami */
    }
  
    .nav-links .dropdown-menu li a {
      font-size: 1em; /* Większa czcionka na małych ekranach */
    }

    .menu-toggle {
        display: flex; /* Pokazuje ikonę hamburgera */
        order: 2;
        display: flex;
        flex-direction: column;
        cursor: pointer;
        z-index: 101;
    }

    .nav-links.active {
        display: flex; /* Pokazuje menu po kliknięciu */
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0; /* Ukrywa środkową kreskę */
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }

    .navbar {
        flex-direction: row; /* Zapewnienie ułożenia obok siebie */
        justify-content: space-between; /* Logo po lewej, hamburger po prawej */
        padding: 10px 20px;
    }

    .nav-links li {
        margin: 1rem 0; /* Odstęp między linkami */
        text-align: center;
    }


  }

@media (max-width: 893px) {

    footer {
        justify-content: center;
    }

    footer p {
        margin-top: 20px;
    }
}


/* Responsywność */
@media (max-width: 768px) {
    .myslnik {
        display:none;
    }

    .hero-content {
        display: flex;
        flex-direction: column; /* Układ w kolumnie */
        align-items: center;
        padding: 1rem 0;
        margin: 0 500px;
    }

    .hero-content h1 {
        flex-wrap: wrap; /* Logo w osobnym wierszu */
    }

    .hero-logo {
        margin: 0 50px 1rem; /* Logo z odstępem na dole */
    }


    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }


    .cta-button {
        font-size: 0.9rem;
    }

    .about-us {
        padding: 50px 20px 100px 20px;
    }

    .about-us h2 {
        align-items: center;
        flex-direction: column;
    }

    .card-image {
        height: 150px; /* Zmniejszenie wysokości obrazków na mniejszych ekranach */
    }

    .map iframe {
        height: 300px;
    }


    .about-column svg {
        height: 150px;
    }

    .counters-logo {
        margin: 0;
    }

    .logo {
        order: 1; /* Logo pozostaje po lewej stronie */
    }


    .footer-direct {
        flex-direction: column;
        margin: 20px 0;
    }

    footer {
        flex-direction: column;
    }

    .footer-direct li {
        border: 0;
        padding: 0;        
    }

    .logo-box {
        justify-content: center;
    }
}
