/* =========================================
   1. RESET I PODSTAWOWE STYLE
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: #ffffff;
    color: #111111;
    line-height: 1.6;
    overflow-x: hidden; /* Zapobiega pojawieniu się poziomego paska przewijania podczas animacji */
}

/* --- ANIMACJE (Klasy wspierające JavaScript) --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px); /* Elementy na start są przesunięte w dół o 40px */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0); /* Płynnie wracają na swoje miejsce */
}


/* =========================================
   2. NOWY PASEK NAWIGACJI (DESKTOP + MOBILE)
   ========================================= */

/* Główny kontener paska */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    border-bottom: 1px solid #eeeeee;
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Logo (Powiększone) */
.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo img {
    max-height: 60px;
    width: auto;
    display: block;
}

/* Wrapper na menu i kontakt */
.nav-menu {
    display: flex;
    flex: 1;
    justify-content: space-between;
    align-items: center;
}

/* Wyśrodkowanie linków */
.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
}

/* WYGLĄD LINKÓW W MENU */
.nav-links a {
    color: #555555;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #000000;
    font-weight: bold;
}

/* Prawa strona z kontaktem */
.nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-contact {
    display: flex;
    flex-direction: column;
    text-align: right;
    font-size: 0.9rem;
}

.nav-contact a {
    color: #555555;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-contact a:hover {
    color: #000000;
}

/* Wygląd hamburgera (domyślnie ukryty na komputerach) */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: #000000;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* === RESPONSYWNOŚĆ MENU (TELEFONY I TABLETY) === */
@media (max-width: 1024px) {
    .navbar {
        padding: 15px 20px;
    }

    .hamburger {
        display: flex; /* Pokazujemy hamburgera na mobile */
    }

    /* Ukrywamy menu domyślnie i tworzymy "szufladę" */
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        border-bottom: 1px solid #eeeeee;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    }

    /* Klasa dodawana przez skrypt JS rozwija menu */
    .nav-menu.is-active {
        display: flex;
        animation: fadeInMenu 0.3s ease-in-out;
    }

    .nav-center {
        width: 100%;
        margin-bottom: 20px;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 20px;
    }

    .nav-right {
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 15px;
        border-top: 1px solid #eeeeee;
        padding-top: 20px;
    }

    .nav-contact {
        text-align: center;
        font-size: 1.1rem;
    }

    /* Animacja X na hamburgerze */
    .hamburger.is-active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .hamburger.is-active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.is-active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

@keyframes fadeInMenu {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}


/* =========================================
   3. PRZYCISKI I GŁÓWNE ELEMENTY STRONY
   ========================================= */

/* Przyciski */
.booking-btn, .cta-btn {
    background-color: #000000;
    color: #ffffff;
    border: 2px solid #000000;
    padding: 12px 25px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.booking-btn:hover, .cta-btn:hover {
    background-color: #ffffff;
    color: #000000;
    transform: translateY(-2px);
}

.cta-btn {
    font-size: 18px;
    padding: 15px 40px;
    margin-bottom: 40px;
}

/* Sekcja Główna (Hero) */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 60px;
}

.price-hook {
    display: inline-block;
    background-color: #f4f4f4;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    border: 1px solid #e0e0e0;
}

.price-hook strong {
    color: #000000;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    color: #555555;
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* Kontener na system Booqable */
.booking-system-container {
    width: 100%;
    max-width: 900px;
    margin: 40px auto 0;
    min-height: 200px;
}

/* Sekcja O nas */
.about-us {
    background-color: #000000;
    color: #ffffff;
    padding: 100px 20px;
    text-align: center;
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
}

.about-us h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.about-us p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #cccccc;
}

.about-us p strong {
    color: #ffffff;
}

/* Sekcja z cechami (Features) */
.features {
    display: flex;
    justify-content: space-between;
    padding: 80px 50px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.feature-card {
    flex: 1;
    padding: 40px 30px;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666666;
}

/* Stopka */
footer {
    text-align: center;
    padding: 40px;
    border-top: 1px solid #eeeeee;
    font-size: 0.9rem;
    color: #888888;
}

/* Responsywność dla urządzeń mobilnych (Elementy ze str. głównej) */
@media (max-width: 900px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .features {
        flex-direction: column;
        padding: 40px 20px;
    }
    .about-us {
        padding: 60px 20px;
    }
}


/* =========================================
   4. NOWOŚĆ: STYLE DLA PAKIETÓW (PRICING CARDS)
   ========================================= */

.packages-section {
    padding: 80px 20px;
    background-color: #fafafa;
}

.packages-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.packages-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.packages-header p {
    font-size: 1.15rem;
    color: #666666;
}

.packages-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.package-card {
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* Wyróżniony pakiet MOBILE */
.featured-package {
    border: 2px solid #000000;
    transform: scale(1.02);
}

.featured-package:hover {
    transform: scale(1.02) translateY(-10px);
}

.package-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #000000;
    color: #ffffff;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.package-header {
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 20px;
    margin-bottom: 25px;
}

.package-header h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #000000;
}

.target-audience {
    font-size: 0.95rem;
    color: #555555;
    line-height: 1.5;
}

.package-content {
    flex-grow: 1;
}

.package-content h4 {
    font-size: 1.1rem;
    margin: 20px 0 10px 0;
    color: #000000;
}

.package-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.package-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #444444;
    line-height: 1.4;
}

