/* Reset */
* {
    margin: 0px;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Gradient kolorów pasujących do logo */
:root {
    --gradient: linear-gradient(90deg, #ff00ff, #00ffff);
}

/* Przycisk otwierający modal */
.open-btn {
    margin: 50px auto;
    padding: 24px 36px;
    font-size: 24px;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    background: var(--gradient);
    color: white;
    transition: 0.3s;
    display: block;
}
.open-btn:hover {
    background: #005fcc;
}

/* Tło modala */
.modal {
    display: none; /* ukryte domyślnie */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Okno modala */
.modal-content {
    background: white;
    padding: 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    text-align: left;
    position: relative;
    animation: fadeIn 0.5s;
}

/* Animacja */
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}

/* Zamknij (X) */
.close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 22px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

/* Form */
form label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 10px;
    border-radius: 6px;
    border: 2px solid #ddd;
    font-size: 16px;
}

form button {
    margin-top: 15px;
    width: 100%;
    padding: 10px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 13px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}
form button:hover {
    background: #005fcc;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    border-bottom: 2px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 150px;
}

nav {
    position: relative;
    margin: 30px;
}

.menu {
    display: flex;
    list-style: none;
    margin: 20px;
}

.menu li {
    margin-left: 20px;
}

.menu li a {
    font-size: 20px;
    padding: 20px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s;
    margin: 10px;
}

.menu li a:hover {
    background: -webkit-linear-gradient(#ff00ff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
}



.heroo {
    text-align: center;
    padding: 150px 20px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.heroo h1 {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 80px;
    margin-top: 10px;
}

.heroo h2 {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 46px;
    margin-top: 10px;
    margin-bottom: 60px;
}
.heroo p {
     background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 24px;
    margin-bottom: 20px;
    
}
#tekst{
    width: 55px;
}





.social-icons {
      display: flex;
      gap: 60px;
      display: flex;
      justify-content: center; /* poziome wyśrodkowanie */
      align-items: center;     /* pionowe wyśrodkowanie */
      margin: 0;
     
    }

    .social-icons a svg {
      width: 40px;
      height: 40px;
      fill: rgb(247, 1, 255); /* kolor ikon */
      transition: fill 0.3s;
      width: 60px;   /* ← tutaj możesz zwiększyć rozmiar, np. 80px */
  height: 60px;
    }

    .social-icons a:hover svg {
      fill: rgb(0, 179, 255); /* kolor po najechaniu */
    }










#confetti {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* konfetti nie przeszkadza w klikaniu */
    z-index: 999;
}

h1, p {
    text-align: center;
    margin-top: 50px;
}




















/* Hero section */
.hero {
    text-align: center;
    padding: 150px 80px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
}

.xD {
    padding: 50px 20px;
   
    margin: 0 auto;
}

.xD p{
    margin: 40px;
}

    .ppp {
        margin: 20px;
        text-align: center;
       
        color: #000000;
        
    }



#about {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* dwa zdjęcia w rzędzie */
    gap: 10px;
    justify-items: center; /* wyśrodkowanie w komórkach */
}

#about p {
    text-align: center;
    margin: 20px;
}

#about img {
    width: 100%;
    height: auto;
    display: block;
}

/* Dla ekranów mobilnych */
@media (max-width: 768px) {
    #about {
        grid-template-columns: 1fr; /* jedno zdjęcie w wierszu */
    }
}
#about h2 {
    text-align: center;
    margin-bottom: 10px; /* odstęp między nagłówkiem a tekstem */
}

#about p {
    text-align: center;
    margin: 0 0 20px 0; /* odstęp poniżej tekstu */
}

/* Opinie */
#opinie, #ocen, #about, #realizacje {
    padding: 50px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.opinia {
    background-color: #f0f0f0;
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 8px;
}

/* Nasze realizacje */
.realizacja {
    text-align: center;
    margin-top: 20px;
}

.realizacja img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    margin: 20px;
}
.p_klient {
  margin: 15px;
  color: #333;
  font-style: italic;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    border-radius: 6px;
    background: var(--gradient);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}

footer p {
    font-weight: normal;
}

footer h3 {
    padding: 10px;
    font-weight: normal;
}
footer .social-icons {
    margin: 15px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

footer .social-icons a svg {
    transition: transform 0.3s, fill 0.3s;
}

footer .social-icons a:hover svg {
    transform: scale(1.2);
    fill: #ffd700; /* opcjonalnie zmiana koloru przy hover */
}

/* Responsive */
@media (max-width: 768px) {
    .menu {
        flex-direction: column;
        display: none;
        position: absolute;
        right: 0;
        top: 60px;
        background-color: #fff;
        width: 200px;
        border: 1px solid #ddd;
        border-radius: 8px;
    }

    .menu li {
        margin: 10px 0;
    }

    #menu-toggle:checked + .hamburger + .menu {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .hero {
        padding: 120px 20px;
    }

    .hero h1 {
        font-size: 45px;
    }

    .hero p {
        font-size: 16px;
    }
}