﻿/* ===== GENERAL ===== */
.default-section {
    margin: 0 1.5rem;
}
.info-section {
    margin: 20px auto;
    padding: 10px;
    border-radius: 5px;
    background: var(--background-light);
    color: var(--text-color);
    font-family: 'Segoe UI', sans-serif;
}

    .info-section h1,
    .info-section h2,
    .info-section h3 {
        color: var(--primary-dark);
    }

    .info-section p {
        line-height: 1.6;
        color: var(--text-color);
    }

/* ===== INTRO SECTION ===== */
.intro-section {
    background: linear-gradient(180deg, var(--background-light) 0%, #fff 100%);
    padding: 2rem 1rem;
    border-radius: 12px;
}

    .intro-section img {
        max-height: 400px;
        object-fit: cover;
        border-radius: 12px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

/* ===== CARD BASE ===== */
.card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    }

    /* ===== TEXT SECTION ===== */
    .card p {
        color: var(--text-mute);
        margin-bottom: 0;
    }

/* ===== GRID SECTION ===== */
.grid-section {
    margin-top: 2rem;
}

    .grid-section .col-md-6 {
        margin-bottom: 0.5rem;
    }

    .grid-section strong {
        color: var(--primary-dark);
    }

/* ===== IMAGE-RIGHT SECTION ===== */
.image-right {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}

    .image-right img {
        width: 100%;
        max-width: 500px;
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .image-right p {
        margin-bottom: 0;
    }

/* ===== GALLERY SECTION ===== */
.gallery-section {
    margin-top: 3rem;
    text-align: center;
}

    .gallery-section h2 {
        font-weight: 700;
        color: var(--primary-color);
        margin-bottom: 2rem;
    }

    .gallery-section .card {
        border-radius: 10px;
        background: var(--white);
        border: 1px solid var(--border-color);
        transition: all 0.25s ease;
        height: 100%;
    }

        .gallery-section .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
        }

    .gallery-section img {
        max-height: 220px;
        width: 100%;
        object-fit: cover;
        border-radius: 10px;
        margin-bottom: 1rem;
    }

    .gallery-section h5 {
        color: var(--primary-dark);
        font-weight: 600;
    }

    .gallery-section p {
        color: var(--text-mute);
        font-size: 0.95rem;
    }

    .gallery-section ul {
        text-align: left;
        list-style-type: disc;
        padding-left: 1.2rem;
        margin-top: 0.5rem;
        color: var(--text-mute);
    }

/* ===== LIST SECTION ===== */
ul {
    list-style-type: disc;
    padding-left: 1.2rem;
    color: var(--text-mute);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .image-right {
        flex-direction: column;
        text-align: center;
    }

        .image-right img {
            max-width: 100%;
        }

    .gallery-section .card {
        margin-bottom: 1.5rem;
    }
}

/* ===== LIST SECTION ===== */
.list-card {
    background: var(--white);
}

    .list-card h3 {
        color: var(--primary-dark);
    }

.info-list {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--text-mute);
}

    .info-list li {
        margin-bottom: 0.4rem;
    }

/* ===== IMAGE-INFO SECTION ===== */

.image-info-section {
    object-fit: contain;
    text-align: center;
}

    .image-info-section figure {
        margin: 0;
        padding: 0;
    }

.image-info-img {
    max-width: 100%;
    max-height: 50vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

.image-info-caption {
    font-style: italic;
    color: var(--text-mute);
    margin-top: 0.5rem;
    font-size: 0.9rem;
    text-align: center;
}
