* {
    font-family: "Barlow", sans-serif;
}
  .fade-in {
      opacity: 0; 
      animation: fadeIn 2s forwards; 
    }

    @keyframes fadeIn {
      to {
        opacity: 1; 
      }
    }
    nav{
        border-bottom: 1px solid black;
      }

      .hero-section {
        position: relative;
        height: 100vh;
        background: url('./pexels-martinpechy-1866149.jpg') center center / cover no-repeat;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
      }
      
      .hero-overlay {
        background-color: rgba(0, 0, 0, 0.6); /* ciemny overlay */
        padding: 3rem;
        text-align: center;
        color: #fff;
        animation: fadeSlideUp 1.5s ease-out both;
        border-radius: 1rem;
      }
      
      .hero-title {
        font-size: 3rem;
        font-weight: 700;
        margin-bottom: 1rem;
      }
      
      .hero-subtitle {
        font-size: 1.5rem;
        margin-bottom: 2rem;
        font-weight: 300;
      }
      
      .hero-btn {
        display: inline-block;
        padding: 0.75rem 2rem;
        background-color: #f47321;
        color: white;
        text-decoration: none;
        border-radius: 50px;
        font-weight: 600;
        transition: background 0.3s ease;
      }
      .hero-btn:hover {
        background-color: #d95d12;
      }
      
      /* animacja wejścia */
      @keyframes fadeSlideUp {
        from {
          opacity: 0;
          transform: translateY(40px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }
      .section-tiles {
        padding: 5rem 1rem;
        background-color: #f8f9fa;
      }
      
      .tile-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
      }
      
      .tile-box {
        position: relative;
        overflow: hidden;
        border-radius: 1rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        cursor: pointer;
      }
      
      .tile-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
      }
      
      .tile-box:hover img {
        transform: scale(1.1);
      }
      
      .tile-overlay {
        position: absolute;
        bottom: 0;
        background: rgba(0,0,0,0.6);
        width: 100%;
        padding: 1rem;
        text-align: center;
        color: white;
        font-weight: 600;
        font-size: 1.2rem;
        transition: background 0.3s ease;
      }
      
      .tile-box:hover .tile-overlay {
        background: rgba(0,0,0,0.8);
      }
      .benefits {
        padding: 5rem 1rem;
        background-color: #f8f9fa;
      }
      
      .benefit-stats {
        display: flex;
        justify-content: center;
        gap: 2rem;
      }
      
      .benefit-card {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        background-color: #fff;
        border-radius: 1rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        padding: 2rem;
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
      }
      
      .benefit-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);

      }
      
      .benefit-card h3 {
        font-size: 1.2rem;
        margin-top: 1rem;
        font-weight: 500;
      }
      
      .counter {
        font-size: 3rem;
        font-weight: 700;
        color: #f47321;
        margin-bottom: 0.5rem;
        transition: transform 1s ease-in-out;
      }
      
      /* Animacja odliczania */
      @keyframes countUp {
        from {
          transform: scale(0);
        }
        to {
          transform: scale(1);
        }
      }
      
      /* Animacja fade-in */
      @keyframes fadeInUp {
        from {
          opacity: 0;
          transform: translateY(40px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }
      
      .benefit-card {
        animation: fadeInUp 1s ease-out;
      }
      
      /* Animacja liczników */
      .counter[data-count]:after {
        content: attr(data-count);
        animation: count-up 3s forwards;
      }
      
      @keyframes count-up {
        0% { counter-reset: counter 0; }
        100% { counter-reset: counter var(--count); }
      }
      
      
.nav-link {
    font-weight: 500 !important;
}

.navbar-nav {
    align-items: center; 
   
}


.navbar-brand img {
    height: 60px; 
    padding-left: 25%;
}

.nav-link {
    font-size: 1.1rem;
    font-weight: 600;
}

.navbar-nav .facebook-icon {
    margin-left: auto; 
}
.navbar-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

@media (max-width: 991px) {
    .navbar-center {
        position: static;
        transform: none;
        left: auto;
    }
    .navbar-brand img {
    height: 60px; 
    padding-left: 5%;
}

}
.facebook-icon i {
    font-size: 3rem;
}

.obrazek-kontener {
    position: relative;
    width: 100%;
    height: 700px; /* Ustalona wysokość dla dużych ekranów */
    overflow: hidden;   
 
    display: flex;
    justify-content: center; 
    align-items: center;     
    text-align: center;
}

.obrazek-kontener img {
    width: 100%;
    height: 100%; /* Sprawia, że obrazek będzie wypełniał wysokość kontenera */
    object-fit: cover; /* Dostosowuje obrazek do kontenera, bez zniekształceń */
    position: absolute;
    left: 0;
    top: 0;
    will-change: transform;
    transition: transform 0.2s ease-out; /* Płynna animacja */
    transform: scale(1.1);
}

.obrazek-kontener::after {
    content: ""; 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); 
    pointer-events: none; 
}


.obrazek-kontener p {
    font-size: 2rem;
    font-family: "Barlow", sans-serif;
    font-weight: 400; 
    color: white; 
    margin: 0; 
    z-index: 1;
    letter-spacing: 4px;
}

.fade-in {
    opacity: 1;
    animation: fadeIn 2s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .obrazek-kontener {
        height: 500px; /* Dostosowanie wysokości do mniejszych ekranów */
    }

    .obrazek-kontener p {
        font-size: 1.5rem; /* Zmniejszenie tekstu na mniejszych ekranach */
    }
}


.fade-in {
    opacity: 0;
    animation: fadeIn 2s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

  .responsive-div {
    
    max-width: 800px;
    width: 90%;
    padding-top: 9%;
    border-radius: 10px;
    text-align: center;
    margin: auto;
}

.responsive-div h1 {
    font-size: 2.1rem;
    color: #333;
    margin-bottom: 10px;
}

.responsive-div p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .responsive-div h1 {
        font-size: 1.5rem;
    }

    .responsive-div p {
        font-size: 0.9rem;
    }
}
  
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    width:90%;
    padding-top: 6%;
    margin: auto;
    margin-bottom: 10%;
}

