.djm-inwestycja-page {
    /* Main wrapper styles if any */
}
.inw-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}
.inw-section {
    padding: 80px 0;
}
.inw-section-title {
    font-size: 2.5rem;
    color: var(--gl-text, #474747);
    margin-bottom: 40px;
}
.text-center { text-align: center; }

/* HERO */
.inw-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-top: -100px; /* Assuming fixed header like glowna */
}
.inw-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}
.inw-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}
.inw-hero-title {
    font-size: 3.5rem;
    color: #fff;
    margin: 0;
}
.inw-hero-subtitle {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 15px;
    color: var(--gl-gold, #9D7539);
}

/* ABOUT */
.inw-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.inw-about-content {
    font-size: 1.15rem;
    line-height: 1.8;
}
.inw-about-img-col img {
    width: 100%;
    border-radius: 20px;
}

/* FEATURES */
.inw-features {
    background: #fdfdfd;
}
.inw-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.inw-feature-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.3s;
}
.inw-feature-card:hover {
    transform: translateY(-5px);
}
.inw-feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}
.inw-feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.inw-feature-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
}
.inw-feature-desc {
    color: #666;
    line-height: 1.6;
}

/* GALLERY */
.inw-custom-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.inw-gallery-item {
    display: block;
    overflow: hidden;
    position: relative;
}
.inw-gallery-item.gal-full {
    grid-column: 1 / -1;
    aspect-ratio: 21/9;
}
.inw-gallery-item.gal-half {
    aspect-ratio: 4/3;
}
.inw-gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}
.inw-gallery-item:hover img {
    transform: scale(1.05);
}
.inw-gallery-zoom-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gl-text, #474747);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    z-index: 2;
}
.inw-gallery-item:hover .inw-gallery-zoom-icon {
    opacity: 1;
    transform: scale(1);
}
.inw-gallery-zoom-icon svg {
    width: 20px;
    height: 20px;
}

/* LOCATION */
.inw-location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}
.inw-location-text {
    font-size: 1.15rem;
    line-height: 1.8;
}
.inw-location-map iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 20px;
    /* Filtr zmieniający kolory mapy na spójne z marką (ciepła szarość/sepia) */
    filter: grayscale(90%) sepia(20%) hue-rotate(350deg) contrast(110%);
    transition: filter 0.5s ease;
}
.inw-location-map iframe:hover {
    filter: grayscale(40%) sepia(10%);
}

/* HOUSES TABLE */
.inw-houses-table-wrap {
    overflow-x: auto;
}
.inw-houses-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.inw-houses-table th, .inw-houses-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}
.inw-houses-table th {
    background: var(--gl-bg, #F5F1E4);
    font-weight: bold;
    font-size: 1.1rem;
}
.inw-status {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
}
.status-dostepny { background: #e0f2f1; color: #00796b; }
.status-sprzedany { background: #ffebee; color: #c62828; }
.status-rezerwacja { background: #fff8e1; color: #f57f17; }

.inw-pdf-btn {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gl-gold, #9D7539);
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: background 0.3s;
}
.inw-pdf-btn:hover {
    background: var(--gl-text, #474747);
    color: #fff;
}

/* CONTACT CTA */
.inw-contact-box {
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border: 1px solid var(--gl-gold, #9D7539);
}
.inw-contact-form input, .inw-contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
}
.inw-contact-form input[type="submit"] {
    background: var(--gl-gold, #9D7539);
    color: #fff;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    width: auto;
    padding: 15px 40px;
    border-radius: 30px;
}
.inw-contact-form input[type="submit"]:hover {
    background: var(--gl-text, #474747);
}

@media (max-width: 992px) {
    .inw-about-grid, .inw-location-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .inw-hero-title { font-size: 2.5rem; }
    .inw-section { padding: 50px 0; }
    .inw-section-title { font-size: 2rem; }
}
