@charset "utf-8";


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    button[type="submit"] {
        font-family: inherit;
        font-size: 16px;
    }
}
body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(
        135deg,
        #0c0c0c 0%,
        #1a1a2e 15%,
        #16213e 35%,
        #0f3460 50%,
        #533a7d 70%,
        #8b5a8c 85%,
        #a0616a 100%
    );
    min-height: 100vh;
    overflow-x: hidden;
}
/* Animated background elements */
.bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}
.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
}
.shape:nth-child(1) {
    width: 120px;
    height: 80px;
    border-radius: 15px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    transform: rotate(15deg);
}
.shape:nth-child(2) {
    width: 90px;
    height: 140px;
    border-radius: 12px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    transform: rotate(-20deg);
}
.shape:nth-child(3) {
    width: 100px;
    height: 60px;
    border-radius: 10px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
    transform: rotate(25deg);
}
.shape:nth-child(4) {
    width: 80px;
    height: 120px;
    border-radius: 8px;
    top: 10%;
    right: 30%;
    animation-delay: 1s;
    transform: rotate(-10deg);
}
.shape:nth-child(5) {
    width: 110px;
    height: 70px;
    border-radius: 14px;
    bottom: 40%;
    right: 20%;
    animation-delay: 3s;
    transform: rotate(30deg);
}
.shape:nth-child(6) {
    width: 95px;
    height: 95px;
    border-radius: 20px;
    top: 40%;
    left: 5%;
    animation-delay: 5s;
    transform: rotate(-15deg);
}
@keyframes float {
    0%,
    100% {
        transform: translateY(0px) rotate(var(--start-rotation, 0deg));
    }
    50% {
        transform: translateY(-20px)
            rotate(calc(var(--start-rotation, 0deg) + 180deg));
    }
}
/* Glass container styles */
.glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.glass:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}
/* Header styles */
header {
    padding: 20px;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
}
.container h2 {
    font-size: 2.5rem;
    color: white;
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
/* Navigation styles */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 45px;
}
.logo {
    font-size: 32px;
    font-weight: bold;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}
.logo-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-icon img {
    width: 500%;
    height: 180%;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.number {
    font-size: 35px;
}

.phone-link {
    color: inherit; /* Przyjmuje kolor tekstu otoczenia */
    text-decoration: none; /* Usuwa podkreślenie */
    cursor: default;
}

.logo:hover .logo-icon svg {
    transform: scale(1.1) translateY(-2px);
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.4));
}
.nav-links {
    display: flex;
    gap: 30px;
}
.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 12px 24px 13px 24px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}
.nav-links a:hover,
.nav-links a.active {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
/* Page system */
.page {
    display: none;
    min-height: 100vh;
    padding: 40px 20px 20px;
}
.page.active {
    display: block;
}
/* Content wrapper to contain page content */
.content-wrapper {
    min-height: calc(100vh - 300px);
}



/* Home page styles */
.hero {
    padding: 15px; 
    margin-bottom: 40px;
    display: flex;
}

/* Kontener karuzeli definiuje wysokość elementu */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: 20px;
    overflow: hidden;
}

/* Wspólne style dla każdego slajdu */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* Domyślnie slajdy są niewidoczne */
    opacity: 0; 
    
    /* Każdy slajd wykonuje animację trwającą łącznie 7.5 sekundy (3 slajdy x 2.5s) */
    animation: crossfade 7.5s infinite ease-in-out;
}

/* Opóźnienia dla poszczególnych slajdów, aby pojawiały się po kolei */
.slide:nth-child(1) {
    animation-delay: 0s;
}
.slide:nth-child(2) {
    animation-delay: 2.5s;
}
.slide:nth-child(3) {
    animation-delay: 5s;
}

/* Style zdjęcia wewnątrz slajdu */
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Filtr przyciemniający dla każdego slajdu */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Styl nagłówka */
.hero h1 {
    position: absolute;
    z-index: 2;
    font-size: 2.8rem;
    color: white;
    text-align: center;
    margin: 0;
    padding: 20px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    line-height: 1.2;
    max-width: 80%;
    transform: translateY(-30px); /* Delikatne podniesienie tekstu do góry */
}

