﻿.details-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'Poppins', sans-serif;
}

.btn-back {
    display: inline-block;
    margin-bottom: 25px;
    text-decoration: none;
    color: #6a5acd;
    font-weight: 500;
    transition: 0.2s ease;
}

    .btn-back:hover {
        color: #836fff;
    }

/* GŁÓWNA KARTA */
.details-card {
    display: flex;
    gap: 40px;
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* ZDJĘCIE */
.details-image {
    flex: 0 0 45%;
}

    .details-image img {
        width: 100%;
        height: 100%;
        max-height: 400px;
        object-fit: cover;
        border-radius: 14px;
    }

/* PRAWA STRONA */
.details-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.details-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.details-description {
    margin-bottom: 25px;
    line-height: 1.6;
    color: #555;
}

/* GRID INFORMACJI */
.details-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 20px;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

/* TAGI */
.details-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    padding: 6px 14px;
    border-radius: 20px;
    background: #f4f4ff;
    border: 1px solid #ddd;
    font-size: 0.85rem;
    transition: 0.2s ease;
}

    .tag:hover {
        background: #6a5acd;
        color: white;
        border-color: #6a5acd;
    }

/* SEKCJE (mapa + kalendarz) */
.details-section {
    margin-top: 40px;
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

    .details-section h2 {
        margin-bottom: 20px;
        font-size: 1.3rem;
    }

    /* MAPA */
    .details-section iframe {
        width: 100%;
        height: 350px;
        border: 0;
        border-radius: 12px;
    }

/* KALENDARZ */
#kalendarz {
    max-width: 900px;
    margin: 0 auto;
}

/* RESPONSYWNOŚĆ */
@media (max-width: 992px) {
    .details-card {
        flex-direction: column;
    }

    .details-image {
        flex: unset;
    }

    .details-info-grid {
        grid-template-columns: 1fr;
    }
}