.package-list li::before {
    content: '•';
    color: #000000;
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

.check-list li::before {
    content: '✓';
    color: #000000;
    font-weight: bold;
}

.package-btn {
    width: 100%;
    margin-top: 30px;
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .package-card:last-child {
        grid-column: 1 / -1;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .packages-grid {
        grid-template-columns: 1fr;
    }
    .featured-package {
        transform: none;
    }
    .featured-package:hover {
        transform: translateY(-10px);
    }
    .package-card:last-child {
        grid-column: auto;
    }
}


/* =========================================
   5. ORYGINALNE STYLE PODSTRON (np. O nas)
   ========================================= */

/* Ciemny nagłówek podstrony */
.page-header {
    background-color: #000000;
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.page-header p {
    font-size: 1.2rem;
    color: #cccccc;
}

/* Główny kontener tekstowy */
.text-content {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333333;
}

.text-content p {
    margin-bottom: 25px;
}

/* Siatka z priorytetami (Grid) */
.values-grid {
    display: flex;
    gap: 30px;
    margin: 50px 0;
}

.value-item {
    flex: 1;
    padding: 25px;
    border-left: 3px solid #000000;
    background-color: #fafafa;
}

.value-item h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #000000;
}

.value-item p {
    font-size: 1rem;
    margin-bottom: 0;
    color: #555555;
}

/* Sekcja z widgetem na podstronach */
.widget-section {
    text-align: center;
    padding: 80px 20px;
    background-color: #ffffff;
    border-top: 1px solid #eeeeee;
}

.widget-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.widget-section > p {
    font-size: 1.2rem;
    color: #666666;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .values-grid {
        flex-direction: column;
        gap: 20px;
    }
    .page-header h1 {
        font-size: 2.2rem;
    }
}


/* =========================================
   6. STYLE PODSTRONY: OFERTA
   ========================================= */

.intro-text {
    text-align: center;
    padding: 60px 20px 20px;
}

.text-container {
    max-width: 800px;
    margin: 0 auto;
}

.intro-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.intro-text p {
    font-size: 1.15rem;
    color: #555555;
    line-height: 1.8;
}

.equipment-showcase {
    padding: 60px 20px 80px;
    background-color: #ffffff;
}

.equipment-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.equipment-details {
    flex: 1;
}

.equipment-details h3 {
    font-size: 2.5rem;
    margin-bottom: 5px;
    letter-spacing: -1px;
}

.equipment-details .subtitle {
    font-size: 1.2rem;
    color: #666666;
    margin-bottom: 25px;
    font-weight: 500;
}

.equipment-details .description {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
    color: #444444;
}

.specs-list {
    list-style: none;
    padding: 0;
}

.specs-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    font-size: 1rem;
    color: #333333;
    line-height: 1.5;
}

