/* Animacje */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-in-out forwards;
}

.slide-in {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideIn 1s ease-in-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Sekcja główna */
.hero {
    text-align: center;
    padding: 100px 5%;
    background: url('hero-bg.jpg') no-repeat center center/cover;
    color: white;
}

.hero h1 {
    font-size: 32px;
    margin-bottom: 10px;
    color: black;
}

/* Chmurki na sekcje */
.cloud-box {
    background: #d4ebf2;
    padding: 20px;
    border-radius: 25px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 800px;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cloud-box:hover {
    transform: scale(1.05);
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.2);
}

/* Galeria */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
    justify-items: center;
}

.gallery-grid .cloud-box {
    width: 100%;
    height: 200px;
}

.wirtualny_spacer{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Sekcja GALERIA */
.gallery {
    /* Możesz dodać własne animacje fade-in itp. */
    margin: 0 auto;
    max-width: 1200px; /* szerokość kontenera, możesz dostosować */
    padding: 40px 20px;
  }
  
  .gallery h1 {
    text-align: center;
    margin-bottom: 30px;
  }
  
  /* Siatka na zdjęcia */
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px; /* odstęp między elementami */
    justify-items: center; /* wyśrodkowanie chmurek w kolumnach */
  }
  
  /* Wygląd pojedynczej "chmurki" */
  .cloud-box.contact-box {
    background: #d4ebf2;
    border-radius: 25px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.1);
    width: 200px;  /* szerokość "chmurki" */
    height: 150px; /* wysokość "chmurki" */
    display: flex; /* umożliwia centrowanie treści w pionie i poziomie */
    align-items: center;
    justify-content: center;
    text-align: center;
    /* padding wewnątrz, jeśli potrzebujesz */
    padding: 10px;
  }
  
  .line_adaptacja {
    width: 100%;
    height: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .line_30 {
    width: 25%;
    height: 4px;
    background-color: #4aa3df;
    margin-top: 10px;
  }