.cta-button {
    position: absolute;
    bottom: 40px; /* Odstęp od dolnej krawędzi kafelka */
    left: 50%;
    transform: translateX(-50%); /* Idealne wyśrodkowanie w poziomie */
    z-index: 10; /* Wyższy z-index, aby przycisk był zawsze na wierzchu i dał się kliknąć */
    
    /* Twoje oryginalne style przycisku */
    display: inline-block;
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

/* Efekt najechania (hover) uwzględniający wyśrodkowanie */
.cta-button:hover {
    background: rgba(255, 255, 255, 0.3);
    /* Łączymy transformację wyśrodkowania z efektem uniesienia (-3px) */
    transform: translateX(-50%) translateY(-3px); 
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* --- LOGIKA ANIMACJI PRZENIKANIA --- */
/* Łączny czas karuzeli to 7.5s. 
   Każdy slajd ma swoje 2.5s (czyli 33.3% całego czasu animacji).
   W tym czasie musi się pojawić, postać chwilę i zniknąć. */
@keyframes crossfade {
    0% {
        opacity: 0;
    }
    4% {
        opacity: 1; /* Płynne pojawianie się (trwa ok. 0.3s) */
    }
    33.33% {
        opacity: 1; /* Slajd jest w pełni widoczny przez resztę swojego czasu */
    }
    37.33% {
        opacity: 0; /* Płynne znikanie w momencie, gdy pojawia się kolejny slajd */
    }
    100% {
        opacity: 0; /* Przez resztę cyklu slajd czeka w ukryciu */
    }
}

/* Szklany kontener dopasowany do wysokości */
.announcement-section.glass {
    padding: 0 15px; /* Brak paddingu góra/dół, aby tekst był idealnie w środku 100px */
    margin-bottom: 40px;
    display: flex;
    align-items: center;
}

/* Kontener karuzeli tekstowej */
.text-carousel {
    position: relative;
    width: 100%;
    height: 100px; /* Dokładnie 100px wysokości */
    overflow: hidden; /* Ukrywa tekst wychodzący poza kafelek */
    display: flex;
    align-items: center;
}

/* Taśma przesuwająca napisy */
.text-track {
    display: flex;
    width: max-content;
    /* 15 sekund – ruch tekstu jest zazwyczaj szybszy, możesz zmienić dla innego efektu */
    animation: textMarquee 15s linear infinite;
}

/* Pojedynczy blok z tekstem */
.text-slide {
    padding: 0 50px; /* Duży odstęp poziomy między napisami */
    white-space: nowrap; /* Blokuje łamanie tekstu do nowej linii */
    
    /* STYLIZACJA TEKSTU (Spójna z Twoim h1 i przyciskiem) */
    color: white;
    font-size: 2.2rem; /* Nieco mniejszy niż h1, aby elegancko mieścił się w 100px */
    font-weight: 600;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-transform: uppercase; /* OPCJONALNIE: Wielkie litery dodają charakteru ogłoszenia */
    letter-spacing: 1px; /* Delikatny odstęp między literami */
}

/* --- LOGIKA PĘTLI --- */
@keyframes textMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Przesunięcie o dokładnie połowę długości taśmy */
    }
}




.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}
.feature-card {
    padding: 40px 30px;
    text-align: center;
    color: white;
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
}
.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Główny szklany kafelek dopasowany do wysokości */
.brands-section.glass {
    padding: 10px 15px; /* Mniejszy padding góra/dół dla zachowania niskiego profilu */
    margin-bottom: 40px;
    display: flex;
    align-items: center;
}

/* Kontener karuzeli logotypów */
.logo-carousel {
    position: relative;
    width: 100%;
    height: 100px; /* Dokładnie taka wysokość, jakiej potrzebujesz */
    overflow: hidden; /* Ukrywa logotypy, które wychodzą poza krawędź kafelka */
    display: flex;
    align-items: center;
}

/* Długi pasek zawierający obie paczki logotypów obok siebie */
.logo-track {
    display: flex;
    width: max-content; /* Pozwala paskowi rozciągnąć się na całą szerokość logotypów */
    /* Animacja trwa 20 sekund. Możesz ją przyspieszyć (np. 15s) lub zwolnić (np. 30s) */
    animation: marquee 20s linear infinite;
}

