/* Landing Page Inwestorzy - Apartamenty Mielno */
/* Zachowujemy pełną spójność ze stylistyką głównej strony */

/* ===== ZMIENNE CSS ===== */
:root {
    --primary-green: #546819;
    --dark-green: #323E0F;
    --light-green: #546819;
    /* Zmieniono na główny kolor zielony ze strony głównej */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #333333;
    --text-color: #222233;
    --border-gray: #e0e0e0;
}

/* ===== PODSTAWOWE STYLE ===== */
.lp-inwestorzy {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
}

/* ===== NAWIGACJA ===== */
.lp-nav {
    background: rgba(50, 62, 15, 0.98);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    /* Kompaktowy padding jako domyślny */
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.lp-nav .navbar-brand .logo {
    height: 40px;
    /* Standardowa wysokość logo */
    transition: height 0.3s ease;
}

.lp-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    padding: 0.5rem 0.8rem;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    white-space: nowrap;
}

.lp-nav .nav-link:hover {
    color: var(--light-green) !important;
}

.lp-nav .btn-main {
    background: var(--white) !important;
    color: var(--primary-green) !important;
    border: 1px solid var(--primary-green) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.lp-nav .btn-main:hover {
    background: #EAEEDD !important;
    color: var(--primary-green) !important;
    border-color: var(--primary-green) !important;
    transform: translateY(-2px);
    text-decoration: none;
}

/* ===== HERO SECTION ===== */
.lp-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(50, 62, 15, 0.8), rgba(84, 104, 25, 0.6));
    z-index: -1;
}

.hero-content {
    padding-top: 60px;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--white);
}

.hero-title {
    font-size: 3rem;
    font-weight: 400;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1rem;
    font-family: 'IvyPrestoHeadline', serif;
}

.hero-title .highlight {
    color: var(--white) !important;
}

.hero-description {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ===== HERO INFO BAR ===== */
.hero-info-bar {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.info-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 200px;
}

.info-icon {
    background: var(--light-green);
    padding: 0.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-text {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.25rem;
}

.info-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
}

.hero-cta {
    background: var(--light-green);
    color: var(--white);
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.hero-cta:hover {
    background: var(--primary-green);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(84, 104, 25, 0.3);
    color: var(--white);
}

/* ===== SEKCJE GŁÓWNE ===== */
section {
    padding: 5rem 0;
}

.main-heading {
    margin-bottom: 3rem;
}

.heading-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-green);
    line-height: 1.3;
    font-family: 'IvyPrestoHeadline', serif;
}

/* ===== PROBLEM & ROZWIĄZANIE ===== */
.problem-solution-sec {
    background: var(--light-gray);
}

.problem-block,
.solution-block {
    padding: 2.5rem;
    border-radius: 15px;
    height: 100%;
}

.problem-block {
    background: var(--white);
}

.solution-block {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: var(--white);
}

.solution-block .block-title,
.solution-block .block-text {
    color: var(--white) !important;
}

.block-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.block-text {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
    color: var(--primary-green);
}

/* ===== KORZYŚCI ===== */
.benefits-sec {
    background: var(--white);
}

.benefit-box {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid var(--border-gray);
    margin-bottom: 2rem;
}

.benefit-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(84, 104, 25, 0.1);
    border-color: var(--light-green);
}

.benefit-icon {
    background: linear-gradient(135deg, var(--light-green), var(--primary-green));
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.benefit-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.benefit-text {
    color: var(--text-gray);
    line-height: 1.6;
}

/* ===== SZCZEGÓŁY INWESTYCJI ===== */
.investment-details-sec {
    background: var(--light-gray);
}

.investment-tabs {
    margin-top: 3rem;
}

.nav-tabs {
    border: none;
    margin-bottom: 3rem;
}

.nav-tabs .nav-link {
    background: var(--white);
    color: var(--text-gray);
    border: 2px solid var(--border-gray);
    border-radius: 10px;
    margin: 0 0.5rem;
    padding: 1rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link.active {
    background: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
}

.nav-tabs .nav-link:hover {
    border-color: var(--light-green);
    color: var(--primary-green);
}

.tab-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tab-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 2rem;
}

/* ===== TABELA APARTAMENTÓW ===== */
.apartments-table {
    margin-top: 2rem;
}

.apartments-table th {
    background: var(--primary-green);
    color: var(--white);
    font-weight: 600;
    border: none;
    padding: 1rem;
    text-align: left;
}

.apartments-table td {
    padding: 1rem;
    vertical-align: middle;
    border-color: var(--border-gray);
}

.status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.status.available {
    background: #d4edda;
    color: #155724;
}

.status.reserved {
    background: #fff3cd;
    color: #856404;
}

.status.sold {
    background: #f8d7da;
    color: #721c24;
}

/* ===== LISTA STANDARDÓW ===== */
.standard-list {
    list-style: none;
    padding: 0;
}

.standard-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-gray);
    position: relative;
    padding-left: 2rem;
}

