* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Open Sans', sans-serif;
}

:root {
    --text-color: #fff;
    --bg-color: #000;
    --main-color: #ffa343;

    --h1-font: 6rem;
    --h2-font: 3rem;
    --p-font: 1rem;
}

body {
    color: var(--text-color);
    background: var(--bg-color);
}

header {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    background-color: rgba(255, 255, 255, 0);
    background-image: linear-gradient(360deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 1) 110%, rgba(255, 255, 255, 0) 100%), url();
    background-size: auto;
    background-position: left top;
    background-repeat: repeat;
    padding: 27px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: all .50s ease;
}

.logo {
    font-size: 30px;
    color: var(--text-color);
    font-weight: 700;
    transition: all .30s ease;
    display: flex;
}

.logo:hover {

    transform: scale(1.02);
}

span {
    color: var(--main-color);
}

.plus {
    margin-top: 6px;
    border-left: 0.5px #ffa343 dashed;
    color: white;
    font-size: 17px;
}

.navbar {
    display: flex;

}

.navbar a {
    color: var(--text-color);
    font-size: var(--p-font);
    font-weight: 500;
    margin: 15px 22px;
    transition: all .50s ease;
}

.navbar a:hover {
    color: var(--main-color);

}

.h-right {
    display: flex;
    align-items: center;
}

/*.h-right a:first-child {
    color: var(--text-color);
    font-size: var(--p-font);
    margin-right: 20px;
}*/
.h-right a {
    vertical-align: middle;
    font-size: 25px;
    color: var(--text-color);
    margin-right: 18px;
    margin-left: 5px;
    transition: all .50s ease;
}

.h-right a:hover {
    color: var(--main-color);
    transform: translateY(-1px);
}

#menu-icon {
    color: var(--text-color);
    font-size: 35px;
    cursor: pointer;
    display: none;
}

section {
    padding: 70px 17% 100px;
}

/* Sekcja home */
.home {
    position: relative;
    height: 100vh;
    width: 100%;
    background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.865983893557423) 0%, rgba(0, 0, 0, 0.4542191876750701) 23%, rgba(159, 159, 159, 0) 74%), linear-gradient(81deg, rgba(0, 0, 0, 0.865983893557423) 5%, rgba(0, 0, 0, 0.4542191876750701) 29%, rgba(159, 159, 159, 0) 74%), url(tengrai_image_1735855834_956546.png);
    background-size: cover;
    background-position: bottom center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Kontener na tekst */
.home-text {
    color: white;
    max-width: 800px; /* Ustalamy szerokość tekstu */
    text-align: left;
    padding: 0 20px; /* Dodanie przestrzeni po bokach */
    animation: fadeIn 1.5s ease-out;
}

/* Nagłówek H4 */
.home-text h4 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ffa343;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

/* Nagłówek H1 */
.home-text h1 {
    font-size: 72px; /* Mniejszy rozmiar dla lepszej responsywności */
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.6);
    color: #fff;
}

/* Tekst opisowy */
.home-text p {
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    margin-bottom: 40px;
    color: #ffffff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

/* Przycisk */
.btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #ffa343;
    font-size: 18px;
    font-weight: 600;
    border: 2px solid #ffa343;
    border-radius: 50px; /* Zaokrąglony przycisk */
    transition: transform 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    transform: scale(1.1);
    background-color: #ffa343;
    color: #000;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

/* Animacja fade-in */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


.menu-icon {
    display: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
  }
header.sticky {
    padding: 8px 8%;
    background: transparent;
    backdrop-filter: blur(32px);
}

.text-center {
    margin-bottom: 50px;
    text-align: center;
}

.text-center h4 {
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .7px;
    margin-bottom: 5px;
}

.text-center h2 {
    font-size: var(--h2-font);
    font-weight: 700;
    line-height: 1.2;
}



.s-offer {
    width: 100%;
    margin: 50px auto;
    background-color: #000000;
    padding: 80px 80px;
    display: flex;
    align-items: center;
}

.offer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.offer-text {
    padding: 0 50px;
    width: 100%;
    align-items: center;
}

.offer-image img {
    border: 2px solid #ff8c00;
    object-fit: cover;
    height: 460px;
    width: 90%;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.offer-text h1 {
    text-align: left;
    font-size: 2.5rem;
    color: #ffffff;
}

.offer-text p {
    color: #ffffff;
    line-height: 1.6;
    margin: 20px 0;
}

.offer-text h2 {
    font-size: 1.8rem;
    color: #ffa443;
    margin-top: 20px;
}

.offer-benefits {
    list-style: none;
    padding: 0;
}

.offer-benefits li {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #ffffff;
    margin: 10px 0;
}

.icon-check {
    background-color: #ffa443;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    display: inline-block;
    margin-right: 10px;
}
.juz {
    color: #ff8c00;
}
.oferta1 {
    padding: 100px 130px;
}
.oferta-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(255px, auto));
    gap: 2rem;
    margin-top: 80px;
    text-align: center;
    word-wrap: normal;
}
.row h3 {
    color: var(--main-color);
}