/* Styl dla pojedynczego kontenera na logo */
.logo-slide {
    width: 200px; /* Stała szerokość przestrzeni dla każdego logo */
    height: 80px;  /* Nieco mniej niż 100px, żeby logo miało luz od góry i dołu */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 30px; /* Odstępy poziome między logotypami */
}

/* Styl samego obrazka logo */
.logo-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Pilnuje, żeby logotypy nie były zniekształcone */
    
    opacity: 0.8; /* Delikatne wtopienie w tło */
    transition: opacity 0.3s ease;
}

/* Po najechaniu myszką na logo, staje się ono wyraźniejsze */
.logo-slide img:hover {
    opacity: 1;
}

/* --- LOGIKA PŁYNNEGO PRZESUWANIA --- 
   Przesuwamy taśmę dokładnie o połowę jej szerokości (czyli o jedną pełną paczkę 6 logotypów). 
   Gdy tam dociera, animacja błyskawicznie i niezauważalnie dla oka wraca do punktu zero, tworząc idealną pętlę.
*/
@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


/* About page styles */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    align-items: center;
}
.about-text {
    padding: 40px;
    color: white;
}
.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}
.stat-card {
    text-align: center;
    padding: 30px; /* Domyślny padding dla ewentualnych kafelków tekstowych */
    color: white;
    box-sizing: border-box; /* Zapewnia, że padding nie rozpycha kafelka na zewnątrz */
}

/* Nowe reguły dla kafelków z grafiką */
.stat-card.card-with-img {
    padding: 5px;          
    display: flex;         
    align-items: center;
    justify-content: center;
    overflow: hidden;      
    
}

.stat-card.card-with-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;     /* Obrazek wypełni cały kafelek (dotnie się, ale nie rozciągnie sztucznie) */
    border-radius: inherit; /* Jeśli klasa .glass ma zaokrąglone rogi (border-radius), obrazek się do nich dostosuje */
}

/* Główny kontener z efektem szkła (taki sam padding jak w pierwszej karuzeli) */
.gallery-section.glass {
    padding: 15px;
    margin-bottom: 40px;
    display: flex; /* Zapewnia, że karuzela prawidłowo wypełni wnętrze szkła */
}

/* Karuzela wewnątrz szklanego kafelka */
.gallery-carousel {
    position: relative;
    width: 100%;
    height: 700px; /* Możesz zmienić wysokość według uznania */
    border-radius: 20px; /* Zaokrąglenie wewnętrznego kafelka ze zdjęciami */
    overflow: hidden;   /* Przycina zdjęcia do zaokrąglonych rogów */
}

/* Style dla pojedynczego slajdu (bez zmian) */
.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: galleryCrossfade 20s infinite ease-in-out;
}

/* Opóźnienia animacji (bez zmian) */
.gallery-slide:nth-child(1) { animation-delay: 0s; }
.gallery-slide:nth-child(2) { animation-delay: 2.5s; }
.gallery-slide:nth-child(3) { animation-delay: 5s; }
.gallery-slide:nth-child(4) { animation-delay: 7.5s; }
.gallery-slide:nth-child(5) { animation-delay: 10s; }
.gallery-slide:nth-child(6) { animation-delay: 12.5s; }
.gallery-slide:nth-child(7) { animation-delay: 15s; }
.gallery-slide:nth-child(8) { animation-delay: 17.5s; }


/* Zdjęcia wypełniające przestrzeń galerii */
.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- ANIMACJA PRZENIKANIA (bez zmian) --- */
@keyframes galleryCrossfade {
    0% { opacity: 0; }
    2% { opacity: 1; }
    16.66% { opacity: 1; }
    18.66% { opacity: 0; }
    100% { opacity: 0; }
}



