/* Inwestycje Slider Styles - v1.3.2 */

.inwestycje-slider-wrapper {
    position: relative;
    width: 100%;
    height: 88vh;
    overflow: hidden;
    background: #fff;
}

.inwestycje-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Slajdy - nowy najeżdża na stary */
.inwestycje-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateX(100%);
    transition: transform 0.6s ease-in-out;
    z-index: 1;
    pointer-events: none;
}

.inwestycje-slide.active {
    transform: translateX(0);
    z-index: 3;
    pointer-events: auto;
}

.inwestycje-slide.beneath {
    transform: translateX(0);
    z-index: 2;
}

/* Tło - bez Ken Burns, statyczne */
.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Zawartość slajdu */
.slide-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.slide-content-inner {
    text-align: center;
    padding: 40px;
    background: #494441CF;
    border-radius: 0;
    max-width: 800px;
    width: 90%;
}

/* Lokalizacja */
.slide-location {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Tytuł */
.slide-title {
    font-size: 50px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 30px 0;
    line-height: 1.2;
    text-transform: uppercase;
}

.slide-title a {
    color: #fff;
    text-decoration: none;
}

/* Opis */
.slide-description {
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 40px;
}

.slide-description a {
    color: #fff;
    text-decoration: none;
}

/* Nawigacja */
.slide-nav {
    display: flex;
    flex-direction: row;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.slide-nav-btn {
    width: 2em;
    height: 3em;
    background: transparent;
    border: 1px solid #fff;
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, opacity 0.3s ease;
    color: #fff;
    padding: 0;
}

.slide-nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.slide-nav-btn svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.slide-nav-btn.slide-prev svg {
    transform: rotate(180deg);
}

.slide-nav-btn:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Brak inwestycji */
.inwestycje-slider-empty {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: #666;
}

/* ========================================
   HERO SEKCJA DLA PODSTRONY INWESTYCJI
   ======================================== */

.inwestycja-hero-wrapper {
    position: relative;
    width: 100%;
    height: 88vh;
    overflow: hidden;
    background: #fff;
}

.inwestycja-hero-wrapper .slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.inwestycja-hero-wrapper .slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.inwestycja-hero-wrapper .slide-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.inwestycja-hero-wrapper .slide-content-inner {
    text-align: center;
    padding: 40px;
    background: #494441CF;
    border-radius: 0;
    max-width: 800px;
    width: 90%;
}

.inwestycja-hero-wrapper .slide-location {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.inwestycja-hero-wrapper .slide-title {
    font-size: 50px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 30px 0;
    line-height: 1.2;
    text-transform: uppercase;
}

.inwestycja-hero-wrapper .slide-description {
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 40px;
}

.inwestycja-hero-wrapper .slide-nav {
    display: flex;
    flex-direction: row;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.inwestycja-hero-wrapper .slide-nav-btn {
    width: 2em;
    height: 3em;
    background: transparent;
    border: 1px solid #fff;
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    color: #fff;
    padding: 0;
    text-decoration: none;
}

.inwestycja-hero-wrapper .slide-nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.inwestycja-hero-wrapper .slide-nav-btn svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.inwestycja-hero-wrapper .slide-nav-btn.slide-prev svg {
    transform: rotate(180deg);
}

.inwestycja-hero-wrapper .slide-nav-btn:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Responsywność hero - Tablet */
@media (max-width: 1024px) {
    .inwestycja-hero-wrapper .slide-content-inner {
        padding: 30px;
        max-width: 700px;
    }
    
    .inwestycja-hero-wrapper .slide-title {
        font-size: 40px;
        margin-bottom: 25px;
    }
    
    .inwestycja-hero-wrapper .slide-location {
        font-size: 13px;
        margin-bottom: 18px;
    }
    
    .inwestycja-hero-wrapper .slide-description {
        font-size: 16px;
        margin-bottom: 35px;
    }
}

/* Responsywność hero - Mobile */
@media (max-width: 768px) {
    .inwestycja-hero-wrapper {
        height: 80vh;
        min-height: 500px;
    }
    
    .inwestycja-hero-wrapper .slide-content-inner {
        padding: 25px 20px;
        width: 95%;
    }
    
    .inwestycja-hero-wrapper .slide-title {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .inwestycja-hero-wrapper .slide-location {
        font-size: 12px;
        margin-bottom: 15px;
        letter-spacing: 1.5px;
    }
    
    .inwestycja-hero-wrapper .slide-description {
        font-size: 15px;
        margin-bottom: 30px;
        line-height: 1.5;
    }
}

/* Responsywność hero - Small Mobile */
@media (max-width: 480px) {
    .inwestycja-hero-wrapper {
        min-height: 450px;
    }
    
    .inwestycja-hero-wrapper .slide-content-inner {
        padding: 20px 15px;
    }
    
    .inwestycja-hero-wrapper .slide-title {
        font-size: 26px;
        margin-bottom: 18px;
    }
    
    .inwestycja-hero-wrapper .slide-location {
        font-size: 11px;
        margin-bottom: 12px;
    }
    
    .inwestycja-hero-wrapper .slide-description {
        font-size: 14px;
        margin-bottom: 25px;
    }
}

/* Landscape hero na mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .inwestycja-hero-wrapper {
        height: 80vh;
        min-height: auto;
    }
    
    .inwestycja-hero-wrapper .slide-content-inner {
        padding: 20px;
    }
    
    .inwestycja-hero-wrapper .slide-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .inwestycja-hero-wrapper .slide-location {
        font-size: 11px;
        margin-bottom: 10px;
    }
    
    .inwestycja-hero-wrapper .slide-description {
        font-size: 14px;
        margin-bottom: 20px;
    }
}

/* Responsywność - Tablet */
@media (max-width: 1024px) {
    .slide-content-inner {
        padding: 30px;
        max-width: 700px;
    }
    
    .slide-title {
        font-size: 40px;
        margin-bottom: 25px;
    }
    
    .slide-location {
        font-size: 13px;
        margin-bottom: 18px;
    }
    
    .slide-description {
        font-size: 16px;
        margin-bottom: 35px;
    }
    
    .slide-nav-btn {
        width: 24px;
        height: 44px;
        padding: 10px;
    }
    
    .slide-nav-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* Responsywność - Mobile */
@media (max-width: 768px) {
    .inwestycje-slider-wrapper {
        height: 80vh;
        min-height: 500px;
    }
    
    .slide-content-inner {
        padding: 25px 20px;
        width: 95%;
    }
    
    .slide-title {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .slide-location {
        font-size: 12px;
        margin-bottom: 15px;
        letter-spacing: 1.5px;
    }
    
    .slide-description {
        font-size: 15px;
        margin-bottom: 30px;
        line-height: 1.5;
    }
    
    .slide-nav-btn {
        width: 25px;
        height: 40px;
        padding: 8px;
    }
    
    .slide-nav-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* Responsywność - Small Mobile */
@media (max-width: 480px) {
    .inwestycje-slider-wrapper {
        min-height: 450px;
    }
    
    .slide-content-inner {
        padding: 20px 15px;
    }
    
    .slide-title {
        font-size: 26px;
        margin-bottom: 18px;
    }
    
    .slide-location {
        font-size: 11px;
        margin-bottom: 12px;
    }
    
    .slide-description {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .slide-nav-btn {
        width: 36px;
        height: 46px;
        padding: 8px;
    }
    
    .slide-nav-btn svg {
        width: 14px;
        height: 14px;
    }
}

/* Landscape na mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .inwestycje-slider-wrapper {
        height: 100vh;
        min-height: auto;
    }
    
    .slide-content-inner {
        padding: 20px;
    }
    
    .slide-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .slide-location {
        font-size: 11px;
        margin-bottom: 10px;
    }
    
    .slide-description {
        font-size: 14px;
        margin-bottom: 20px;
    }
}