/* styles.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
}

/* Logo */
.logo a {
    display: flex;
    align-items: center;
    gap: 10px; /* odstęp między obrazkiem a tekstem */
    text-decoration: none;
}

.logo img {
    height: 45px; /* dopasuj do potrzeb */
    width: auto;
    display: block;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}



.logo a:hover .logo-text {
    color: #e74c3c; /* zmiana koloru po najechaniu */
}


/* Nawigacja */
.navbar .nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.navbar .nav-link {
    text-decoration: none;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #e74c3c, #3498db);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.navbar .nav-link:hover {
    color: #e74c3c;
}

.navbar .nav-link:hover::after {
    width: 100%;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* --- RESPONSYWNOŚĆ --- */
@media (max-width: 992px) {
    .navbar .nav-menu {
        position: absolute;
        top: 100%;
        right: 0;
        background: #fff;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
        flex-direction: column;
        width: 220px;
        padding: 20px;
        gap: 20px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.12);
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        transition: all 0.3s ease;
    }

    .navbar .nav-menu.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .hamburger {
        display: flex;
    }

    /* Animacja hamburgera */
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}


/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(14, 18, 20, 0.7), rgba(61, 89, 117, 0.7)),
                url("img/image11.jpeg") center/cover no-repeat;
    color: #fff;
    overflow: hidden;
}


.hero .container {
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeDown 1s ease forwards;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
    animation: fadeUp 1.2s ease forwards;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
}
.hero .btn-primary {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    background: linear-gradient(135deg, #e74c3c, #3498db);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: fadeUp 1.4s ease forwards;
}

.hero .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Animacje pojawiania */
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsywność */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .hero .btn-primary {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.6rem;
    }
    .hero p {
        font-size: 0.9rem;
    }
}


/* Services Section */
.services {
    padding: 80px 0;
    background-color: #f8f9fa;
    position: relative;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #2c3e50;
    position: relative;
    font-weight: 700;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c, #3498db);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c, #3498db);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e74c3c, #3498db);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card i {
    font-size: 2.5rem;
    color: white;
    transition: all 0.3s ease;
}

.service-card h3 {
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
}

.service-card p {
    color: #7f8c8d;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 0;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: #e74c3c;
}

.service-card:hover p {
    color: #2c3e50;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .services {
        padding: 70px 0;
    }
    
    .services h2 {
        font-size: 2.2rem;
        margin-bottom: 50px;
    }
    
    .services-grid {
        gap: 30px;
    }
    
    .service-card {
        padding: 35px 25px;
    }
}