/* Team section styles */
.team-section {
    margin-bottom: 60px;
}
.team-section h2 {
    font-size: 2.5rem;
    color: white;
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
/* .team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
} */
.team-member {
    padding: 40px 30px;
    text-align: center;
    color: white;
    transition: all 0.3s ease;
}
.team-member:hover {
    transform: translateY(-10px);
}
.team-avatar {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}
.team-member:hover .team-avatar {
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.25);
}
.team-member h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: white;
}
.team-member .role {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}
.team-member .bio {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}
.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}
.team-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.team-social a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    color: white;
}
/* Services page styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}
.service-card {
    padding: 40px 30px;
    color: white;
    text-align: left;
}
.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.service-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 15px;
}
.service-card h3 {
    font-size: 1.4rem;
    color: white;
}
.service-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
}
.service-features {
    list-style: none;
}
.service-features li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}
.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.9);
}
/* Contact page styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.contact-map-section {
    margin-top: 40px;
}
.contact-form {
    padding: 40px;
}
.contact-form h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
    font-weight: 500;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    font-size: 16px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}
.form-group textarea {
    height: 120px;
    resize: vertical;
    line-height: 1.5;
}
.contact-info {
    padding: 40px;
    color: white;
}
.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}
.contact-item-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 18px;
}
.contact-item-text h4 {
    color: white;
    margin-bottom: 5px;
}
.contact-item-text p {
    color: rgba(255, 255, 255, 0.8);
}
.contact-map {
    padding: 40px;
    color: white;
    width: 100%;
}
.contact-map h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
}
.map-container {
    width: 100%;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
}
.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}
.map-placeholder-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.7;
}
.map-placeholder p {
    margin: 8px 0;
    font-size: 16px;
}
.map-placeholder .address {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}
.map-placeholder .integration-note {
    font-size: 14px;
    opacity: 0.6;
    margin-top: 20px;
}
/* Footer styles */
#footer {
    margin-top: 60px;
    padding: 30px 0;
}
.footer-content {
    padding: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    padding: 5px 10px;
}
.footer-links a:hover {
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
.copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}
.copyright a {
	color: rgba(255, 255, 255, 0.6);
	text-decoration: none;
}
/* Responsive design */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .number {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    /* Adjust padding for mobile */
    .page {
        padding: 10px 20px 20px;
        /* padding: 30px 20px 20px; */
    }
    .number {
        font-size: 15px;
    }
    .content-wrapper {
        min-height: auto;
    }
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    .hero-content {
        text-align: center;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    /* nav {
        flex-direction: column;
        gap: 20px;
        padding: 20px 30px;
    }
    .nav-links {
        gap: 15px;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    .nav-links a {
        display: block;
        text-align: center;
        width: 100%;
        max-width: 200px;
        font-size: 14px;
        padding: 10px 20px;
    } */
    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .team-grid, .features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .footer-links {
        gap: 15px;
        flex-direction: column;
    }
    .footer-links a {
        display: block;
        text-align: center;
    }
    button[type="submit"] {
        width: 100%;
    }
    .map-container {
        height: 350px;
    }
    .logo-icon {
        width: 40px;
        height: 40px;
    }
    .logo {
        font-size: 22px;
    }

    .gallery-carousel {
    height: 500px; /* Możesz zmienić wysokość według uznania */
    }
}

@media (max-width: 768px) {
    
    /* Wymuszamy, aby elementy w pierwszym rzędzie rozjechały się na brzegi */
    nav {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important; /* Spycha logo na lewo, hamburger na prawo */
        align-items: center !important;
        padding: 15px 20px !important;
    }

    /* Kontener logo – ograniczamy szerokość, aby nie spychał hamburgera */
    .logo {
        display: flex !important;
        align-items: center !important;
        max-width: 75% !important; /* Daje bezpieczną przestrzeń dla hamburgera po prawej */
        cursor: pointer;
    }

    /* Przycisk hamburgera – ląduje idealnie na prawym brzegu */
    .hamburger {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 20px;
        cursor: pointer;
        margin-left: auto; /* Dodatkowe upewnienie się, że ucieka do prawej krawędzi */
    }

    .hamburger span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: white;
        border-radius: 3px;
        transition: all 0.3s ease-in-out;
    }

    /* ROZWIJANE MENU (Poniżej logo i hamburgera) */
    .nav-links {
        display: none !important;
        width: 100% !important; /* Zajmuje całą szerokość po rozwinięciu */
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
        padding-top: 20px !important;
    }

    /* Pokazanie menu po kliknięciu */
    .nav-links.open {
        display: flex !important;
    }

    /* Wygląd linków */
    .nav-links a {
        display: block !important;
        text-align: center;
        width: 100%;
        font-size: 16px !important;
        padding: 12px 0 !important;
        color: white !important;
        text-decoration: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }

    /* Animacja hamburgera w X */
    .hamburger.open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.open span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}