/*
Theme Name: Virtual Universe Hub
Theme URI: https://virtualuniversehub.com/
Author: Gemini
Author URI: https://gemini.google.com/
Description: A professional, lightweight, SEO-friendly, and 100% optimized WordPress theme for VirtualUniverseHub.com.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: lightweight, responsive, seo-friendly, fast, modern
Text Domain: virtualuniversehub

This theme is designed for performance and usability.
*/

/*--------------------------------------------------------------
        1.0 - Global Styles
        --------------------------------------------------------------*/
        :root {
            --primary-color: #0a0a0a;
            --secondary-color: #ffffff;
            --accent-color: #0073aa;
            --light-gray: #f0f0f0;
            --dark-gray: #333;
            --font-family-headings: 'Teko', sans-serif;
            --font-family-body: 'Roboto', sans-serif;
        }

        body {
            font-family: var(--font-family-body);
            line-height: 1.6;
            color: var(--dark-gray);
            background-color: var(--secondary-color);
            margin: 0;
            padding: 0;
            font-size: 16px;
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: var(--font-family-headings);
            font-weight: 700;
            line-height: 1.2;
        }

        h1 { font-size: 3rem; }
        h2 { font-size: 2.5rem; }
        h3 { font-size: 2rem; }

        a {
            color: var(--accent-color);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        a:hover {
            color: var(--primary-color);
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }

        .btn {
            display: inline-block;
            padding: 12px 24px;
            border-radius: 25px;
            background-color: var(--accent-color);
            color: var(--secondary-color);
            text-align: center;
            font-weight: bold;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
        }

        .btn:hover {
            background-color: var(--primary-color);
            transform: translateY(-2px);
        }

        /*--------------------------------------------------------------
        2.0 - Header & Navigation
        --------------------------------------------------------------*/
        .site-header {
            background-color: var(--secondary-color);
            padding: 1rem 0;
            border-bottom: 1px solid var(--light-gray);
            position: sticky;
            top: 0;
            z-index: 1000;
            transition: box-shadow 0.3s ease;
        }

        .site-header.scrolled {
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .site-logo {
            font-family: var(--font-family-headings);
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary-color);
        }

        .main-navigation ul {
            margin: 0;
            padding: 0;
            list-style: none;
            display: flex;
        }

        .main-navigation li {
            margin-left: 20px;
        }
        
        .main-navigation a {
            font-family: var(--font-family-headings);
            font-size: 1.2rem;
            color: var(--dark-gray);
        }

        .hamburger-menu {
            display: none;
            cursor: pointer;
        }

        .hamburger-menu i {
            font-size: 1.5rem;
        }

        /*--------------------------------------------------------------
        3.0 - Article
        --------------------------------------------------------------*/
        .article-header {
            text-align: center;
            padding: 4rem 0;
        }

        .article-header h1 {
            margin-bottom: 1rem;
        }

        .article-meta {
            font-size: 0.9rem;
            color: #666;
        }

        .featured-image {
            margin-bottom: 2rem;
        }

        .article-content {
            display: flex;
            gap: 2rem;
        }

        .main-content {
            flex: 3;
        }

        .sidebar {
            flex: 1;
        }

        /* Table of Contents */
        .toc {
            background-color: var(--light-gray);
            padding: 1.5rem;
            border-radius: 8px;
            position: sticky;
            top: 100px;
        }

        .toc h3 {
            margin-top: 0;
        }

        .toc ul {
            list-style: none;
            padding: 0;
        }

        .toc li a {
            display: block;
            padding: 0.5rem 0;
            border-bottom: 1px solid #ddd;
        }

        /* Content Structure */
        .main-content h2 {
            margin-top: 3rem;
        }

        .main-content p {
            margin-bottom: 1.5rem;
        }

        .main-content ul {
            list-style: disc;
            padding-left: 20px;
            margin-bottom: 1.5rem;
        }

        .key-insights {
            background-color: #eaf4ff;
            border-left: 4px solid var(--accent-color);
            padding: 1.5rem;
            margin: 2rem 0;
        }

        .key-insights ul {
            list-style: none;
            padding: 0;
        }

        .key-insights li {
            margin-bottom: 0.5rem;
        }

        .key-insights i {
            margin-right: 10px;
            color: var(--accent-color);
        }

        /* Infographics & Videos */
        .infographic, .video-container {
            margin: 2rem 0;
            text-align: center;
        }

        .video-container {
            position: relative;
            padding-bottom: 56.25%; /* 16:9 */
            height: 0;
        }

        .video-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        /*--------------------------------------------------------------
        4.0 - Author, Comments, Related Posts
        --------------------------------------------------------------*/
        .author-box {
            display: flex;
            gap: 1.5rem;
            padding: 2rem;
            background-color: var(--light-gray);
            border-radius: 8px;
            margin-top: 3rem;
        }

        .author-avatar img {
            border-radius: 50%;
        }

        .author-info h4 {
            margin-top: 0;
        }

        .comments-section, .related-posts {
            margin-top: 3rem;
        }

        .comment-form textarea {
            width: 100%;
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 5px;
            margin-bottom: 1rem;
        }

        .related-posts-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1.5rem;
        }

        .related-post-card {
            border: 1px solid var(--light-gray);
            border-radius: 8px;
            overflow: hidden;
        }

        .related-post-card img {
            width: 100%;
            height: 150px;
            object-fit: cover;
        }

        .related-post-card-content {
            padding: 1rem;
        }

        /*--------------------------------------------------------------
        5.0 - Footer
        --------------------------------------------------------------*/
        .site-footer {
            background-color: var(--primary-color);
            color: var(--secondary-color);
            padding: 3rem 0;
            margin-top: 4rem;
        }

        .footer-container {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 2rem;
        }

        .footer-widget {
            flex: 1;
            min-width: 200px;
        }

        .footer-widget h4 {
            color: var(--secondary-color);
        }

        .footer-widget ul {
            list-style: none;
            padding: 0;
        }

        .footer-widget a {
            color: var(--light-gray);
        }

        .newsletter-form input[type="email"] {
            width: 100%;
            padding: 10px;
            border-radius: 5px;
            border: none;
            margin-bottom: 10px;
        }

        .footer-bottom {
            text-align: center;
            margin-top: 2rem;
            border-top: 1px solid var(--dark-gray);
            padding-top: 1rem;
        }

        /*--------------------------------------------------------------
        6.0 - Responsive
        --------------------------------------------------------------*/
        @media (max-width: 768px) {
            .main-navigation {
                display: none;
                flex-direction: column;
                width: 100%;
                background-color: var(--secondary-color);
                position: absolute;
                top: 70px;
                left: 0;
                padding: 1rem 0;
            }

            .main-navigation.active {
                display: flex;
.
            }

            .main-navigation li {
                margin: 10px 20px;
            }

            .hamburger-menu {
                display: block;
            }

            .article-content {
                flex-direction: column;
            }

            .toc {
                position: static;
                margin-bottom: 2rem;
            }
        }

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 - Global Styles
2.0 - Header
3.0 - Navigation
4.0 - Hero Section
5.0 - Main Content
6.0 - Blog Grid
7.0 - Single Post
8.0 - Pages
9.0 - Footer
10.0 - Social Icons
11.0 - Buttons
12.0 - Animations & Transitions
13.0 - Media Queries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 - Global Styles
--------------------------------------------------------------*/
:root {
    --primary-color: #0a0a0a;
    --secondary-color: #ffffff;
    --accent-color: #0073aa;
    --light-gray: #f0f0f0;
    --dark-gray: #333;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--secondary-color);
    margin: 0;
    padding: 0;
    font-size: 16px;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--dark-gray);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/*--------------------------------------------------------------
11.0 - Buttons
--------------------------------------------------------------*/
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 25px;
    background-color: var(--accent-color);
    color: var(--secondary-color);
    text-align: center;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--dark-gray);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/*--------------------------------------------------------------
12.0 - Animations & Transitions
--------------------------------------------------------------*/
.smooth-load {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/*--------------------------------------------------------------
2.0 - Header
--------------------------------------------------------------*/
.site-header {
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--light-gray);
}

