/* --- HERO SECTION DLA PODSTRONY FOTOWOLTAIKA --- */
.page-hero {
    position: relative;
    min-height: 60vh; 
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    padding: 150px 280px;
}
#fotowoltaika .about-wrapper {
    display: flex;
    align-items: center;
    padding-left: 100px;
    padding-right: 0;
}
.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(21,48,79,0.9) 0%, rgba(21,48,79,0.4) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.page-hero-content h1 {
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #ffffff;
    font-weight: bold;
}

.page-hero-content p {
    font-size: 18px;
    max-width: 850px;
    margin-bottom: 30px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.6);
    padding: 10px 20px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-badge img {
    height: 25px; 
    width: auto;
}

/* TABLETY (Poniżej 1024px) */
@media (max-width: 1024px) {

}

/* RWD dla Hero na podstronach */
@media (max-width: 1024px) {
    .page-hero {
        min-height: 60vh;
        padding: 60px 20px;
    }
    
    .page-hero-content h1 {
        font-size: 32px;
    }
    
    .hero-overlay {
        background: linear-gradient(0deg, rgba(21,48,79,0.95) 0%, rgba(21,48,79,0.7) 100%);
    }
}

/* --- SEKCJA 2: KLASYCZNE MODUŁY --- */

.pv-classic-modules {
    padding: 100px 220px;
    background-color: #ffffff; 
    overflow: hidden;
}

.modules-wrapper {
    display: flex;
    align-items: center;
    gap: 60px; 
}

.modules-text-column {
    flex: 1;
}

.modules-text-column h2 {
    margin-bottom: 25px;
    line-height: 1.2;
    text-transform: uppercase;
}

.modules-text-column p {
    margin-bottom: 30px;
    font-size: 17px;
    color: #555;
    line-height: 1.6;
}

.modules-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modules-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.modules-features-list .checkmark {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    background: linear-gradient(90deg, #2A3E93 0%, #306EB5 100%);
    color: #fff;
    border-radius: 50%;
    font-size: 16px;
    font-weight: bold;
    margin-top: 3px;
}

.modules-features-list li div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.modules-features-list li strong {
    font-size: 18px;
    color: #333;
}

.modules-features-list li span {
    font-size: 15px;
    color: #666;
}

.modules-image-column {
    flex: 1;
    position: relative;
}

.modules-image-frame {
    padding: 40px 40px 0 0;
    position: relative;
}

.modules-image-frame::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 80%;
    border: 5px solid;
    border-image-source: linear-gradient(90deg, #2A3E93 0%, #306EB5 100%);
    border-image-slice: 1;
    z-index: 1;
}

.modules-image-frame img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    display: block;
    box-shadow: -10px 10px 30px rgba(0,0,0,0.1); 
}


/* --- RWD DLA KLASYCZNYCH MODUŁÓW --- */

@media (max-width: 1024px) {
    .pv-classic-modules {
        padding: 60px 20px;
    }
    .modules-wrapper {
        flex-direction: column; 
        gap: 40px;
    }
    .modules-image-frame::before {
        display: none; 
    }
    .modules-image-frame {
        padding: 0;
    }
}


/* --- SEKCJA 3: MODELE PANELI --- */

.pv-panel-models {
    padding: 20px 220px;
    background-color: #ffffff;
}

.panels-title-wrapper {
    text-align: center;
    margin-bottom: 50px;
}

