/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    background: #111;
    margin: 5% auto;
    width: 90%;
    max-width: 1000px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border-radius: 16px;
    position: relative;
    transform: translateY(50px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%);
    overflow: hidden;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    right: 25px;
    top: 20px;
    color: var(--text-muted);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    line-height: 1;
}

.close-modal:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.modal-image-col {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.modal-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 10s ease;
    /* Subtle zoom effect */
}

.modal.show .modal-image-col img {
    transform: scale(1.1);
}

.modal-text-col {
    padding: 3rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.btn-text {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    margin-top: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-text:hover {
    color: white;
    transform: translateX(5px);
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.8rem;
    color: var(--text-color);
}

.feature-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary);
}

@media (max-width: 900px) {
    .modal-body {
        grid-template-columns: 1fr;
    }

    .modal-image-col {
        height: 300px;
    }

    .modal-text-col {
        padding: 2rem;
    }

    .modal-content {
        margin: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
        max-width: none;
    }
}