/* MK 3D Walkthrough */

.mk-3dw-section {
    padding: 80px 30px;
    background-color: #fff;
    text-align: center;
}

.mk-3dw-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--mk-dark);
    margin-bottom: 10px;
    text-align: center;
}

.mk-3dw-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 16px;
    text-align: center;
}

.mk-3dw-description {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: var(--mk-gray);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Container — aspect-ratio padding trick */
.mk-3dw-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

.mk-3dw-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Fullscreen button */
.mk-3dw-fullscreen {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    opacity: 0;
}

.mk-3dw-container:hover .mk-3dw-fullscreen {
    opacity: 1;
}

.mk-3dw-fullscreen:hover {
    background: rgba(0, 0, 0, 0.85);
    transform: scale(1.1);
}

.mk-3dw-fullscreen svg {
    width: 20px;
    height: 20px;
}

/* Fullscreen active state */
.mk-3dw-fullscreen-active {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    padding-bottom: 0 !important;
    border-radius: 0 !important;
    z-index: 99999;
    margin: 0;
}

.mk-3dw-fullscreen-active .mk-3dw-fullscreen {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .mk-3dw-section {
        padding: 50px 20px;
    }
    .mk-3dw-section h2 {
        font-size: 1.8rem;
    }
    .mk-3dw-subtitle {
        font-size: 1rem;
    }
    .mk-3dw-fullscreen {
        opacity: 1;
        width: 38px;
        height: 38px;
        top: 10px;
        right: 10px;
    }
}