.standard-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--light-green);
    font-weight: bold;
    font-size: 1.2rem;
}

.download-buttons .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* ===== TIMELINE BUDOWY ===== */
.construction-timeline {
    margin: 2rem 0;
}

.timeline-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 10px;
    background: var(--light-gray);
}

.timeline-item.completed {
    background: #d4edda;
}

.timeline-item.current {
    background: #fff3cd;
    border: 2px solid var(--light-green);
}

.timeline-date {
    font-weight: 600;
    color: var(--primary-green);
    min-width: 80px;
}

.timeline-content {
    flex: 1;
}

/* ===== SZCZEGÓŁOWY HARMONOGRAM ===== */
.detailed-timeline {
    margin-top: 2rem;
}

.timeline-stage {
    background: var(--white);
    border-left: 4px solid var(--primary-green);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.timeline-stage h4 {
    color: var(--primary-green);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-stage p {
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.timeline-stage ul {
    margin-left: 1rem;
    margin-bottom: 0;
}

.timeline-stage ul li {
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.timeline-note {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 2rem;
}

.timeline-note p:last-child {
    margin-bottom: 0;
}

/* ===== SEKCJA DEWELOPER ===== */
.developer-sec {
    background: var(--light-gray);
}

.developer-sec .row {
    align-items: center;
    /* Wyśrodkowanie pionowe na desktop */
}

/* ===== OSTATNIE INWESTYCJE ===== */
.recent-investments h3 {
    color: var(--primary-green);
    font-weight: 600;
}

.investment-item {
    padding: 1rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.investment-item:hover {
    transform: translateY(-2px);
}

.investment-item h5 {
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.investment-item p {
    margin-bottom: 0.25rem;
    color: var(--dark-gray);
}

/* ===== SEKCJA POSTĘP PRAC ===== */
.construction-progress-sec {
    background: var(--light-gray);
}

.video-container {
    margin-bottom: 2rem;
}

.video-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.video-wrapper video {
    max-height: 400px;
    object-fit: cover;
}

.video-wrapper.vertical-video {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-wrapper.vertical-video video {
    height: 600px;
    /* Stała wysokość zamiast max-height */
    width: auto;
    /* Szerokość dostosuje się automatycznie */
    max-width: 100%;
    /* Nie przekraczaj szerokości kontenera */
    object-fit: contain;
    /* Zachowaj pełny obraz */
}

.construction-photos .photo-item {
    transition: transform 0.3s ease;
}

.construction-photos .photo-item:hover {
    transform: translateY(-5px);
}

.construction-photos img {
    height: 250px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.construction-photos img:hover {
    transform: scale(1.02);
}

.photo-caption {
    text-align: center;
    padding: 0.5rem;
}

/* ===== SEKCJA DEWELOPER ===== */
#postep-budowy .heading-title{
    color: #323E0F;
}
#postep-budowy {
    color:#000;
}
#postep-budowy .text-muted{
    color:#000!important;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--dark-gray);
    opacity: 0.8;
}

.developer-card,
.construction-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.developer-card:hover,
.construction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.developer-stats .stat-item {
    padding: 1rem 0;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.5rem;
    font-family: 'IvyPrestoHeadline', serif;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-bottom: 0;
}

.developer-info h3,
.construction-diary h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 1.5rem;
}

.construction-gallery {
    margin: 1.5rem 0;
}

.construction-img {
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.construction-img:hover {
    transform: scale(1.05);
}

/* ===== FINALNE CTA ===== */
.final-cta-sec {
    background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
    color: var(--white);
}

.final-cta-sec .heading-title {
    color: var(--white);
}

.cta-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 3rem;
    color: var(--white);
}

/* ===== WIZYTÓWKA KONTAKTOWA ===== */
.contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-photo {
    margin-bottom: 1.5rem;
}

.contact-photo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--light-green);
}

.contact-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-position {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--light-green);
}

/* ===== FORMULARZ KONTAKTOWY ===== */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lp-contact-form .form-group {
    margin-bottom: 1.5rem;
}

.lp-contact-form label {
    color: var(--white);
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.lp-contact-form .form-control {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.lp-contact-form .form-control:focus {
    background: var(--white);
    border-color: var(--light-green);
    box-shadow: 0 0 0 0.2rem rgba(143, 191, 71, 0.25);
}

.form-check-label {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-left: 0.5rem;
}

.form-check-input:checked {
    background-color: var(--light-green);
    border-color: var(--light-green);
}

/* ===== FOOTER ===== */
/* Usunięto style .lp-footer - używamy oryginalnych stylów .m-footer ze strony głównej */

.legal-disclaimer {
    font-size: 0.8rem;
    opacity: 0.7;
    line-height: 1.4;
    text-align: justify;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== PRZYCISKI ===== */
.btn-main {
    background: var(--light-green);
    color: var(--white);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-main:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(84, 104, 25, 0.3);
}

.btn-outline-primary {
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    background: transparent;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
    text-decoration: none;
}

.btn-outline-primary:focus {
    box-shadow: none;
    border-color: var(--primary-green);
    color: var(--primary-green);
}

/* ===== RESPONSYWNOŚĆ ===== */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 3rem;
    }

    .info-items {
        justify-content: center;
    }

    .info-item {
        min-width: 250px;
    }
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.2rem;
    }

    .info-items {
        flex-direction: column;
        text-align: center;
    }

    .info-item {
        justify-content: center;
        min-width: auto;
        width: 100%;
    }

    .hero-info-bar {
        padding: 1.5rem;
    }

    .benefit-box {
        margin-bottom: 2rem;
    }

    .nav-tabs .nav-link {
        margin: 0.25rem;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .tab-content {
        padding: 2rem;
    }

    .contact-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767px) {
    section {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .heading-title {
        font-size: 2rem;
    }

    .hero-content {
        padding-top: 80px;
    }

    .hero-info-bar {
        padding: 1rem;
        margin: 2rem 0;
    }

    .info-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .benefit-box {
        padding: 2rem;
    }

    .nav-tabs {
        flex-direction: column;
    }

    .nav-tabs .nav-link {
        margin: 0.25rem 0;
        text-align: center;
    }

    .tab-content {
        padding: 1.5rem;
    }

    .apartments-table {
        font-size: 0.9rem;
    }

    .apartments-table th,
    .apartments-table td {
        padding: 0.5rem;
    }

    .timeline-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .contact-details {
        gap: 1.5rem;
    }

    .contact-item {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .heading-title {
        font-size: 1.8rem;
    }

    .hero-cta {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }

    .benefit-box {
        padding: 1.5rem;
    }

    .benefit-icon {
        width: 60px;
        height: 60px;
    }

    .contact-form-wrapper,
    .contact-card {
        padding: 1.5rem;
    }

    .apartments-table {
        font-size: 0.8rem;
    }

    .video-wrapper.vertical-video video {
        height: 400px;
        /* Stała wysokość na mobile */
        width: auto;
        max-width: 100%;
    }

    .lp-nav .nav-link {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }

    .lp-nav .navbar-brand .logo {
        height: 35px;
    }

    .developer-sec .row {
        align-items: flex-start;
        /* Na mobile nie wyśrodkowuj pionowo */
    }
}

/* ===== LAZY LOADING STYLES ===== */
.lazy {
    opacity: 0;
    transition: opacity 0.3s;
    background: #f0f0f0;
}

.lazy:not([data-src]) {
    opacity: 1;
}

.lazy-video {
    background: #f0f0f0;
    cursor: pointer;
    position: relative;
}

.lazy-video::before {
    content: "▶ Kliknij aby załadować wideo";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    pointer-events: none;
    z-index: 1;
}

.lazy-video:not([data-src])::before {
    display: none;
}

/* ===== LIGHTBOX STYLES ===== */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
}

.lightbox-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    color: white;
    text-align: center;
    margin-top: 1rem;
    font-size: 1.1rem;
    max-width: 600px;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-trigger {
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ===== ANIMACJE ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content>* {
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    animation-delay: 0.2s;
}

.hero-title {
    animation-delay: 0.4s;
}

.hero-description {
    animation-delay: 0.6s;
}

.hero-info-bar {
    animation-delay: 0.8s;
}

.hero-cta {
    animation-delay: 1s;
}

/* ===== SMOOTH SCROLLING ===== */
html {
    scroll-behavior: smooth;
}