/* ===============================================
   MACHU PICCHU SUMMARY SECTION (REDESIGNED)
=============================================== */
.machu-picchu-summary {
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 20px;
    display: block;
    position: relative;
    z-index: 10;
}

/* --- Section Title (Centered) --- */
.mp-titles {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #2C3E50;
    margin-bottom: 40px;
    line-height: 1.2;
    text-transform: uppercase;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.mp-titles::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;

}

.mp-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    /* Removing gap to join them */
    align-items: stretch;
    background: #ffffff;
    /* Unified background */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    /* Unified shadow */
    border-radius: 30px;
    /* Unified corners */
    overflow: hidden;
    /* Clip content */
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Text Column (Left) --- */
.mp-text-col {
    background-color: transparent;
    padding: 30px;
    /* Reduced specific padding */
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    border: none;
}

.mp-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    /* Smaller title */
    font-weight: 800;
    color: #2C3E50;
    margin-bottom: 15px;
    /* Reduced margin */
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 10px;
}

.mp-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: #5BC785;
    /* A nice yellow accent */
    border-radius: 2px;
}

.mp-paragraph {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    /* Smaller text */
    color: #2c3e50;
    line-height: 1.5;
    /* tighter lines */
    margin-bottom: 10px;
    /* tighter spacing */
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mp-paragraph strong {
    font-weight: 700;
    color: #2ECC71;
}

.mp-paragraph.em-text {
    font-style: italic;
    margin-bottom: 15px;
    /* tighter spacing */
    color: #2C3E50;
    opacity: 0.9;
    font-weight: 500;
}

/* --- Button Style --- */
.btn-mp-warning {
    background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    padding: 12px 25px;
    /* Smaller button */
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(46, 204, 113, 0.3);
    font-size: 0.85rem;
    letter-spacing: 1px;
    width: auto;
    min-width: 200px;
    justify-content: center;
    border: none;
    cursor: pointer;
    margin-top: 5px;
}

.btn-mp-warning:hover {
    background: #FFFFFF;
    color: #2ECC71;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(46, 204, 113, 0.4);
}

/* --- Image Column (Right) --- */
.mp-image-col {
    height: 100%;
    min-height: 100%;
    width: 100%;
    border-radius: 0;
    /* Removed individual radius */
    overflow: hidden;
    position: relative;
    box-shadow: none;
}

.mp-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.01);
    /* Slight zoom to avoid pixel gaps */
    transition: transform 0.6s ease;
}

.mp-image-col:hover .mp-image {
    transform: scale(1.05);
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .mp-content-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .mp-text-col {
        padding: 40px 30px;
        order: 2;
    }

    .mp-image-col {
        min-height: 350px;
        height: 350px;
        order: 1;
    }

    .btn-mp-warning {
        width: 100%;
    }

    /* Mobile Collapse Logic */
    .mp-text-content {
        max-height: 200px;
        overflow: hidden;
        position: relative;
        transition: max-height 0.8s ease;
    }

    .mp-text-content::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100px;
        background: linear-gradient(to bottom, transparent, #ffffff);
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .mp-text-content.expanded {
        max-height: 2000px;
        /* Large enough to fit content */
    }

    .mp-text-content.expanded::after {
        opacity: 0;
    }

    .mp-toggle-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        background: none;
        border: none;
        color: #1A5D1A;
        font-family: 'Poppins', sans-serif;
        font-weight: 700;
        cursor: pointer;
        margin: 20px auto 0;
        padding: 10px;
        width: 100%;
    }

    .mp-toggle-btn i {
        font-size: 1.5rem;
        margin-bottom: 5px;
        animation: bounce 2s infinite;
    }

    .mp-toggle-btn span {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
}

/* Desktop: Hide toggle button */
@media (min-width: 993px) {
    .mp-toggle-btn {
        display: none;
    }
}