/*
Theme Name: Novacents Child
Template: twentytwentyfive
Version: 1.1.0
Description: Child theme for Novacents.com with Global Header/Footer
*/

:root {
    --primary: #6B8E23;
    --accent: #D4AF37;
    --bg-color: #FAFAFA;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.85);
    /* Slightly more opaque for global usage */
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Global Reset & Typography */
body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-dark);
    margin: 0;
    /* Ensure no default margin */
}

/* Header Styles */
header.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    width: 100%;
    /* Force full viewport width */
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--glass);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    /* Crucial for padding */
}

.logo img {
    height: 40px;
}

header.site-header nav.main-nav ul {
    display: flex !important;
    gap: 30px;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

header.site-header nav.main-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
}

header.site-header nav.main-nav a:hover {
    color: var(--primary);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    cursor: pointer;
    z-index: 1002;
    stroke: var(--text-dark);
    width: 24px;
    height: 24px;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-list {
    list-style: none;
    text-align: center;
    gap: 40px;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.mobile-nav-list a {
    font-size: 2rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s;
}

.mobile-nav-list a:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    nav.main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    header.site-header {
        padding: 15px 20px;
    }
}

/* Footer Styles */
footer.site-footer {
    background: #1a1a1a;
    color: #aaa;
    padding: 80px 5% 40px;
    font-size: 0.9rem;
}

footer.site-footer a {
    color: #aaa;
    text-decoration: none;
    transition: 0.3s;
}

footer.site-footer a:hover {
    color: var(--white);
}

footer.site-footer h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-weight: 600;
    font-size: 1.1rem;
}

footer.site-footer ul {
    list-style: none;
    padding: 0;
    line-height: 2.5;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Main Content Padding for Global Pages (to avoid hiding behind fixed header) */
body:not(.page-template-novacents-home) {
    padding-top: 85px;
    /* header height + subtle float */
}