/*
Theme Name: PluginPress Shell
Theme URI: https://example.com/pluginpress-shell
Author: Gemini
Author URI: https://gemini.google.com
Description: A lightweight, high-performance shell theme designed to work seamlessly with WTV custom plugins. It provides a basic structure, allowing the plugins to control the main content areas without conflicts.
Version: 1.3.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pluginpress-shell
Tags: lightweight, woocommerce, plugin-companion, high-performance

This is a basic stylesheet. Your plugins provide their own styles.
*/

/* --- Global Styles --- */

/* Containers */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Header Styles */
.site-header {
    width: 100%;
    color: #fff;
}

/*
 * Enhance the appearance of the top header strip ("pati").
 * Instead of a flat black bar that spans the full width of the page, the
 * header now features a subtle gradient and rounded lower corners. A
 * soft drop shadow helps lift the bar off the page and gives it a more
 * contemporary, "smart" feel. Additional horizontal padding ensures
 * content isn’t cramped when the bar’s edges are rounded. This update
 * preserves the overall layout (flexbox alignment and positioning) but
 * introduces new visual styling.
 */
.site-header .top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Add more breathing room when edges are rounded */
    padding: 1rem 1.5rem;
    /* Replace the solid black with a dark gradient for a modern look */
    background: linear-gradient(90deg, #0f172a 0%, #1e293b 100%);
    /* Round only the bottom corners; the bar still sits flush at the top */
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    /* Drop shadow to lift the bar from the page */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    position: relative;
}

.site-header .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
}

/* Site logo image */
.site-logo {
    height: 35px;
    width: 35px;
    margin-right: 0.25rem;
}

.site-header .primary-nav .menu {
    display: flex;
    gap: 3rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-header .primary-nav .menu li a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease;
}

.site-header .primary-nav .menu li a:hover {
    color: #f0a500;
}

/* Menu toggle (hamburger) button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

.menu-toggle .hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    position: relative;
}

.menu-toggle .hamburger::before,
.menu-toggle .hamburger::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 2px;
    background: #fff;
    left: 0;
}

.menu-toggle .hamburger::before {
    top: -7px;
}

.menu-toggle .hamburger::after {
    top: 7px;
}

/* Footer Styles */
.site-footer {
    background-color: #000;
    color: #fff;
    padding: 3rem 1rem 1rem;
    font-size: 0.875rem;
}

/* Newsletter Section */
.newsletter-section {
    margin-bottom: 3rem;
    text-align: center;
}

.newsletter-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #fff;
}

.newsletter-description {
    margin-bottom: 1.5rem;
    color: #ccc;
    line-height: 1.5;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #333;
    border-radius: 4px;
    background-color: #1a1a1a;
    color: #fff;
    font-size: 0.875rem;
}

.newsletter-input::placeholder {
    color: #999;
}

.newsletter-submit {
    padding: 0.75rem 1.5rem;
    background-color: #fff;
    color: #000;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.newsletter-submit:hover {
    background-color: #f0f0f0;
}

/* Footer Links */
.footer-links {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

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

.footer-column-title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 0.5rem;
}

.footer-menu li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-menu li a:hover {
    color: #fff;
}

.site-name {
    font-size: 1.25rem;
    font-weight: bold;
    color: #fff;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1.5rem;
    text-align: center;
}

.copyright {
    margin-bottom: 1rem;
    color: #ccc;
}

.footer-legal {
    margin-bottom: 1rem;
}

.footer-legal a {
    color: #ccc;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: #fff;
}

.reference {
    color: #666;
    font-size: 0.75rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Show hamburger on small screens */
    .menu-toggle {
        display: block;
    }

    /* Hide the nav by default on small screens */
    .site-header .primary-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #000;
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
        z-index: 999;
    }

    .site-header .primary-nav.open {
        display: flex;
    }

    .site-header .primary-nav .menu {
        flex-direction: column;
        gap: 1rem;
    }

    .site-header .primary-nav .menu li a {
        padding: 0.5rem 0;
        display: block;
    }

    /* Ensure logo stays extremely small on mobile as well */
    .site-logo {
        height: 35px;
        width: 35px;
        margin-right: 0.25rem;
    }

    /* Footer Responsive */
    .newsletter-form {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-column {
        min-width: 100%;
    }

    .footer-legal a {
        display: block;
        margin: 0.5rem 0;
    }
}