.specs-list li::before {
    content: '■';
    color: #000000;
    position: absolute;
    left: 0;
    top: -1px;
    font-size: 14px;
}

@media (max-width: 900px) {
    .equipment-container {
        flex-direction: column;
        gap: 40px;
    }
}


/* =========================================
   7. STYLE PODSTRONY: JAK ZAMÓWIĆ
   ========================================= */

.steps-section {
    padding: 80px 20px;
    background-color: #fafafa;
}

.steps-container {
    max-width: 1000px;
    margin: 0 auto 50px auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.step-card {
    background-color: #ffffff;
    padding: 40px 30px;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 4rem;
    font-weight: 900;
    color: #ffffff;
    -webkit-text-stroke: 2px #000000;
    opacity: 0.2;
    z-index: 1;
}

.step-card:hover .step-number {
    opacity: 1;
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    padding-top: 10px;
}

.step-card p {
    color: #555555;
    position: relative;
    z-index: 2;
    line-height: 1.6;
}

.action-buttons {
    text-align: center;
}

.block-btn {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .steps-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}


/* =========================================
   8. STYLE PODSTRONY: KONTAKT
   ========================================= */

.contact-section {
    padding: 80px 20px;
    background-color: #ffffff;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.contact-info > p {
    color: #555555;
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.info-blocks {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    border-left: 3px solid #000000;
    padding-left: 20px;
}

.info-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-item p {
    color: #444444;
    font-size: 1.2rem;
}

.contact-form-wrapper {
    flex: 1.2;
    background-color: #ffffff;
    padding: 50px 40px;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.03);
}

.floating-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group-row {
    display: flex;
    gap: 30px;
}

.form-group-row .floating-group {
    flex: 1;
}

.floating-group input,
.floating-group textarea {
    width: 100%;
    padding: 10px 0;
    font-size: 1rem;
    color: #111;
    background: transparent;
    border: none;
    border-bottom: 2px solid #dddddd;
    outline: none;
    transition: border-bottom-color 0.3s ease;
    resize: vertical;
}

.floating-group label {
    position: absolute;
    top: 10px;
    left: 0;
    color: #888888;
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

.floating-group input:focus,
.floating-group textarea:focus {
    border-bottom-color: #000000;
}

.floating-group input:focus ~ label,
.floating-group input:not(:placeholder-shown) ~ label,
.floating-group textarea:focus ~ label,
.floating-group textarea:not(:placeholder-shown) ~ label {
    top: -15px;
    font-size: 0.8rem;
    color: #000000;
    font-weight: bold;
}

.submit-btn {
    width: 100%;
    font-size: 1.1rem;
    padding: 18px;
    border-radius: 6px;
}

.submit-btn:disabled {
    background-color: #555555;
    cursor: not-allowed;
    transform: none;
}

.form-response {
    display: none;
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
}

.success-msg {
    background-color: #e6f7eb;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.error-msg {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

@media (max-width: 900px) {
    .contact-container {
        flex-direction: column;
    }
    .form-group-row {
        flex-direction: column;
        gap: 0;
    }
    .contact-form-wrapper {
        padding: 30px 20px;
    }
}


/* =========================================
   9. STYLE DLA ZDJĘĆ PRODUKTU
   ========================================= */

.equipment-image {
    background-color: transparent;
    border: none;
    min-height: auto;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.equipment-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.hero-img {
    max-width: 100%;
    width: 600px;
    height: auto;
    margin: 10px auto 40px auto;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    display: block;
}

@media (max-width: 768px) {
    .hero-img {
        width: 90%;
        margin-bottom: 30px;
    }
    .equipment-image {
        width: 100%;
    }
}