/*
Theme Name: ACUIEX - Inclusión en Acción
Theme URI: https://acuiex.org
Author: ACUIEX
Author URI: https://acuiex.org
Description: Tema oficial 100% editable de la Asociación Cultural Inclusiva de Extremadura. Todos los textos, imágenes, servicios y secciones se gestionan desde Apariencia → Personalizar.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: acuiex
Tags: accessibility-ready, custom-logo, one-column, translation-ready
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
*/

/* ========================================
   VARIABLES
   ======================================== */
:root {
    --acuiex-green: #1a7a3c;
    --acuiex-black: #000000;
    --acuiex-light-green: #e9f5ed;
}

/* ========================================
   BASE
   ======================================== */
body {
    font-family: 'Open Sans', sans-serif;
    scroll-behavior: smooth;
    margin: 0;
    background-color: #f8fafc;
    color: #1e293b;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}
img { max-width: 100%; height: auto; }

/* ========================================
   UTILIDADES
   ======================================== */
.bg-acuiex { background-color: var(--acuiex-green); }
.text-acuiex { color: var(--acuiex-green); }
.border-acuiex { border-color: var(--acuiex-green); }

/* ========================================
   TARJETAS
   ======================================== */
.section-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 1.25rem;
    overflow: hidden;
}
.section-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 10px 10px -5px rgba(0,0,0,.04);
}

/* ========================================
   NAVEGACIÓN
   ======================================== */
.nav-link {
    position: relative;
    transition: color .3s;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0; height: 2px;
    bottom: -2px; left: 0;
    background-color: var(--acuiex-green);
    transition: width .3s;
}
.nav-link:hover::after { width: 100%; }

.acuiex-nav-menu {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    align-items: center;
    gap: 2rem;
}
.acuiex-nav-menu li a {
    font-weight: 700;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #475569;
    text-decoration: none;
    position: relative;
    transition: color .3s;
}
.acuiex-nav-menu li a::after {
    content: '';
    position: absolute;
    width: 0; height: 2px;
    bottom: -2px; left: 0;
    background-color: var(--acuiex-green);
    transition: width .3s;
}
.acuiex-nav-menu li a:hover { color: var(--acuiex-green); }
.acuiex-nav-menu li a:hover::after { width: 100%; }
.acuiex-nav-menu li.acuiex-cta a {
    background-color: var(--acuiex-green);
    color: #fff;
    padding: .625rem 1.5rem;
    border-radius: 9999px;
}
.acuiex-nav-menu li.acuiex-cta a::after { display: none; }
.acuiex-nav-menu li.acuiex-cta a:hover {
    box-shadow: 0 10px 15px -3px rgba(0,0,0,.1);
}

/* ========================================
   ACCESIBILIDAD
   ======================================== */
a:focus, button:focus {
    outline: 3px solid #ffd700;
    outline-offset: 2px;
}

/* ========================================
   HERO
   ======================================== */
.hero-gradient {
    background: linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6));
}

/* ========================================
   MENÚ MÓVIL
   ======================================== */
.acuiex-mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,.98);
    z-index: 100;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}
.acuiex-mobile-menu.active { display: flex; }
.acuiex-mobile-menu a {
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    color: #1e293b;
}
.acuiex-mobile-menu a:hover { color: var(--acuiex-green); }
.acuiex-mobile-menu .close-btn {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    font-size: 1.5rem;
    background: none; border: none; cursor: pointer;
}

/* ========================================
   WORDPRESS
   ======================================== */
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft   { float: left; margin-right: 1.5rem; }
.alignright  { float: right; margin-left: 1.5rem; }

.screen-reader-text {
    clip: rect(1px,1px,1px,1px);
    position: absolute !important;
    height: 1px; width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}
.screen-reader-text:focus {
    background: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0,0,0,.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px; font-weight: bold;
    height: auto; left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px; width: auto;
    z-index: 100000;
}
