/* FontAwesome font-display swap override */
@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-solid-900.woff2') format('woff2');
}

:root {
    --font-primary: 'Barlow', sans-serif;
    --font-heading: 'Rajdhani', sans-serif;
    --primary: #FFC107;
    --primary-dark: #E0A800;
    --dark-bg: #0a192f;
    --dark-surface: #112240;

    --dark-surface-2: #233554;
    --light-bg: #F8FAFC;
    --light-surface: #FFFFFF;
    --text-light: #F5F5F5;
    --text-muted: #A0A0A0;
    --text-dark: #0F172A;
    --text-dark-muted: #475569;
    --light-border: rgba(15, 23, 42, 0.08);
    --glass-bg: rgba(17, 34, 64, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.highlight {
    color: var(--primary);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary);
    color: #0a192f;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: #0a192f;
    transform: translateY(-2px);
}

.btn-nav {
    background-color: var(--primary);
    color: #0a192f;
    padding: 8px 20px;
}

.btn-nav:hover {
    background-color: var(--primary-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.dark-section {
    background-color: var(--dark-surface);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-img {
    height: 40px;
    width: auto;
    border-radius: 4px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a:not(.btn) {
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.nav-phone {
    color: var(--primary) !important;
    font-weight: 700 !important;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-phone i {
    font-size: 0.95rem;
}

@media (max-width: 1100px) and (min-width: 769px) {
    .nav-links {
        gap: 15px;
    }
    .logo {
        font-size: 1.25rem;
    }
}


/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--dark-bg);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    min-width: 150px;
    padding: 10px 0;
    list-style: none;
    z-index: 1100;
    margin-top: 15px;
}

/* Arrow tip for dropdown */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background-color: var(--dark-bg);
    border-left: 1px solid var(--glass-border);
    border-top: 1px solid var(--glass-border);
}

/* Invisible hover bridge to prevent menu from disappearing in the gap */
@media (min-width: 769px) {
    .dropdown-menu::after {
        content: '';
        position: absolute;
        top: -20px;
        left: 0;
        width: 100%;
        height: 20px;
        background: transparent;
    }
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-muted) !important;
    font-size: 0.9rem !important;
    text-align: center;
    transition: var(--transition);
    font-weight: 500 !important;
}

.dropdown-menu li a::after {
    display: none !important; /* Remove the underline effect from dropdown items */
}

.dropdown-menu li a:hover {
    color: var(--primary) !important;
    background-color: rgba(255, 255, 255, 0.03);
}

.dropdown-menu li.dropdown-info {
    padding: 10px 20px;
    color: var(--primary) !important;
    font-size: 0.9rem !important;
    text-align: center;
    font-weight: 600 !important;
    cursor: default;
    user-select: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .dropdown-menu li.dropdown-info {
        padding: 12px 20px;
        font-size: 0.95rem !important;
    }
}

/* Hover trigger for Desktop */
@media (min-width: 769px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}

/* Mobile styles for dropdown */
@media (max-width: 768px) {
    .dropdown {
        width: 100%;
        text-align: center;
    }
    
    .dropdown-toggle {
        justify-content: center;
    }

    .dropdown-menu {
        position: static;
        display: none;
        transform: none;
        box-shadow: none;
        background-color: rgba(255, 255, 255, 0.02);
        border: none;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 0;
        width: 100%;
        margin-top: 10px;
        padding: 5px 0;
    }

    .dropdown-menu::before {
        display: none;
    }

    .dropdown-menu li a {
        padding: 12px 20px;
        font-size: 0.95rem !important;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav-actions {
    display: none;
    align-items: center;
    gap: 15px;
}

.btn-call-mobile {
    background-color: var(--primary);
    color: #0a192f !important;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
    transition: var(--transition);
    border: none;
}

.btn-call-mobile:hover, .btn-call-mobile:active {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.6);
}

.btn-call-mobile i {
    font-size: 0.9rem;
    animation: phone-shake 1.5s infinite;
}

@keyframes phone-shake {
    0% { transform: rotate(0); }
    10% { transform: rotate(-15deg); }
    20% { transform: rotate(15deg); }
    30% { transform: rotate(-15deg); }
    40% { transform: rotate(15deg); }
    50% { transform: rotate(0); }
    100% { transform: rotate(0); }
}

.hero-scroll-wrapper {
    height: 200vh;
    position: relative;
}

/* Hero Section */
.hero {
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(circle at center, #112240 0%, var(--dark-bg) 100%);
}

.sky-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-bg);
    background-image:
        radial-gradient(circle at 50% 50%, rgba(10, 25, 47, 0.6) 0%, rgba(10, 25, 47, 0.95) 100%),
        linear-gradient(rgba(255, 193, 7, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 193, 7, 0.07) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 100px 100px, 100px 100px, 20px 20px, 20px 20px;
    background-position: center center;
    z-index: 1;
}

.crane-system {
    position: absolute;
    z-index: 10;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 12vh;
    pointer-events: none;
}

/* Crane Animations */
@keyframes levitate {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.crane-boom {
    position: absolute;
    top: calc(12vh - 35px);
    left: calc(50% + 11px);
    /* Skorygowane, aby rolki i lina wychodziły dokładnie z tego samego punktu */
    width: 80vw;
    height: 70px;
    transform-origin: left center;
    transform: rotate(35deg);
    /* Default rotation */
    z-index: 10;

    background-image:
        radial-gradient(circle, #555 10%, #222 40%, #000 60%, transparent 65%),
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(0, 0, 0, 0.85) 10px, rgba(0, 0, 0, 0.85) 20px),
        linear-gradient(to bottom, #555 0%, #777 10%, #333 48%, #111 50%, #222 90%, #000 100%),
        linear-gradient(to bottom, #555 0%, #777 10%, #333 48%, #111 50%, #222 90%, #000 100%),
        linear-gradient(to bottom, #d4a000 0%, #ffcc00 10%, #e6b800 48%, #997a00 50%, #cca300 90%, #665200 100%),
        linear-gradient(to bottom, #cca300 0%, #f4c522 10%, #d4a000 48%, #806600 50%, #b38f00 90%, #4d3d00 100%),
        linear-gradient(to bottom, #b38f00 0%, #e6b800 10%, #cca300 48%, #665200 50%, #997a00 90%, #332900 100%);

    background-position:
        73vw 10px,
        /* pivot */
        0% 20px,
        /* paski */
        30vw 10px,
        /* kołnierz 1 */
        65vw 1px,
        /* kołnierz 2 */
        0% 20px,
        /* tip */
        30vw 12px,
        /* middle */
        65vw 3px;
    /* base */

    background-size:
        50px 50px,
        /* pivot */
        10vw 30px,
        /* paski */
        2vw 50px,
        /* kołnierz 1 */
        2vw 68px,
        /* kołnierz 2 */
        30vw 30px,
        /* tip */
        35vw 46px,
        /* middle */
        35vw 64px;
    /* base */

    background-repeat: no-repeat;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.7));
}

/* Rolki na końcu ramienia (podwójna rolka ustawiona pionowo względem wierzchołka wysięgnika) */
.crane-pulley {
    position: absolute;
    width: 28px;
    height: 28px;
    background:
        radial-gradient(circle at center, #111 12%, transparent 15%),
        radial-gradient(circle at center, #95a5a6 20%, #7f8c8d 35%, #2c3e50 80%, #000 100%);
    border-radius: 50%;
    border: 3px solid #111;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.9), 0 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 12;
    left: -14px;
    /* Wycentrowane na wierzchołku */
}

.pulley-top {
    top: 6px;
}

.pulley-bottom {
    top: 36px;
}

/* Siłownik hydrauliczny podnoszący ramię */
.crane-boom::after {
    content: '';
    position: absolute;
    left: 45vw;
    top: 55px;
    width: 30vw;
    height: 18px;
    /* Tłok (srebrny), uszczelka (czarna) i cylinder (granatowo-szary) */
    background: linear-gradient(to right,
            #d0d3d4 0%, #7f8c8d 10%, #bdc3c7 35%,
            #111 35%, #111 37%,
            #2c3e50 37%, #34495e 40%, #1a252f 90%, #000 100%);
    border-radius: 9px;
    border: 1px solid #111;
    transform-origin: left center;
    transform: rotate(8deg);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.7);
    z-index: -1;
}

/* GRUPA ŁADUNKU (hero */
.crane-load-group {
    position: absolute;
    left: 0;
    width: 100%;
    top: 12vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: auto;
}

.crane-line {
    position: relative;
    z-index: 5;
    width: 4px;
    background: repeating-linear-gradient(0deg,
            #444,
            #444 10px,
            #222 10px,
            #222 20px);
    height: var(--line-length, 45vh);
    transition: height 0.1s ease-out;
    will-change: height;
}

.crane-hook {
    width: 60px;
    height: 120px;
    position: relative;
    margin-top: -6px;
    z-index: 15;
    display: flex;
    justify-content: center;
    align-items: center;
}

.crane-hook-svg {
    display: block;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

.hero-container-box {
    margin-top: -10px;
    background: rgba(17, 34, 64, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 193, 7, 0.4);
    border-top: 6px solid var(--primary);
    border-radius: 12px;
    padding: 60px;
    max-width: 800px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 193, 7, 0.1);
    animation: levitate 6s ease-in-out infinite;
    position: relative;
    z-index: 20;
}

/* Crane Initial and Animation States (JS-controlled) */
body.crane-animating .crane-line {
    height: 85vh;
    transition: none;
}

body.crane-animating .hero-container-box {
    animation: none;
}

/* Phase 2: Cable winds up / hoist hero container */
body.crane-phase-2 .crane-line {
    height: var(--line-length, 45vh);
    transition: height 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}

body.crane-phase-2 .hero-container-box {
    animation: none;
}



.container-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.container-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Usługi */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    background-color: var(--dark-surface);
    border-radius: 8px;
    padding: 40px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--primary);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleY(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-image-box {
    width: 100%;
    height: 200px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-card:hover .service-card-img {
    transform: scale(1.05);
}


.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.service-card ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-muted);
}

.service-card ul li i {
    color: var(--primary);
    margin-top: 5px;
    font-size: 0.9rem;
}

/* Flota Tabs */
.tabs-container {
    background-color: var(--dark-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.tabs-buttons {
    display: flex;
    flex-wrap: wrap;
    background-color: var(--dark-surface-2);
}

.tab-btn {
    flex: 1;
    min-width: 120px;
    padding: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.tab-btn:hover {
    color: var(--text-light);
    background-color: rgba(255, 255, 255, 0.02);
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background-color: var(--dark-bg);
}

.tabs-content {
    padding: 40px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pane-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.pane-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.pane-text p {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.specs li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
}

.specs li span {
    font-weight: 600;
    color: var(--text-light);
}

.pane-image {
    width: 100%;
}

.chart-placeholder {
    background-color: var(--dark-surface-2);
    border-radius: 8px;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    border: 2px dashed rgba(255, 255, 255, 0.1);
}

.chart-placeholder i {
    font-size: 4rem;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.2);
}

/* Galeria */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.gallery-item {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    border-color: var(--primary);
    z-index: 2;
    position: relative;
}

.gallery-item.placeholder {
    background-color: var(--dark-surface-2);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.1);
}

.gallery-item.placeholder:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background-color: var(--dark-surface);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-info {
    padding: 50px;
    background: linear-gradient(135deg, var(--dark-surface-2) 0%, var(--dark-surface) 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-info h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.contact-info>p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 5px;
}

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

.info-item p {
    color: var(--text-muted);
}

.contact-form {
    padding: 50px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background-color: var(--dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text-light);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.2);
}

.btn-block {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
}

.form-status {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    display: none;
}

.form-status.success {
    display: block;
    background-color: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid #28a745;
}

.form-status.error {
    display: block;
    background-color: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid #dc3545;
}

/* Footer */
footer {
    background-color: #020c1b;
    padding: 40px 0 30px 0;
    text-align: center;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-locations {
    margin-bottom: 25px;
}

.footer-locations h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.locations-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 25px;
    max-width: 900px;
    margin: 0 auto;
}

.locations-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    border-bottom: 1px dashed transparent;
}

.locations-links a:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin: 25px 0;
}


/* Floating Contact Button */
.floating-contact-btn {
    position: fixed;
    bottom: -100px;
    /* domyslnie schowany */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: none;
    white-space: nowrap;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    align-items: center;
    gap: 10px;
}

.floating-contact-btn.show {
    bottom: 30px;
}

.floating-contact-btn:hover {
    transform: translateX(-50%) translateY(-2px);
    /* zachowanie centrowanie podczas hovera */
}

.floating-contact-btn:active {
    transform: translateX(-50%) translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .pane-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 30px;
    }

    .contact-form {
        padding: 30px;
    }

    .hero-container-box {
        padding: 40px;
        width: 90%;
    }

    .container-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {

    /* Globalne pomniejszenie strony na telefonach */
    html {
        font-size: 14px;
        /* Zmniejsza bazę dla wszystkich wymiarów w 'rem' */
    }

    .section {
        padding: 50px 0;
        /* Mniejsze przerwy między sekcjami */
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(18, 18, 18, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 25px 0;
        z-index: 1000;
        gap: 20px;
        align-items: center;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        list-style: none;
    }

    .nav-links a:not(.btn) {
        display: block;
        width: 100%;
        padding: 10px 0;
    }

    .nav-links .btn-nav {
        display: inline-block;
        width: 80%;
        max-width: 250px;
        padding: 12px 20px;
        margin: 10px 0;
    }


    .mobile-nav-actions {
        display: flex;
    }

    .hamburger {
        display: block;
    }


    /* Optymalizacja Hero pod Mobile */
    .hero-scroll-wrapper {
        height: 200vh;
    }

    .hero {
        min-height: auto;
        height: 100dvh;
    }

    /* Optymalizacja Galerii pod Mobile */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* Optymalizacja Formularza pod Mobile */
    .contact-wrapper {
        gap: 0;
    }

    .contact-info,
    .contact-form {
        padding: 20px;
    }

    .info-item {
        margin-bottom: 15px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px;
    }

    .btn-block {
        padding: 12px;
    }

    .hero-container-box {
        padding: 25px;
        width: 100%;
        max-width: 95vw;
    }

    /* Pływający Przycisk */
    .floating-contact-btn {
        display: flex;
    }

    .container-content h1 {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .container-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        padding: 12px;
    }
}

/* Dokumentacja Techniczna Slider */
.tech-docs-slider {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.slider-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    margin-bottom: 15px;
}

.slider-arrow {
    background-color: var(--dark-surface-2);
    color: var(--text-light);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: absolute;
    z-index: 5;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    outline: none;
}

.slider-arrow:hover {
    background-color: var(--primary);
    color: #000;
}

.slider-arrow.prev {
    left: -15px;
}

.slider-arrow.next {
    right: -15px;
}

.tech-slider-container {
    display: flex;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 15px;
    width: 100%;
}

.tech-doc-img {
    flex: 0 0 100%;
    scroll-snap-align: center;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: top center;
    border-radius: 8px;
    cursor: zoom-in;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.tech-doc-img:hover {
    border-color: var(--primary);
    transform: scale(1.02);
}

.btn-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 95%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    animation: zoomIn 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10000;
}

.lightbox-close:hover {
    color: var(--primary);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.5rem;
    width: 60px;
    height: 60px;

    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    user-select: none;
    z-index: 10000;
}

.lightbox-arrow:hover {
    background: var(--primary);
    color: var(--text-dark);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.4);
}

.lightbox-arrow.prev {
    left: 30px;
}

.lightbox-arrow.next {
    right: 30px;
}

@media (max-width: 768px) {
    .lightbox-arrow {
        width: 45px;
        height: 45px;
        font-size: 35px;
    }

    .lightbox-arrow.prev {
        left: 15px;
    }

    .lightbox-arrow.next {
        right: 15px;
    }
}


@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-surface-2);
    color: var(--text-light);
    padding: 15px 20px;
    z-index: 9999;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
    border-top: 1px solid var(--primary);
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content p {
    font-size: 0.9rem;
    margin: 0;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    white-space: nowrap;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
}

.checkbox-group label a {
    color: var(--primary);
    text-decoration: underline;
}

.footer-link {
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

.light-section {
    background-color: var(--light-bg);
    color: var(--text-dark);
}

.light-section .section-header h2 {
    color: var(--text-dark);
}

.light-section .section-header p {
    color: var(--text-dark-muted);
}

.light-section .service-card {
    background-color: var(--light-surface);
    border: 1px solid var(--light-border);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.light-section .service-card h3 {
    color: var(--text-dark);
}

.light-section .service-card ul li {
    color: var(--text-dark-muted);
}

.light-section .service-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
}

.light-section .service-image-box {
    border-color: rgba(0, 0, 0, 0.08);
}

.light-section .icon-box {
    background-color: rgba(255, 193, 7, 0.15);
}

.light-section .gallery-item {
    border: 2px solid rgba(0, 0, 0, 0.05);
}

.light-section .gallery-item:hover {
    border-color: var(--primary);
}

.light-section a:not(.btn) {
    color: var(--text-dark);
}

.light-section a:not(.btn):hover {
    color: var(--primary-dark);
}

.light-section .service-card ul li i {
    color: #B45309;

}

.seo-text-block {
    max-width: 900px;
    margin: 60px auto 0 auto;
    text-align: justify;
    line-height: 1.8;
    background-color: var(--light-surface);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--light-border);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.seo-text-block p {
    color: var(--text-dark-muted);
    font-size: 1.05rem;
    margin-bottom: 15px;
}

.seo-text-block p:last-child {
    margin-bottom: 0;
}

.seo-text-block strong {
    color: var(--text-dark);
}

/* Dodatkowe sekcje SEO */
.seo-details-section {
    border-top: 1px solid var(--light-border);
    padding-top: 60px;
    padding-bottom: 60px;
}

.seo-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 60px;
}

.seo-row:last-child {
    margin-bottom: 0;
}

.seo-row.reverse {
    flex-direction: row-reverse;
}

.seo-col-text {
    flex: 1.2;
}

.seo-col-text h2 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.seo-col-text h3 {
    font-size: 1.2rem;
    color: #B45309;
    margin-bottom: 20px;
    font-family: var(--font-primary);
    text-transform: none;
    font-weight: 600;
    letter-spacing: 0;
}

.seo-col-text p {
    color: var(--text-dark-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.seo-col-text p:last-child {
    margin-bottom: 0;
}

.seo-col-image {
    flex: 0.8;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--light-border);
    height: 350px;
}

.seo-col-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.seo-col-image:hover img {
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .seo-row {
        flex-direction: column !important;
        gap: 30px;
        margin-bottom: 50px;
    }
    
    .seo-col-image {
        width: 100%;
        height: 280px;
    }
}

/* Zabezpieczony adres e-mail */
a.protected-email {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

a.protected-email:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Clickable Phone Links */
a.phone-link {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 600;
}

a.phone-link:hover {
    color: #ffffff;
    text-decoration: underline;
}