/*
Theme Name: Alive7
Theme URI: https://example.com/alive7
Author: Antigravity
Author URI: https://example.com
Description: A modern blog theme converted from HTML.
Version: 1.0
License: Gnu General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alive7
*/

/* 
--------------------------------------------------------------
Original Styles from code.html
--------------------------------------------------------------
*/

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,200..800;1,6..72,200..800&family=Noto+Sans:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');

body {
    font-family: 'Noto Sans', sans-serif;
}
h1, h2, h3, h4, h5, h6, .font-display {
    font-family: 'Newsreader', serif;
}

/* 
--------------------------------------------------------------
Lite Animations
--------------------------------------------------------------
*/
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Staggered animation delays */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }

/* 
--------------------------------------------------------------
3-Level Dropdown Menu (Tailwind Compatible)
--------------------------------------------------------------
*/

/* Ensure dropdowns are visible on hover */
.group:hover .group-hover\:block {
    display: block;
}

/* Sub-menu positioning */
.sub-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 200px;
    background-color: white;
    border: 1px solid #e7edf3;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 50;
    padding: 0.5rem 0;
}

.dark .sub-menu {
    background-color: #101922;
    border-color: #1e2a35;
}

/* Level 3 menu positioning (push to right) */
.sub-menu .sub-menu {
    left: 100%;
    top: 0;
    margin-top: -0.5rem;
}

.menu-item:hover > .sub-menu {
    display: block;
    animation: fadeInUp 0.2s ease-out forwards;
}

.menu-item {
    position: relative;
}

.menu-item a {
    display: block;
    padding: 0.5rem 1rem;
    color: #0d141b;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.15s ease-in-out;
}

.dark .menu-item a {
    color: #e7edf3;
}

.menu-item a:hover {
    color: #137fec; /* Primary color */
    background-color: rgba(19, 127, 236, 0.05);
}

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