/*!
Theme Name: Cyberpunk Neon 80s
Theme URI: https://example.com/cyberpunk-neon-80s
Author: Manus
Author URI: https://example.com
Description: Un tema WordPress responsive con estética cyberpunk de los 80s, soporte completo para WooCommerce y barra lateral. Diseño oscuro con neón, glitch effects y tipografía futurista.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cyberpunk-neon-80s
Domain Path: /languages
Requires at least: 5.0
Requires PHP: 7.4
WC Tested up to: 8.0
*/

/* ============================================
   RESET Y ESTILOS BASE
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
}

body {
    background-color: #050505;
    color: #e0e0e0;
    font-family: 'Roboto Mono', 'Share Tech Mono', monospace;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', 'Arial Black', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
}

h4, h5, h6 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #00ffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
}

/* ============================================
   CONTENEDOR PRINCIPAL
   ============================================ */

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

/* ============================================
   HEADER
   ============================================ */

header.site-header {
    background-color: #0a0a0a;
    border-bottom: 2px solid #ff00ff;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.site-branding {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-logo {
    max-width: 60px;
    height: auto;
}

.site-title {
    font-size: 1.8rem;
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
    margin: 0;
}

.site-title a {
    color: #00ffff;
}

.site-description {
    font-size: 0.8rem;
    color: #9d00ff;
    text-shadow: 0 0 5px #9d00ff;
    margin: 0;
    letter-spacing: 1px;
}

/* ============================================
   NAVEGACIÓN
   ============================================ */

nav.site-navigation {
    display: flex;
    gap: 2rem;
}

nav.site-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav.site-navigation a {
    color: #e0e0e0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 0.5rem;
}

nav.site-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #00ffff;
    box-shadow: 0 0 10px #00ffff;
    transition: width 0.3s ease;
}

nav.site-navigation a:hover::after {
    width: 100%;
}

nav.site-navigation a:hover {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
}

/* ============================================
   LAYOUT PRINCIPAL
   ============================================ */

.site-content {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    min-height: calc(100vh - 300px);
}

.main-content {
    flex: 1;
    min-width: 0;
}

.sidebar {
    width: 300px;
    background-color: #0a0a0a;
    border: 1px solid #9d00ff;
    box-shadow: 0 0 15px rgba(157, 0, 255, 0.2);
    padding: 1.5rem;
    border-radius: 2px;
}

/* ============================================
   POSTS Y ARTÍCULOS
   ============================================ */

.post {
    background-color: #0a0a0a;
    border: 1px solid #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.post:hover {
    border-color: #ff00ff;
    box-shadow: 0 0 25px rgba(255, 0, 255, 0.3);
}

.post-title {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
    margin-bottom: 0.5rem;
}

.post-meta {
    font-size: 0.85rem;
    color: #9d00ff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-excerpt {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.read-more {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1px solid #00ffff;
    color: #00ffff;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.read-more:hover {
    background-color: #00ffff;
    color: #050505;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

/* ============================================
   BOTONES
   ============================================ */

button, .button, input[type="submit"] {
    padding: 0.75rem 1.5rem;
    border: 1px solid #ff00ff;
    background-color: transparent;
    color: #ff00ff;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
    font-family: 'Roboto Mono', monospace;
}

button:hover, .button:hover, input[type="submit"]:hover {
    background-color: #ff00ff;
    color: #050505;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.8);
}

/* ============================================
   WIDGETS
   ============================================ */

.widget {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #9d00ff;
}

.widget:last-child {
    border-bottom: none;
}

.widget-title {
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    border-left: 3px solid #ff00ff;
    padding-left: 0.5rem;
}

.widget ul {
    list-style: none;
}

.widget ul li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.widget ul li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #00ffff;
}

.widget ul li a {
    color: #e0e0e0;
    transition: all 0.3s ease;
}

.widget ul li a:hover {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
}

/* ============================================
   FOOTER
   ============================================ */

footer.site-footer {
    background-color: #0a0a0a;
    border-top: 2px solid #ff00ff;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-widget-area {
    padding: 1rem;
}

.footer-widget-area .widget-title {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
}

.site-footer .copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #9d00ff;
    color: #9d00ff;
    font-size: 0.85rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        gap: 1rem;
    }

    nav.site-navigation ul {
        flex-direction: column;
        gap: 1rem;
    }

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

    .sidebar {
        width: 100%;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .post {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    nav.site-navigation {
        gap: 0.5rem;
    }

    nav.site-navigation ul {
        gap: 0.5rem;
    }

    .site-title {
        font-size: 1.3rem;
    }
}