.s-img {
    align-items: top;
    width: 100%;
    margin-bottom: 10px;
    overflow: hidden;
    border-radius: 10% 30%;
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
}

.s-img img {
    height: 300px;
    object-fit: cover;
    display: block;
    width: 100%;
    transition: transform 0.6s;
    cursor: pointer;
}

.s-img img:hover {
    transform: scale(0.9);
}


.row h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

.row p {
    font-size: var(--p-font);
    font-weight: 300;
    line-height: 30px;
    color: white;
}

.s-opinie {
    width: 100%;
    margin: auto;
    padding-top: 100px;
    text-align: center;
    background-color: #000;
    color: #ffa443;
}

.s-opinie h1 {
    font-size: var(--h2-font);
    margin-bottom: 10px;
    color: #ffa443;
}

.opinie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.test-opinie {
    background-color: #1a1a1a;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.2s;
    color: #fff;
}

.test-opinie:hover {
    transform: translateY(-5px);
}

.test-opinie img {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 2px solid #ffa443;
}

.test-opinie p {
    font-size: 16px;
    color: #e9e8e8;
    line-height: 1;
    position: relative;
}

.test-opinie p .quote-mark {
    font-size: 28px;
    color: #ffa443;
}

.test-opinie h4 {
    margin-top: 10px;
    font-size: 18px;
    color: #ffa443;
    font-weight: bold;
}

.tabela--cennik {
    margin: 0 auto;
    border-bottom: 2px solid #ffa343;
    width: 100%;
}

#cennik h1 {
    font-size: var(--h2-font);
    text-align: center;
    margin: 20px 0;
}

.tabela--cennik th {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 16px;
    border-top: 2px solid #ffa343;
    border-bottom: 2px solid #ffa343;
    text-align: center;
}

.tabela--cennik td {
    border-bottom: 1px solid #ffa343;
    text-align: center;
    padding: 7px;
}
.opis_cennik1 {
    margin: 20px auto;
    font-size: 15px;
    font-weight: 200;
    color:#adacac;
}


/* Główne style formularza */
#rental-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background-color: #000;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(255, 163, 67, 0.2);
    color: #fff;
    text-align: left;
}

/* Tytuł */
.tytul--wynajem {
    text-align: center;
    margin: 150px 0 30px;
    font-size: var(--h2-font);
    color:#ffa343;
}


/* Styl inputów i selectów */
input,
select,
.oblicz-button {
    width: 100%;
    padding: 12px 15px;
    margin: 15px 0;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    box-sizing: border-box;
    background-color:#ffa343;
    color: #000;
    font-weight: bold;
    transition: 0.3s;
}
.oblicz-button:hover {
    cursor: pointer;
}



/* Wynik */
#result {
    margin-top: 30px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #ffa343;
}


.s-why {
    margin: 0 80px;
    background-color: #000;
    color: #ffa443;
    padding: 80px 20px;
    text-align: center;
}