@media (max-width: 992px) {
    .services {
        padding: 60px 0;
    }
    
    .services h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
    }
    
    .service-card i {
        font-size: 2rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .services {
        padding: 50px 0;
    }
    
    .services h2 {
        font-size: 1.8rem;
        margin-bottom: 35px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .service-card {
        padding: 25px 15px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-card i {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .services {
        padding: 40px 0;
    }
    
    .services h2 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .service-card {
        padding: 20px 15px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
    }
    
    .service-card i {
        font-size: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
}

/* === Sekcja O Nas === */
.about {
    padding: 80px 0;
    background-color: #ffffff;
    position: relative;
}

/* Nagłówek sekcji */
.about .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.about .section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.about .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c, #3498db);
    border-radius: 2px;
}

.about .section-header p {
    margin-top: 25px;
    font-size: 1.1rem;
    color: #7f8c8d;
}

/* --- Górna część sekcji (opis + statystyki) --- */
.about-top {
    text-align: center;
    margin-bottom: 60px;
}

.about-top .about-intro p {
    margin: 0 auto 40px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    text-align: justify;
    text-justify: inter-word;
}

/* Statystyki */
.about-stats {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px 35px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center; /* dopasowanie h3 i p */
    justify-content: center;
}


.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
}

.stat-item h3 {
    font-size: 2rem;
    color: #e74c3c;
    margin-bottom: 8px;
    font-weight: 700;
}

.stat-item p {
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 500;
    text-align: justify;
}

.stat-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stat-item.show {
    opacity: 1;
    transform: translateY(0);
}

/* --- Dolna część sekcji (usługi + obraz) --- */
.about-bottom .about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

/* Tekst */
.about-text p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #555;
}

.about-text h3 {
    text-align: center;
    font-size: 1.8rem;
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #e74c3c, #3498db);
    border-radius: 2px;
}

/* Animacja pojawiania się elementów listy */
.about-text .service-list li {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Po pokazaniu */
.about-text .service-list li.show {
    opacity: 1;
    transform: translateY(0);
}

/* Nagłówek dla "Zakres naszych usług" */
.services-header {
    text-align: center;
    margin-bottom: 40px;
}

.services-header h3 {
    font-size: 1.9rem;
    font-weight: 700;
    color: #2c3e50;
    position: relative;
    display: inline-block;
}

.services-header h3::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, #e74c3c, #3498db);
    border-radius: 2px;
}

/* Drobna poprawka koloru tekstu w liście */
.service-list {
    color: #555;
}

/* Delikatny blok dla listy usług */
.about-text.animate {
    background: #fafafa;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 35px 40px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.about-text.animate:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

/* Dostosowanie listy wewnątrz */
.about-text.animate .service-list {
    margin: 0;
    padding: 0;
    list-style: none;
    color: #555;
}

.about-text.animate .service-list li {
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e6e6e6;
    line-height: 1.7;
    text-align: left;
}

.about-text.animate .service-list li:last-child {
    border-bottom: none;
}

.about-text.animate .service-list li strong {
    color: #2c3e50;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
    font-size: 1.05rem;
}

/* === Sekcja: Nasze wartości (pełna szerokość) === */
.values-section {
    width: 100%;
    background: #f8f9fb;
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

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

.values-container h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.values-container h3::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #e74c3c, #3498db);
    border-radius: 2px;
}

/* Lista wartości */
.values-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    padding: 0;
    margin: 0;
    justify-content: center; /* ✅ wyśrodkowuje ostatni rząd */
}

.values-list li {
    background: #fff;
    border-radius: 12px;
    padding: 25px 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    font-size: 1.05rem;
    color: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    line-height: 1.6;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.values-list li i {
    color: #4a90e2;
    font-size: 1.4rem;
}

.values-list li:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background: #ffffff;
}

/* 🔹 Animacja pojawiania się elementów listy przy przewijaniu */
.values-list li {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.values-list li.show {
    opacity: 1;
    transform: translateY(0);
}

/* Responsywność */
@media (max-width: 768px) {
    .values-container h3 {
        font-size: 1.6rem;
        margin-bottom: 35px;
    }

    .values-list li {
        font-size: 1rem;
        padding: 20px 15px;
    }
}



/* --- Obraz z overlay --- */
.about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

.about-image .image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent, rgba(44, 62, 80, 0.9));
    color: #fff;
    padding: 20px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.about-image:hover .image-overlay {
    transform: translateY(0);
}

.about-image .image-overlay h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 700;
}

/* --- Responsywność --- */
@media (max-width: 992px) {
    .about-bottom .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-stats {
        justify-content: center;
    }

    .values-list {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .about .section-header h2 {
        font-size: 2rem;
    }

    .about .section-header p {
        font-size: 1rem;
    }

    .stat-item h3 {
        font-size: 1.6rem;
    }

    .values-container h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .about {
        padding: 50px 0;
    }

    .about .section-header h2 {
        font-size: 1.6rem;
    }

    .stat-item {
        padding: 15px;
    }

    .stat-item h3 {
        font-size: 1.4rem;
    }

    .values-list li {
        font-size: 1rem;
        padding: 15px 20px;
    }
}


/* Portfolio Section */
.portfolio {
    padding: 80px 0;
    background: #ffffff;
}

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

.portfolio .section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.portfolio .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c, #3498db);
    border-radius: 2px;
}

.portfolio .section-header p {
    margin-top: 25px;
    font-size: 1.1rem;
    color: #7f8c8d;
}

/* === Slider (zamiast gridu) === */
.portfolio-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    height: 600px; /* << stała wysokość kontenera */
}

.portfolio-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* << zawsze pełna wysokość */
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease;
}

.portfolio-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* Obrazki wypełniają slajd bez deformacji */
.portfolio-slide img {
    width: 100%;
    height: 100%; /* << zamiast auto */
    object-fit: cover; /* << przycina proporcjonalnie */
    display: block;
    transition: transform 0.5s ease;
}

.portfolio-slide:hover img {
    transform: scale(1.03);
}

/* Overlay na zdjęciu */
.portfolio-slide .portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(180deg, transparent, rgba(44,62,80,0.85));
    color: #fff;
    text-align: center;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.portfolio-overlay h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

/* === Lightbox === */
.lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox-img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.lightbox-nav span {
    font-size: 2.5rem;
    color: #fff;
    padding: 0 25px;
    cursor: pointer;
    user-select: none;
}

/* Responsywność */
@media (max-width: 992px) {
    .portfolio-slider {
        height: 450px;
    }
}

