/*
Theme Name: Luceros Theme
Theme URI: https://luceros.example
Author: Equipo Luceros
Description: Tema para Academia Luceros. Compatible con Elementor. Personalizable.
Version: 0.2.0
Text Domain: theme-luceros
*/

/* ═══════════════════════════════════════════
   GOOGLE FONT: Inter (cargada en functions.php)
   ═══════════════════════════════════════════ */

:root {
    --color-primary: #ffffff;
    --color-secondary: #f9fafb;
    --color-accent: #8b5cf6;
    --color-accent-hover: #7c3aed;
    --color-text: #4b5563;
    --color-heading: #111827;
    --color-border: #e5e7eb;
    --font-base: 'Inter', system-ui, -apple-system, sans-serif;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --radius: 8px;
}

* { box-sizing: border-box; }

body {
    font-family: var(--font-base);
    color: var(--color-text);
    background: var(--color-primary);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-base);
    color: var(--color-heading);
    font-weight: 700;
    margin-top: 0;
}

a { color: inherit; }
img { max-width: 100%; height: auto; }

/* ═══════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════ */
.luceros-header {
    background: #fff;
    border-bottom: 1px solid #f3f4f6;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.luceros-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.875rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.luceros-header__logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.luceros-header__logo-line1 {
    font-weight: 800;
    font-size: 0.75rem;
    color: #111827;
    letter-spacing: 0.05em;
}

.luceros-header__logo-line2 {
    font-weight: 900;
    font-size: 1.4rem;
    color: #8b5cf6;
    letter-spacing: -0.03em;
}

/* Custom logo image */
.luceros-header__logo .custom-logo-link {
    display: block;
    max-width: 250px;
}
.luceros-header__logo .custom-logo {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

/* Menu */
.luceros-header__nav {
    display: flex;
}

.luceros-header__menu {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.luceros-header__menu li a {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.luceros-header__menu li a:hover,
.luceros-header__menu li.current-menu-item a {
    color: #111827;
}

/* Header actions */
.luceros-header__actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.luceros-header__login {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #6b7280;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.luceros-header__login:hover { color: #8b5cf6; }

.luceros-header__cta {
    background: #8b5cf6;
    color: #fff;
    text-decoration: none;
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s;
}
.luceros-header__cta:hover { background: #7c3aed; color: #fff; }

/* ═══════════════════════════════════════════
   ELEMENTOR FULL WIDTH OVERRIDE
   ═══════════════════════════════════════════ */
.site-content {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 100%;
}

body.elementor-page .site-content {
    padding: 0;
    margin: 0;
}

/* ═══════════════════════════════════════════
   FORMS (MemberPress, WooCommerce, genéricos)
   ═══════════════════════════════════════════ */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #fff;
    color: var(--color-heading);
    font-family: var(--font-base);
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

/* Buttons */
button,
input[type="submit"],
.mepr-submit {
    background: var(--color-accent);
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-family: var(--font-base);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover,
input[type="submit"]:hover,
.mepr-submit:hover {
    background: var(--color-accent-hover);
}

/* MemberPress wrappers */
.mepr-wrapper {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2.5rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .luceros-header__nav {
        display: none;
    }
    .luceros-header__login span {
        display: none;
    }
    .luceros-header__inner {
        padding: 0.75rem 1rem;
    }
}