/*--------------------------------------------------------------
3.0 - Navigation
--------------------------------------------------------------*/
.main-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

.main-navigation li {
    margin-left: 20px;
}

/*--------------------------------------------------------------
5.0 - Main Content
--------------------------------------------------------------*/
.site-content {
    padding: 2rem;
}

/*--------------------------------------------------------------
6.0 - Blog Grid
--------------------------------------------------------------*/
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-item {
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.grid-item .entry-header,
.grid-item .entry-summary,
.grid-item .entry-footer {
    padding: 1rem;
}

.grid-item .featured-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}


/*--------------------------------------------------------------
7.0 - Single Post
--------------------------------------------------------------*/
.entry-content {
    margin-top: 1.5rem;
}

.social-share {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--light-gray);
}


/*--------------------------------------------------------------
9.0 - Footer
--------------------------------------------------------------*/
.site-footer {
    background-color: var(--dark-gray);
    color: var(--secondary-color);
    padding: 2rem;
    text-align: center;
}

.site-footer a {
    color: var(--secondary-color);
}


/*--------------------------------------------------------------
10.0 - Social Icons
--------------------------------------------------------------*/
.social-share-buttons,
.social-follow-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 1rem;
}

.social-share-button,
.social-follow-button {
    padding: 10px 15px;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
}

.social-share-button.facebook, .social-follow-button.facebook { background-color: #1877F2; }
.social-share-button.whatsapp, .social-follow-button.whatsapp { background-color: #25D366; }
.social-share-button.youtube, .social-follow-button.youtube { background-color: #FF0000; }
.social-share-button.telegram, .social-follow-button.telegram { background-color: #0088cc; }
.social-share-button.linkedin, .social-follow-button.linkedin { background-color: #0A66C2; }
.social-share-button.copy-link { background-color: #6c757d; border: none; font-family: inherit; font-size: inherit; }


/*--------------------------------------------------------------
13.0 - Media Queries
--------------------------------------------------------------*/
@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
    }

    .main-navigation ul {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    .main-navigation li {
        margin: 10px 0;
    }
}

/* Video Container */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