.s-why h1 {

    color: #ffa443;
    margin-bottom: 40px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.why-item {
    background-color: #1a1a1a;
    padding: 17px 15px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: transform 0.2s;
}

.why-item:hover {
    transform: translateY(-5px);
}

.why-item i {
    font-size: 40px;
    color: #ffa443;
    margin-bottom: 15px;
}

.why-item h3 {
    color: #ffa443;
    margin: 10px 0;
}

.why-item p {
    color: #ddd;
    line-height: 1.6;
}

.s-counters {
    background-color: #121212;
    color: #fff;
    padding: 80px 20px;
    text-align: center;
    margin: 20px auto;
}

.s-counters h1 {
    font-size: 36px;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffa343;
}

/* Grid styl */
.counters-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Każda "karta" */
.counter-item {
    background: linear-gradient(145deg, #ffa343, #ff8c00);
    padding: 35px 30px;
    border-radius: 20px;
    box-shadow:
        0 10px 20px rgba(0, 0, 0, 0.3),
        inset 0 -2px 5px rgba(255, 255, 255, 0.1),
        inset 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 220px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.counter-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow:
        0 15px 25px rgba(0, 0, 0, 0.4),
        inset 0 -2px 5px rgba(255, 255, 255, 0.1),
        inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Liczba */
.counter {
    font-size: 48px;
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

/* Opis */
.counter-item p {
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}




.contact-section {
    align-items: flex-start;
    margin:20px auto;
    display: flex;
    padding: 50px 25%;
    justify-content: space-between;
}
.contact-container {
    text-align: center;
}
.contact-container strong {
    font-weight: 760;
    color: #ff8c00;
}
.contact-container a  {
    font-weight: 760;
    color: #ff8c00;
    text-decoration: none;
}

footer {
    margin: 0 auto;
    border-top: 1px solid white;
    background-color: #000;
    /* Czarny kolor tła */
    color: #fff;
    /* Biały kolor tekstu */
    padding: 20px 400px;
    /* Odstępy wewnętrzne */
    width: 100%;
}

.footer-container {
    font-size: 15px;
    display: flex;
    /* Elastyczny układ, dostosowuje się do szerokości ekranu */
    justify-content: space-between;
    /* Elementy rozłożone równomiernie */
    align-items: top;
    /* Wyrównanie do góry */
    gap: 0px;
    /* Odstępy między sekcjami */
    align-items: center;
}

.footer-logo .logo h1 {
    font-size: 40px;
    /* Duży rozmiar tekstu */
    font-weight: 700;
    /* Gruba czcionka */
    text-transform: uppercase;
    /* Wielkie litery */
    letter-spacing: 2px;
    /* Odstępy między literami */
    margin: 0;
    /* Usuń domyślne marginesy */
    color: #fff;
    /* Biały kolor tekstu */
}

.footer-logo .logo h1 span {
    color: #ff8c00;
    font-weight: 400;
    /* Cieńsza czcionka dla wyróżnienia */
}


.footer-locations h4 {
    font-size: 1.2em;
    /* Rozmiar nagłówka */
    margin-bottom: 8px;
    /* Odstęp poniżej nagłówka */
}

.footer-locations p {
    margin: 5px 0;
    /* Małe odstępy między liniami tekstu */
    line-height: 1.5;
    /* Lepsza czytelność */
}

.galeria {
    padding: 50px 5%;
    background-color: #121212;
}

/* Główne opakowanie */
.gallery-container {
    margin: 0 auto;
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 600px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(255, 163, 67, 0.15);
}

/* Galeria przesuwana */
.gallery {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.gallery-item {
    cursor: pointer;
    width: 100%;
    flex: 0 0 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

/* Przycisk nawigacji */
.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 163, 67, 0.7);
    color: #000;
    border: none;
    cursor: pointer;
    padding: 14px 18px;
    font-size: 26px;
    font-weight: bold;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
    z-index: 10;
}

.nav:hover {
    background: #ffa343;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

/* X do zamknięcia lightboxa */
.close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

/* Responsywność */
@media (max-width: 768px) {
    .gallery-container {
        height: 300px;
    }

    .nav {
        padding: 10px 14px;
        font-size: 20px;
    }

    .close {
        top: 20px;
        right: 20px;
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .gallery-container {
        height: 250px;
    }

    .nav {
        padding: 8px 12px;
        font-size: 18px;
    }
}

.contact-sections {
    width: 90%;
    margin: 0 auto;
    padding: 20px 10%;
}
.contact-section {
    border-left: 2px solid #ff8c00;
    border-right: 0px solid #ff8c00;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
}

.contact-info {
    width: 40%;
}

.contact-info h2 {
    font-size: 40px;
    margin-bottom: 10px;
}
.contact-info p {
    margin: 20px auto;
    font-size: 20px;
}
.contact-info strong {
    color: #ff8c00;
    font-weight: 700;
}

.contact-info a {
    font-weight: 700;
    display: block;
    text-decoration: none;
    color: #ff8c00;
    font-size: 18px;
    margin-bottom: 10px;
}

.contact-info button {
    background: #28a745;
    color: white;
    padding: 10px 20px;
    font-size: 18px;
    border: none;
    cursor: pointer;
    margin-bottom: 10px;
}

.contact-info button:hover {
    background: #218838;
}

.map-container {
    width: 60%;
}


/* Domyślny styl dla ekranów desktopowych */

/* Ekrany poniżej 1024px (Tablety) */
@media (max-width: 1024px) {
    header {
      padding: 10px 4%;
    }
    .navbar {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        position: absolute;
        top: 42px;
        left: 0;
        width: 100%;
        border-radius: 0 0 12px 12px;
        transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
        z-index: 999;
    }
    
    .navbar.show {
        max-height: 500px; /* zależnie od liczby linków, można zwiększyć */
        opacity: 1;
    }
    
    .navbar a {
        padding: 14px 0;
        margin: 0;
        font-size: 18px;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: white;
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .navbar a:hover {
        color: #00BFFF;
    }

    .offer-container{
        gap: 0;
        margin: 0 auto;
    }
    .offer-text{
        width: 100%;
        align-items: center;
        margin: 0 auto;
    }
  .offer-image img{
    display: none;
    width: 100%;
  }
  
  
    .menu-icon {
      display: block;
    }
  
  
    .footer{
        padding: 30px 130px;
    }
    .footer-container {
        gap: 50px;
    }
  
  }
  
  /* Ekrany poniżej 768px (Urządzenia mobilne) */
  @media (max-width: 800px) {
    section {
        padding: 20px 12%;
    }
    header {
        gap:0;
        padding: 5px 5%;
        width: 100%;
    }
    .navbar {
        height: 200px;
        overflow: hidden;
        opacity: 0;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.889);
        position: absolute;
        top: 42px;
        left: 0;
        width:200px;
        border-radius: 0 0 12px 12px;
        transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
        z-index: 999;
    }
    
    .navbar.show {
        width: 200px;
        padding: 10px 0;
        gap:6px;
       height: 200px;
        opacity: 1;
    }
    
    .navbar a {
        padding: 1px 10px;
        margin: 10px 20px;
        font-size: 18px;
        text-align: center;
        border-bottom: 2px solid rgba(255, 166, 0, 0.259);
        color: white;
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .navbar a:hover {
        color:#ffa343;
    }
    
    .logo {
      font-size: 10px;
      }
.home {
    background-size:auto;
    text-align: center;
    padding: 10px 15px;
}
      .home-text h4{
        padding: 1px 10px;
        font-size: 12px;
        font-weight: 700;
      }
      .home-text h1 {
        padding: 1px 10px;
        font-size: 34px;
      }
      .home-text p {
        padding: 1px 10px;
        font-size: 19px;
        font-weight: 450;
      }
      .btn {
        padding: 10px 15px;
        font-size: 12px;
      }
      .s-offer {
        text-align: center;
    align-items: center;
        width: 98%;
        margin: 60px auto;
        padding: 10px 20px;
      }
      .offer-container {
        display: flex;
        width: 100%;
        align-items: center;
        gap: 0;
        padding: 0;
        margin: 0 auto;
      }
      .offer-text {
        width: 100%;
        margin: 0 auto;
        padding: 0 0;
        text-align: center;
      }
      .offer-text h1 {
        text-align: center;
        font-size: 24px;
      }
      .offer-text p {
        font-size: 17px;
      }
      .offer-text h2 {
        margin: 60px auto;
        margin-bottom: 20px;
      }
      .offer-benefits {
        padding: 0;
        text-align: left;
        margin: 28px auto;
      }
      .s-why{
        text-align: center;
        width: 100%;
        margin:20px auto;
        padding: 20px 5px;
      }
      .why-item{
        margin: 10px auto;
        text-align: center;
        width: 90%;
      }
      .s-counters {
        margin: 40px auto;
        text-align: center;
        width: 100%;
        padding: 0;
      }
      .counter-item {
        height: 63px;
        width: 50%;
        padding:5px 1px;
      }
      .counter {
        font-size: 12px;
        font-weight: 400;
      }
      .counter-item p {
        font-size: 12px;
      }
      .counters-grid {
        width: 90%;
        flex-direction: row;
        gap: 20px;
        margin:10px auto;
        align-items: center;
      }
      .tytul--wynajem {
        font-size: 38px;
      }
      #rental-form {
        padding: 10px 20px;
        width: 95%;
        text-align: center;
        margin: 0 auto;
      }

      
      
      
      .offer-image img {
        display: none;
      }
      .oferta1 {
        margin: 100px auto;
        padding: 10px 10px;
      }
      .row {
        margin: 30px auto;
      }
     
      .text-center{
        margin: 20px auto;
      }
      .text-center h2 {
        margin:15px auto;
        font-size: 26px;
      }
      .text-center p {
        font-size: 13px;
      }
      .oferta-content {
        padding: 0;
      }
      .sekcja-cennik {
        margin: 10px auto;
        width: 100%;
      }
      .tabela--cennik {
        padding: 0;
        margin: 10px 0;
      }
      .tabela--cennik th{
        font-size: 12px;
      }
    .s-opinie {
        padding:100px 10px;
    }
    .contact-sections{
        padding: 0;
        margin: 0;
    }
    .contact-section {
        width: 100%;
        flex-direction: column;
    }
    .contact-info{
        width: 100%;
    }
    .map-container {
        width: 100%;
    }
    .map-container iframe {
        width: 100%;
    }
    footer {
        padding: 5px 1px;
        width: 100%;
    }
    .footer-container{
        width: 100%;
        padding: 0;
    }
    .footer-logo{
        display:none;
   
    }
    .footer-locations {
        padding: 0;
        width: 100%;
        margin:0 auto;
        text-align: center;
    }
  }
  
  /* Ekrany poniżej 480px (Smartfony) */
  @media (max-width: 480px) {
    body {
      font-size: 14px;
    }
  
    .logo {
      font-size: 18px;
    }
  
    .navbar a {
      font-size: 16px;
    }
    .footer{
        padding: 10px 10px;
    }
  }
  