
/* Hero Section Modern */
.hero-modern {
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
    position: relative;
}

.hero-modern::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-modern .hero-container {
    position: relative;
    z-index: 1;
}

.hero-modern h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-modern p {
    font-size: 20px;
    margin-bottom: 30px;
}

.hero-modern .hero-buttons a {
    margin: 0 10px;
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-outline {
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: #007bff;
}

/* Why Us Section */
.why-us {
    background: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
	background: #401359;
}

.why-us h2 {
    font-size: 36px;
    margin-bottom: 40px;
	color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.feature-box {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box i {
    font-size: 40px;
    margin-bottom: 15px;
    color: #007bff;
}

/* Service Range Modern */
.service-range-modern {
	background: linear-gradient(135deg, #694daa, #7b17bf);
    padding: 60px 20px;
    text-align: center;
    color: white;
}

.service-range-modern h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    transition: transform 0.3s, background 0.3s;
    cursor: pointer;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.service-card h4 {
    font-size: 20px;
    margin: 0;
}

/* Call To Action Modern */
.contact-cta-modern {
	background: linear-gradient(135deg, #430068, #5900b3);
    padding: 60px 20px;
    text-align: center;
    color: white;
}

.contact-cta-modern h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.contact-cta-modern .btn-light {
    background: white;
    color: #007bff;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 18px;
}

.contact-cta-modern .btn-light:hover {
    background: #f0f0f0;
    color: #0056b3;
}

/* Poprawione ułożenie siatki usług */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    transition: transform 0.3s, background 0.3s;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card h4 {
    font-size: 20px;
    margin: 0;
    color: white;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

/* Sekcja Graficzna */

.image-section {
    background: #38104f;
    padding: 60px 20px;
    text-align: center;
}

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

/* Finalne poprawki dla Zakresu Usług */

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

.service-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    transition: transform 0.3s, background 0.3s;
    cursor: pointer;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-card h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: white;
}

.service-card p {
    font-size: 16px;
    color: white;
    line-height: 1.5;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

/* Ostateczne dopracowanie sekcji Zakres Naszych Usług */

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.service-card {
    flex: 1 1 300px;
    max-width: 300px;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    transition: transform 0.3s, background 0.3s;
    cursor: pointer;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 250px;
}

.service-card h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: white;
}

.service-card p {
    font-size: 16px;
    color: white;
    line-height: 1.6;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

/* Poprawione dopasowanie hero sekcji w page-laptopy.php */
.hero-section {
    background-size: cover;
    background-position: center;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0;
    position: relative;
}

.hero-section .hero-container {
    max-width: 100%;
    padding: 80px 20px;
}

.hero-section h1 {
    font-size: 64px;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 22px;
    margin-bottom: 30px;
}

.hero-section a.btn {
    margin: 0 10px;
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    background: #007bff;
    color: white;
}

/* Hero styling unified to match page-about.php */

.hero-banner {
    background-size: cover;
    background-position: center;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0;
    position: relative;
}

.hero-banner .hero-container {
    max-width: 100%;
    padding: 80px 20px;
}

.hero-banner h1 {
    font-size: 64px;
    margin-bottom: 20px;
}

.hero-banner p {
    font-size: 22px;
    margin-bottom: 30px;
}

.hero-banner a.btn {
    margin: 0 10px;
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    background: #007bff;
    color: white;
}

.hero-banner::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

/* Animacja wejścia hero */
.hero-banner {
    background-size: cover;
    background-position: center;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0;
    position: relative;
    animation: fadeInHero 1.5s ease-in-out;
}

@keyframes fadeInHero {
    from { opacity: 0; transform: scale(1.05); }
    to { opacity: 1; transform: scale(1); }
}

/* Poprawa UX w page-bios.php - kontener strony */
.bios-modern-page {
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: hidden;
    padding: 0 15px;
}

/* Poprawione logo w page-laptopy.php hero */
.hero-banner .site-logo {
    max-height: 80px;
    margin-bottom: 20px;
}

/* Responsywność hero - szerokość i padding dla mobile */
@media (max-width: 768px) {
    .hero-banner {
        min-height: 400px;
        padding: 40px 15px;
        background-position: center center;
    }

    .hero-banner h1 {
        font-size: 40px;
        margin-bottom: 15px;
    }

    .hero-banner p {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .hero-banner a.btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .hero-banner .site-logo {
        max-height: 60px;
        margin-bottom: 15px;
    }

    .image-section img.laptop-image {
        width: 100%;
        height: auto;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 10px;
    }

    .service-card {
        min-height: auto;
        padding: 20px;
    }

    .service-card h4 {
        font-size: 20px;
    }

    .service-card p {
        font-size: 14px;
    }

    .contact-cta-modern h2 {
        font-size: 24px;
    }

    .contact-cta-modern .btn-light {
        padding: 12px 25px;
        font-size: 16px;
    }
}


/* Dodatkowe efekty hover dla przycisków hero */

/* Dodatkowe efekty hover dla przycisków hero */
.btn-remote:hover {
    background-color: #0056b3;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.btn-light-remote:hover {
    background-color: #f0f0f0;
    color: #0056b3;
    transform: scale(1.05);
    transition: all 0.3s ease;
}


/* Final overlay correction to enable button clicks */

.hero-banner::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
    pointer-events: none; /* Ensure overlay does not block clicks */
}

.hero-banner .hero-container {
    position: relative;
    z-index: 1;
}
