/**
 * Afriyah AR Viewer Styles
 * 
 * @package Afriyah_AR
 * @since 1.0.0
 */

/* AR Button */
.afriyah-ar-button {
    display: inline-block;
    padding: 12px 24px;
    margin: 10px 0;
    background: linear-gradient(135deg, #fe4322 0%, #90EE90 100%);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 100, 0, 0.3);
}

.afriyah-ar-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 100, 0, 0.4);
}

.afriyah-ar-button .ar-icon {
    font-size: 20px;
    margin-right: 8px;
}

/* AR Modal */
.afriyah-ar-modal {
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.ar-modal-content {
    position: relative;
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    width: 90%;
    max-width: 900px;
    border-radius: 15px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.ar-modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 35px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    z-index: 10;
}

.ar-modal-close:hover {
    color: #000;
}

/* Model Viewer */
model-viewer {
    border-radius: 10px;
    overflow: hidden;
}

.ar-view-button,
.ar-view-button-modal {
    background: #fe4322;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 100, 0, 0.3);
}

.ar-view-button:hover,
.ar-view-button-modal:hover {
    background: #004d00;
    transform: translateY(-2px);
}

/* AR Instructions */
.ar-instructions {
    margin-top: 20px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 8px;
}

.ar-instructions h4 {
    margin-top: 0;
    color: #fe4322;
}

.ar-instructions ul {
    margin: 10px 0;
    padding-left: 20px;
}

.ar-instructions li {
    margin: 8px 0;
    line-height: 1.6;
}

/* AR Tab */
.afriyah-ar-tab {
    padding: 20px 0;
}

.ar-prompt {
    background: rgba(0, 100, 0, 0.9);
    color: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .ar-modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 15px;
    }
    
    .afriyah-ar-button {
        width: 100%;
        text-align: center;
    }
    
    model-viewer {
        height: 400px !important;
    }
}

@media (max-width: 480px) {
    model-viewer {
        height: 300px !important;
    }
    
    .ar-modal-content h3 {
        font-size: 18px;
    }
}

