/* ===========================================
   3D Page Styles - Zino Theme
   =========================================== */

/* Full-screen 3D container */
#zino-3d-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: #0a0a1a;
    margin: 0;
    padding: 0;
}

/* Three.js Canvas */
#zino-3d-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1;
}

/* Overlay content wrapper */
#zino-3d-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.zino-3d-content {
    max-width: 800px;
    padding: 40px;
    text-align: center;
    color: #ffffff;
    pointer-events: auto;
    background: rgba(10, 10, 26, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: zinoFadeIn 1.5s ease-out;
}

.zino-3d-content h1,
.zino-3d-content h2,
.zino-3d-content h3 {
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 138, 255, 0.3);
}

.zino-3d-content h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 0.5em;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.zino-3d-content h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 0.5em;
}

.zino-3d-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
}

.zino-3d-content a {
    color: #008aff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.zino-3d-content a:hover {
    color: #66b8ff;
    text-decoration: underline;
}

/* Buttons inside 3D page */
.zino-3d-content .wp-block-button__link {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(135deg, #008aff, #00d4ff);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 138, 255, 0.4);
}

.zino-3d-content .wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 138, 255, 0.6);
}

/* Controls hint at bottom */
#zino-3d-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    pointer-events: none;
}

.zino-3d-hint {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    animation: zinoPulse 3s ease-in-out infinite;
}

/* Animations */
@keyframes zinoFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zinoPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Remove default page margins when using this template */
body.page-template-page-3d {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body.page-template-page-3d .site-header,
body.page-template-page-3d .site-footer {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .zino-3d-content {
        margin: 20px;
        padding: 30px 20px;
        max-width: 100%;
    }
    
    .zino-3d-content p {
        font-size: 1rem;
    }
    
    .zino-3d-hint {
        font-size: 0.75rem;
    }
}