@media (max-width: 576px) {
    .portfolio-slider {
        height: 300px;
    }
}




/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #f8f9fa;
    position: relative;
}

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

.contact .section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.contact .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c, #3498db);
    border-radius: 2px;
}

.contact .section-header p {
    margin-top: 25px;
    font-size: 1.1rem;
    color: #7f8c8d;
}

/* Układ */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: flex-start;
}

/* Info */
.contact-info {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1rem;
    color: #2c3e50;
    transition: transform 0.3s ease;
}

.contact-item i {
    font-size: 1.3rem;
    color: #3498db;
    margin-right: 15px;
    min-width: 25px;
}

.contact-item a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-item a:hover {
    color: #e74c3c;
}

/* Formularz */
.contact-form {
    background: #fff;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #3498db;
    box-shadow: 0 0 8px rgba(52,152,219,0.3);
}

.contact-form textarea {
    resize: none;
}

.contact-form .btn-primary {
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #e74c3c, #3498db);
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* --- Styl selecta, dopasowany do reszty pól --- */
.contact-form select {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
    background-color: #fff;
    color: #333;
    cursor: pointer;

    /* usuwa domyślny wygląd systemowy */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    /* dodaje delikatną strzałkę po prawej stronie */
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23999' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
}

/* --- Efekt focus taki sam jak input/textarea --- */
.contact-form select:focus {
    border-color: #3498db;
    box-shadow: 0 0 8px rgba(52,152,219,0.3);
    background-color: #fff;
}

/* Responsywność */
@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .contact .section-header h2 {
        font-size: 2rem;
    }
    .contact-form,
    .contact-info {
        padding: 25px;
    }
}

@media (max-width: 576px) {
    .contact {
        padding: 50px 0;
    }
    .contact .section-header h2 {
        font-size: 1.6rem;
    }
    .contact-form .btn-primary {
        padding: 12px;
        font-size: 0.95rem;
    }
}

/* Footer */
.footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 25px 15px;
    text-align: center;
    position: relative;
    margin-top: 50px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer .credits {
    font-size: 0.85rem;
    color: #bdc3c7;
}

.footer .credits a {
    color: #e74c3c;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer .credits a:hover {
    color: #3498db;
}

/* Linie gradientowe na górze stopki */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c, #3498db);
    border-radius: 2px;
}

/* Responsywność */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}


@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
        cursor: pointer;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        z-index: 1001;
    }

    .hamburger .bar {
        width: 25px;
        height: 3px;
        background-color: #2c3e50;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        border-bottom-left-radius: 3px;
        border-bottom-right-radius: 3px;
        transition: 0.3s;
    }
    /* Menu mobilne */
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%; /* zamiast left: -100% */
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: right 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        z-index: 1000;
    }

    /* Po otwarciu */
    .nav-menu.active {
        right: 0; /* menu wysuwa się z prawej */
    }

    .nav-item {
        margin: 10px 0;
    }

    /* Stylowanie tekstu */
    .nav-link {
        display: block;
        padding: 10px 0;
        color: #2c3e50;
        font-weight: 500;
        transition: color 0.3s ease;
    }

    .nav-link:hover {
        color: #3498db;
    }

    /* Dodatkowe dostosowanie sekcji */
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }
}

@media screen and (max-width: 480px) {
    .hero {
        padding: 120px 0 80px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        top: 60px;
    }
}


.lightbox {
    display: none; /* ukryty domyślnie */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.lightbox-img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    animation: scaleIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #e74c3c;
}

/* Animacje */
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes scaleIn {
    from {transform: scale(0.9);}
    to {transform: scale(1);}
}


/* Przycisk powrotu na górę */
#scrollToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #e74c3c, #3498db);
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: none; /* domyślnie ukryty */
    z-index: 999;
}

#scrollToTop:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* --- Baner cookies --- */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #333;
    padding: 20px 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border: 1px solid rgba(0,0,0,0.05);
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    z-index: 10000;
    animation: fadeIn 0.4s ease;
}

.cookie-banner p {
    font-size: 0.95rem;
    line-height: 1.4;
}

.cookie-banner a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

.cookie-banner a:hover {
    text-decoration: underline;
}

/* przycisk pasujący do Twoich styli */
.cookie-banner .btn-primary {
    padding: 10px 22px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #e74c3c, #3498db);
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-banner .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, 20px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

/* Animacja pojawiania się kafelków przy przewijaniu */
.service-card {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.service-card.show {
    opacity: 1;
    transform: translateY(0);
}

