/* ===  USTAWIENIA CZCIONEK === */
@font-face {
    font-family: 'TT Modernoir';
    src: url('TT_Modernoir_Regular.ttf') format('truetype');
    font-weight: normal; /* 400 */
    font-style: normal;
}

@font-face {
    font-family: 'TT Modernoir';
    src: url('TT_Modernoir_Bold.ttf') format('truetype');
    font-weight: bold; /* 700 */
    font-style: normal;
}
/* === RESET I USTAWIENIA GLOBALNE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    background-color: #000;
    color: #fff;
    font-family: 'TT Modernoir', Arial, sans-serif;
    overflow: hidden; 
}

/* === GŁÓWNY KONTENER NA STRONY === */
main {
    display: flex;
    width: 400vw; 
    height: 100vh;
    transition: transform 0.8s ease-in-out;
}

/* === POJEDYNCZA PODSTRONA (SEKCJA) === */
.page {
    width: 100vw;
    height: 100vh;
    padding: 100px 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
}

/* === LOGO (NA WIERZCHU) === */
.logo-fixed {
    position: fixed;
    top: 2px;
    right: 50px;
    z-index: 100;
    width: 20%; 
}

.logo-fixed img {
    width: 100%;
    height: auto;
    display: block; 
}

/* === NAWIGACJA GÓRNA (KONTENER) === */
.main-nav {
    position: fixed;
    top: 0px;
    left: 0;
    right: 0;
    z-index: 90;
    display: flex;
    justify-content: center;
    background-color: #fff;
    padding: 35px 35px;
}

/* === KONTENER LINKÓW W MENU === */
.nav-links-container {
    display: flex;
    gap: 140px; 
    position: relative;
    left: -20%; 
}

/* === LINKI W NAWIGACJI === */
.main-nav a {
    color: #000;
    text-decoration: none;
    font-size: 1.5rem; 
    text-transform: uppercase;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 15px; 
}
.main-nav a:hover, .main-nav a.active {
    color: #777;
}

/* === IKONA NABOJU W MENU === */
.nav-bullet {
    height: 0.66rem; 
    width: auto;
    display: block;
    filter: invert(1); /* Czarny na białym tle */
    opacity: 0; 
    /* Domyślnie przesunięty i obrócony */
    transform: translateX(-80px); 
    transition: transform 0.1s ease-out, opacity 0.2s ease-in;
}

/* Stan aktywny naboju w menu */
.main-nav a.active .nav-bullet {
    opacity: 1; 
    transform: translateX(0) ; /* Dolatuje na miejsce */
}

/* === NAWIGACJA STRZAŁKAMI (NABOJE) === */
.page-nav {
    position: fixed;
    bottom: 120px; 
    left: 35%;
    transform: translateX(-50%);
    z-index: 90;
    display: flex;
    gap: 750px;
}

.nav-arrow {
    width: 45px; 
    cursor: pointer;
    user-select: none;
    transition: transform 0.2s, opacity 0.3s;
}
.nav-arrow img {
    width: 100%;
    height: auto;
    display: block; 
    /* Biały na czarnym tle (bez filtra) */
}

#nav-left img {
    transform: scaleX(-1);
}

.nav-arrow:hover {
    transform: scale(1.1); 
}

.nav-arrow.hidden {
    opacity: 0.2;
    pointer-events: none;
}

/* === STYLE DLA POSZCZEGÓLNYCH SEKCJI === */

.page h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.page p {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 700px;
}

.offer-list {
    list-style: none;
    font-size: 1.5rem;
    line-height: 2.5;
}
.offer-list li::before {
    content: "►";
    margin-right: 15px;
    font-size: 1rem;
    display: inline-block;
    vertical-align: middle;
}

/* === SEKCJA KONTAKT === */
.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    width: 100%;
}

.contact-info {
    flex: 1;
}

.map-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-image {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    transition: opacity 0.3s;
}
.map-image:hover {
    opacity: 0.8;
}

.contact-form-wrap {
     margin-top: 40px;
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    background-color: #000;
    border: none;
    color: #fff;
    font-size: 1rem;
    font-family: 'TT Modernoir', Arial, sans-serif; 
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #777;
    opacity: 1;
}

.submit-button-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.contact-submit-btn {
    background: none;
    border: none;
    color: #fff;
    font-family: 'TT Modernoir', Arial, sans-serif;
    font-size: 1.5rem;
    text-transform: uppercase;
    cursor: pointer;
    padding: 10px; /* Zwiększony obszar klikania */
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: color 0.3s;
}

.contact-submit-btn:hover {
   color: #777; 
}

/* Ta klasa nadpisuje filtr z .nav-bullet */
.submit-bullet-style {
    filter: none; /* Biały na czarnym tle */
}

.contact-submit-btn:hover .nav-bullet {
    opacity: 1;
    transform: translateX(0);
}

/* === Stopka === */
footer {
    position: fixed;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: 50;
    font-size: 0.8rem;
    color: #000;
    background-color: #fff;
    padding: 35px 35px;
    text-align: center;
    left: -40%; 
}


/* =========================================== */
/* ===           RESPONSYWNOŚĆ (RWD)       === */
/* =========================================== */

/* Ustawiamy breakpoint dla typowych smartfonów (np. poniżej 768px) */
@media (max-width: 768px) {
    
    /* Zmniejszamy paddingi na stronach, żeby tekst się mieścił */
    .page {
        padding: 80px 40px;
    }

    .page h1 {
        font-size: 2rem; /* Mniejsze nagłówki */
    }
    .page p {
        font-size: 1rem;
    }
    .offer-list {
        font-size: 1.2rem;
    }

    /* Logo - zmieniamy na stałą szerokość, żeby nie było za małe */
    .logo-fixed {
        width: 100px;
        right: 5px;
    }

    /* === POPRAWKA MENU MOBILE === */
    .main-nav {
        padding: 20px;
        justify-content: flex-start; /* Przesuwa menu do lewej */
    }
    .nav-links-container {
        left: 0; /* Resetuje pozycję z desktopa */
        gap: 20px; /* Zmniejsza odstępy */
        /* Usunięte 'justify-content' i 'width' */
    }
    /* === KONIEC POPRAWKI === */

    .main-nav a {
        font-size: 0.9rem; /* Mniejsza czcionka menu */
        gap: 8px;
    }
    .nav-bullet {
        height: 0.4rem;
        transform: translateX(-40px);
    }
    .main-nav a.active .nav-bullet {
        transform: translateX(0);
    }
    
    /* Dolne naboje - przybliżamy do siebie */
    .page-nav {
        left: 50%; /* Centrujemy kontener */
        gap: 200px; /* Znacznie mniejszy odstęp */
        width: 90%;
        justify-content: space-between; /* Rozsuwamy na boki */
        transform: translateX(-50%); /* Centrowanie */
    }

    /* Stopka - naprawiamy ucięcie */
    footer {
        left: 0; /* Stopka na całą szerokość */
        padding: 20px;
        font-size: 0.7rem;
    }

    /* Strona Kontakt - układ kolumnowy */
    .contact-container {
        flex-direction: column; /* Ustawiamy elementy pod sobą */
        gap: 30px;
    }
    .map-container {
        /* Przenosimy mapę na górę */
        order: -1; 
    }
    .contact-form-wrap {
        margin-top: 20px;
    }
    .contact-submit-btn {
        font-size: 1.2rem;
    }
}