/* STYLES FOR PRODUCT TEMPLATE */
/* Spacing is handled by .inw-section (padding: 80px 0) and .inw-container (max-width: 1320px) from inwestycja.css */

.djm-produkt-main {
    background-color: var(--gl-bg, #F5F1E4);
}

/* 1. HERO */
.prod-hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -140px; /* Offset for absolute header */
    padding-top: 140px;
}
.prod-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
}
.prod-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 800px;
}
.prod-hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}
.prod-hero-sub {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* 2. O PRODUKCIE */
.prod-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.prod-about-img-col img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    aspect-ratio: 4/3;
}
.prod-about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* 4. WYSIWYG */
.prod-process-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}
.prod-process-content p {
    margin-bottom: 20px;
}
.prod-process-content strong {
    color: var(--gl-gold);
}

/* 5. 3 MODELE */
.prod-model-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.prod-model-img {
    aspect-ratio: 4/3;
    overflow: hidden;
}
.prod-model-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.prod-model-card:hover .prod-model-img img {
    transform: scale(1.05);
}
.prod-model-info {
    padding: 40px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.prod-model-info h3 {
    font-size: 1.5rem;
    color: var(--gl-text);
    margin-bottom: 15px;
}
.prod-model-info p {
    color: #666;
    margin-bottom: 30px;
    flex: 1;
}

/* 6. CECHY */
.prod-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .prod-about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
@media (max-width: 768px) {
    .prod-hero-title {
        font-size: 2.5rem;
    }
}