.tile {
    margin: auto;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    overflow: hidden;
    width: 275px;
}

.tile img {
    width: 100%;
    height: 200px;
    display: block;
}

.tile p {
    font-size: 1rem;
    color: #555;
    padding: 10px;
    margin: 0;
}

@media (max-width: 600px) {
    .tile p {
        font-size: 0.9rem;
    }
}

.process-step {
    text-align: center;
    color: white;
}
.process-box {
    background-color: #000;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.process-box h5 {
    margin-top: 10px;
    font-weight: bold;
    color: #FFD700;
}
.step-number {
    font-size: 1.5rem;
    color: #FFD700;
    font-weight: bold;
    margin-top: 10px;
}
.line {
    width: 100%;
    height: 2px;
    background-color: #FFD700;
    margin-top: 20px;
}
#o-nas {
      position: relative;
      overflow: hidden;
    }

    #o-nas::before {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      width: 50%; /* Rozmiar ukosu */
      height: 100%;
      transform: skewX(-10deg); /* Ukośny efekt */
      transform-origin: top right;
      z-index: 0;
    }
    /* Zapewnienie odpowiedniego ułożenia elementów */
    #o-nas .container {
      position: relative;
      z-index: 1; /* Treść na wierzchu ukosu */
    }
    @media (max-width:768px){
        #o-nas::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%; /* Rozmiar ukosu */
            height: 100%;
            transform: skewX(0deg); /* Ukośny efekt */
            z-index: 0;
          }
    }
    #guzik-rozwin:hover{
        background-color: black;

    }   
    .zalety {
        position: relative;
        color: white;
        overflow: hidden; 
        padding: 5%;
    }
    
    .zalety .background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('./Photos/scianka_meblowa.jpg') no-repeat center center;
        background-size: cover;
        z-index: 1;
        filter: brightness(50%); 
    }
    
    .zalety .bla,
    .zalety .row {
        position: relative;
        z-index: 2; 
    }
    
   .zalety .info {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out; 
}

.zalety .info.slide-from-left {
    transform: translateX(-100px);
}

.zalety .info.slide-from-right {
    transform: translateX(100px);
}

.zalety .info.visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

.zalety .fs-1 {
    transition: all 0.3s ease;
}
@media (max-width: 768px) {
    .zalety .info {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
    }
    
    .tile {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
    
    .fade-in {
        opacity: 1 !important;
        animation: none !important;
    }
}
   
.responsive-div {
    text-align: center;
    margin-bottom: 30px;
}




.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 20px;
    padding: 20px;
}


.tile {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    opacity: 0; 
    transform: translateX(100%); 
    animation: slideInRight 0.8s ease-out forwards;
}


.tile:nth-child(1) {
    animation-delay: 0.2s;
}

.tile:nth-child(2) {
    animation-delay: 0.4s;
}

.tile:nth-child(3) {
    animation-delay: 0.6s;
}

.tile:nth-child(4) {
    animation-delay: 0.8s;
}


@keyframes slideInRight {
    from {
        transform: translateX(100%); 
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}


.tile img {
    width: 100%;
    height: auto;
    border-bottom: 2px solid #ddd;
}


.tile p {
    padding: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 1rem;
    background-color: #f8f8f8;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%); 
        opacity: 0;
    }
    to {
        transform: translateX(0); 
        opacity: 1;
    }
}


.slide-in {
    animation: slideInRight 1s forwards; 
}



