/* Dialog/Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #1a1a1a;
    border: 3px solid var(--primary-color);
    border-radius: 0;
    padding: 3rem;
    width: 50vw;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideDown 0.4s ease;
    box-shadow: 0 10px 50px rgba(236, 167, 1, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.modal-header h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
}

.modal-image-section {
    margin-bottom: 2rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.modal-image-section img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.close-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: bold;
}

.close-btn:hover {
    background: rgba(236, 167, 1, 0.2);
    transform: rotate(90deg);
}

.modal-body {
    color: white;
    line-height: 1.8;
}

.contact-btn {
    width: 100%;
    margin-top: 1.5rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1000px) {
    .modal-content {
        padding: 2rem;
        width: 95%;
    }
}