.panel-power {
    display: inline-block;
    background: linear-gradient(90deg, #2A3E93 0%, #306EB5 100%);
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 15px;
    align-self: flex-start;
}

.panel-specs {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #ddd;
    padding-top: 15px;
}

.panel-specs li {
    font-size: 14px;
    color: #444;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

.panel-image {
    position: relative; 
}

.badge-new {
    position: absolute;
    top: 20px;
    right: -10px;
    background: #306EB5; 
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 5px 15px;
    border-radius: 20px 0 0 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 5;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2vw, 24px);
    margin-bottom: clamp(40px, 5vw, 60px);
}

.catalog-card {
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.catalog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.cc-image-box {
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.cc-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
    transition: transform 0.5s ease;
}

.catalog-card:hover .cc-image-box img {
    transform: scale(1.05);
}

.cc-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: #306EB5;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    z-index: 2;
}

.cc-content {
    padding: clamp(16px, 2vw, 24px);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Style z home*/

.about-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 24px;
    color: #4c4b4b;
}

.about-badge .subtitle {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-bottom: 5px;
}

@media (max-width: 1024px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pv-panel-models {
    padding: 20px 20px;
    }
    .about-badge .subtitle {
    font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .catalog-grid {
        grid-template-columns: 1fr;
    }
    
    .pv-panel-models {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    
    .panels-title-wrapper {
        margin-bottom: 30px;
    }
    .about-badge .subtitle {
    font-size: 1.1rem;
    }
}

@media (max-width: 992px) {
    .variants-wrapper {
        flex-direction: column;
        gap: 40px;
        padding: 40px 0;
    }
    
    .variants-image-column {
        order: -1; 
    }
}

/* --- SEKCJA: WARIANTY KOLORYSTYCZNE --- */

.pv-color-variants {
    padding: 20px 220px;
    background-color: #f9f9f9; 
    overflow: hidden;
}

.variants-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.variants-image-column {
    flex: 1;
    display: flex;
    justify-content: center;
}

.variants-image-column img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0px 15px 20px rgba(0,0,0,0.05)); 
}

.variants-text-column {
    flex: 1;
}

.variants-text-column h2 {
    margin-bottom: 20px;
    line-height: 1.2;
}

.variants-text-column p {
    margin-bottom: 30px;
    font-size: 17px;
    color: #555;
    line-height: 1.6;
}

.variants-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.variants-list li {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    border-left: 4px solid #306EB5; 
    transition: transform 0.2s ease;
}

.variants-list li:hover {
    transform: translateX(5px);
}

.color-swatch {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #ddd;
    flex-shrink: 0;
}

.swatch-bb { background: #222; border-color: #000; }
.swatch-wb { background: linear-gradient(135deg, #fff 50%, #222 50%); }
.swatch-ws { background: linear-gradient(135deg, #fff 50%, #ccc 50%); }
.swatch-ts { background: linear-gradient(135deg, #e3e8ed 50%, #ccc 50%); } 
.swatch-tb { background: linear-gradient(135deg, #e3e8ed 50%, #222 50%); }

.variant-info {
    display: flex;
    flex-direction: column;
}

.variant-info strong {
    font-size: 16px;
    color: #333;
}

.variant-info span {
    font-size: 14px;
    color: #777;
    margin-top: 2px;
}

@media (max-width: 1024px) {
    .variants-wrapper {
        flex-direction: column;
    }
    .pv-color-variants {
        padding: 20px 20px;
    }
    
    .variants-image-column {
        order: -1; 
        margin-bottom: 30px;
    }
}

/* --- SEKCJA 4: ARCHITEKTURA FOTOWOLTAICZNA --- */

.pv-architecture {
    padding: 100px 220px;
    background-color: #ffffff; 
}

.architecture-title-wrapper {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.architecture-title-wrapper h2 {
    margin-bottom: 20px;
    line-height: 1.2;
    text-transform: uppercase;
}

.architecture-title-wrapper .subtitle {
    color: #000;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
    font-size: 32px;
}

.architecture-title-wrapper p {
    font-size: 17px;
    color: #555;
    line-height: 1.6;
}

.architecture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.arch-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.arch-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.arch-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.arch-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.arch-card:hover .arch-image img {
    transform: scale(1.05); 
}

.arch-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.arch-content h3 {
    margin-bottom: 15px;
    color: #222;
}

.arch-content p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1; 
}

.arch-features {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

.arch-features li {
    font-size: 14px;
    color: #306EB5; 
    font-weight: 600;
    margin-bottom: 8px;
}

@media (max-width: 1024px) {
    .architecture-grid {
        grid-template-columns: repeat(2, 1fr); 
    }
    .arch-card:last-child {
        grid-column: span 2;
    }
    .pv-architecture {
    padding: 60px 20px;
    }
    .architecture-title-wrapper .subtitle {
    font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .architecture-grid {
        grid-template-columns: 1fr; 
    }
    .arch-card:last-child {
        grid-column: span 1; 
    }
    .arch-image {
        height: 220px;
    }
    .architecture-title-wrapper .subtitle {
    font-size: 1.1rem;
    }
}