/* Panel Montage - Zaktualizowany CSS z tłem hali */

/* Reset podstawowy */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    overflow-x: hidden;
}

/* Scroll behavior */
html {
    scroll-behavior: smooth;
}

/* ===========================================
   HEADER - bez zmian
   =========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: #1e40af;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #3b82f6;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3b82f6;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-button {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-button span {
    width: 25px;
    height: 3px;
    background: #374151;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    padding: 20px;
}

.mobile-menu li {
    margin-bottom: 15px;
}

.mobile-menu a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
}

/* ===========================================
   HERO SECTION - NOWE TŁO ZE ZDJĘCIEM HALI
   =========================================== */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 70px;
    
    /* TŁOŻŻE ZDJĘCIA HALI */
    background-image: url('../images/hala-przemyslowa.jpg');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    background-attachment: fixed;
    
    /* Fallback gradient na wypadek braku obrazu */
    background-color: #f8fafc;
}

/* OVERLAY DLA CZYTELNOŚCI TEKSTU */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.85) 0%,
        rgba(255, 255, 255, 0.75) 60%,
        rgba(255, 255, 255, 0.4) 100%
    );
    z-index: 1;
}

/* ALTERNATYWNE OVERLAYS - odkomentuj żeby użyć */

/* CIEMNY OVERLAY */
/*
.hero-section.dark-overlay::before {
    background: linear-gradient(
        135deg,
        rgba(44, 62, 80, 0.8) 0%,
        rgba(44, 62, 80, 0.6) 60%,
        rgba(44, 62, 80, 0.3) 100%
    );
}

.hero-section.dark-overlay .hero-content h1,
.hero-section.dark-overlay .hero-content p {
    color: white;
}
*/

/* BRANDOWY OVERLAY */
/*
.hero-section.brand-overlay::before {
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.8) 0%,
        rgba(59, 130, 246, 0.6) 60%,
        rgba(59, 130, 246, 0.3) 100%
    );
}

.hero-section.brand-overlay .hero-content h1,
.hero-section.brand-overlay .hero-content p {
    color: white;
}
*/

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 800px;
}

.hero-content .highlight {
    color: #3b82f6;
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: #475569;
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    padding: 15px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #374151;
    padding: 15px 30px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
}

/* ===========================================
   RESPONSYWNOŚĆ HERO
   =========================================== */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
        background-position: center center;
    }
    
    .hero-section::before {
        background: linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(255, 255, 255, 0.8) 100%
        );
    }
    
    .hero-content {
        text-align: center;
        padding: 0 15px;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

/* ===========================================
   POZOSTAŁE SEKCJE - bez zmian
   =========================================== */

/* About section */
.about-section {
    padding: 100px 0;
    background: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
}

.about-text p {
    color: #475569;
    margin-bottom: 20px;
    line-height: 1.7;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 10px;
}

.stat-label {
    color: #64748b;
    font-weight: 500;
}

.manifest {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 20px;
    border-left: 4px solid #3b82f6;
}

.manifest p {
    font-size: 1.3rem;
    color: #334155;
    font-weight: 500;
    line-height: 1.6;
}

/* Services section */
.services-section {
    padding: 100px 0;
    background: #f8fafc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 15px;
}

.service-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Projects section */
.projects-section {
    padding: 100px 0;
    background: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.project-card {
    background: #f8fafc;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.project-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 1.1rem;
}

.project-content {
    padding: 30px;
}

.project-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
}

.project-content p {
    color: #64748b;
    line-height: 1.6;
}

/* Testimonials */
.testimonials {
    margin-top: 80px;
    text-align: center;
}

.testimonials h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 40px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.testimonial blockquote {
    font-style: italic;
    color: #475569;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial cite {
    font-weight: 600;
    color: #3b82f6;
    font-style: normal;
}

/* Contact section */
.contact-section {
    padding: 100px 0;
    background: #f8fafc;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-info h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-details h4 {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 5px;
}

.contact-details p {
    color: #64748b;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.contact-form h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-section p,
.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    line-height: 1.6;
}

.footer-section a:hover {
    color: #3b82f6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 30px;
    text-align: center;
    color: #94a3b8;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .mobile-menu-button {
        display: flex;
    }
    
    .nav-links {
        display: none;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}


/* Dodaj te style do końca pliku style.css (BEZ tagów <style>) */

/* Kontener mapy */
.map-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto 4rem auto;
    overflow: visible;
}

.map-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.map-pins-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

/* Style pinów */
.map-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 5;
}

.map-pin:hover {
    transform: translate(-50%, -50%) scale(1.15);
    z-index: 10;
}

.pin-marker {
    width: 24px;
    height: 24px;
    background-color: #3b82f6;
    border-radius: 50%;
    box-shadow: 0 0 0 4px white, 0 4px 10px rgba(59, 130, 246, 0.5);
    margin: 0 auto;
    position: relative;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 4px white, 0 4px 10px rgba(59, 130, 246, 0.5); }
    50% { box-shadow: 0 0 0 4px white, 0 4px 15px rgba(59, 130, 246, 0.7); }
    100% { box-shadow: 0 0 0 4px white, 0 4px 10px rgba(59, 130, 246, 0.5); }
}

.pin-marker::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 5px 0 5px;
    border-color: #3b82f6 transparent transparent transparent;
}

.pin-label {
    display: block;
    background: #1e293b;
    color: white;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.map-pin:hover .pin-label {
    opacity: 1;
}

.map-pin:hover .pin-marker {
    background-color: #2563eb;
    box-shadow: 0 0 0 4px white, 0 6px 20px rgba(59, 130, 246, 0.8);
    animation: none;
}

.map-pin:hover .pin-marker::after {
    border-color: #2563eb transparent transparent transparent;
}

/* Responsywność dla małych ekranów */
@media (max-width: 768px) {
    .map-container {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .pin-label {
        font-size: 12px;
        padding: 4px 10px;
        top: -35px;
    }
    
    .pin-marker {
        width: 20px;
        height: 20px;
    }
    
    .pin-marker::after {
        border-width: 6px 4px 0 4px;
        bottom: -6px;
    }
    
    /* Dostosuj pozycje pinów na mobilnych */
    .map-pin {
        /* Piny mogą wymagać drobnych korekt pozycji na małych ekranach */
    }
}