/*
Theme Name: Seri Digital Atelier
Theme URI: https://www.seri.et
Author: Seri Skill Center
Description: A high-performance, dark-mode, 3D-enabled theme for creative professionals. Features GSAP animations and Three.js integration.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: dark, portfolio, education, creative, threejs, gsap
*/

/* 
   Core styles are handled via Tailwind (CDN for dev/flexibility), 
   but we add WP specific overrides here.
*/

body {
    background-color: #0a0a0a;
    color: white;
    overflow-x: hidden;
}

/* WP Admin Bar Fix for Fixed Header */
.admin-bar nav#navbar {
    top: 32px;
}
@media screen and (max-width: 782px) {
    .admin-bar nav#navbar {
        top: 46px;
    }
}

/* WordPress Core Alignments */
.aligncenter { display: block; margin: 0 auto; }
.alignright { float: right; margin-left: 1.5em; }
.alignleft { float: left; margin-right: 1.5em; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #e85102; }

/* Glassmorphism Utilities */
.glass-panel {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

/* Typography for Posts */
.prose h1, .prose h2, .prose h3 {
    font-family: 'Syne', sans-serif;
}
.prose p {
    font-family: 'Inter', sans-serif;
    color: #9ca3af;
}

/* Magnetic Button Effect */
.btn-magnetic { transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94); }

/* 3D Canvas Containers */
#hero-canvas {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    z-index: 0 !important;
    pointer-events: none !important;
}

/* Hero Section Text Container - Must be above canvas */
section[aria-label="Hero section"] {
    position: relative !important;
    z-index: 10 !important;
}

/* Ensure hero content is properly positioned */
#hero-title,
#hero-sub,
#hero-cta {
    position: relative;
    z-index: 1;
}

#room-canvas-container {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Post Content Enhancements */
.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    margin: 2rem 0;
}

.post-content figure {
    margin: 2rem 0;
}

.post-content figure img {
    margin: 0;
}

.post-content figcaption {
    text-align: center;
    font-size: 0.875rem;
    color: #9ca3af;
    margin-top: 0.5rem;
    font-style: italic;
}
