/* CSS dla bloku mapa-realizacji */
.mapa-realizacji {
    /* Style tutaj */
}

/* Mapa - responsive wysokość */
.map-container {
    min-height: 400px;
    height: 400px;
}

@media (max-width: 768px) {
    .map-container {
        min-height: 300px;
        height: 300px;
        order: 2; /* Mapa na dole na mobile */
    }
}

/* Kontener z treścią */
.content-container {
    padding: 2rem 1.5rem;
}

@media (max-width: 768px) {
    .content-container {
        padding: 1.5rem 1rem;
        order: 1; /* Treść na górze na mobile */
        text-align: center;
    }
}

/* Responsywny tytuł */
.title-responsive {
    font-size: 2rem;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .title-responsive {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .title-responsive {
        font-size: 1.25rem;
    }
}

/* Kreska - responsywna szerokość */
.kreska-realizacja-40 {
    width: 40%;
    height: 1px;
    background-color: black;
    z-index: 999;
    position: relative;
    margin: 1rem 0;
}

@media (max-width: 768px) {
    .kreska-realizacja-40 {
        width: 60%;
        margin: 1rem auto;
    }
}

@media (max-width: 480px) {
    .kreska-realizacja-40 {
        width: 80%;
    }
}

/* Opis tekstu */
.description-text {
    margin-bottom: 2rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .description-text {
        margin-bottom: 1.5rem;
        font-size: 0.95rem;
    }
}

/* Przycisk responsywny */
.btn-responsive {
    padding: 0.75rem 1.5rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    min-width: auto;
}

@media (max-width: 768px) {
    .btn-responsive {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        width: auto;
        min-width: 200px;
    }
}

@media (max-width: 480px) {
    .btn-responsive {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        min-width: 180px;
        text-align: center;
    }
}

/* Google Maps InfoWindow na mobile */
.info-window-mobile {
    padding: 0.5rem;
    max-width: 250px;
}

.info-window-mobile strong {
    font-size: 1rem;
    color: #333;
}

.info-window-mobile .address-text {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.25rem;
    display: block;
}

@media (max-width: 480px) {
    .info-window-mobile {
        max-width: 200px;
        padding: 0.4rem;
    }
    
    .info-window-mobile strong {
        font-size: 0.9rem;
    }
    
    .info-window-mobile .address-text {
        font-size: 0.8rem;
    }
}

/* Poprawki dla bardzo małych ekranów */
@media (max-width: 360px) {
    .content-container {
        padding: 1rem 0.75rem;
    }
    
    .title-responsive {
        font-size: 1.1rem;
    }
    
    .description-text {
        font-size: 0.9rem;
    }
    
    .map-container {
        min-height: 250px;
        height: 250px;
    }
}

/* Poprawki dla orientacji poziomej na mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .map-container {
        min-height: 250px;
        height: 250px;
    }
    
    .content-container {
        padding: 1rem;
    }
    
    .title-responsive {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    
    .description-text {
        margin-bottom: 1rem;
    }
}

/* Hover efekty tylko dla desktop */
@media (min-width: 769px) {
    .btn-responsive:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }
}
