/*
Theme Name: Matzona Tecnologica
Theme URI: https://matzonatecnologica.local
Author: Matzona Tecnologica Team
Author URI: https://matzonatecnologica.local
Description: Tema para Matzona Tecnologica.
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: shekinah
Domain Path: /languages
Tags: e-commerce, feminine, elegant, gold, pink, responsive, woocommerce-ready
*/

/* ============================================
   VARIABLES DE COLORES - PALETA SHEKINAH (según logo)
   ============================================ */
:root {
    /* Colores principales - Dorado ocre del logo */
    --shekinah-gold: #c9a962;
    --shekinah-gold-light: #e8d5a3;
    --shekinah-gold-dark: #a68b4b;
    
    /* Colores rosa - Rosa suave del fondo del logo */
    --shekinah-pink: #f5d5e0;
    --shekinah-pink-light: #faf0f3;
    --shekinah-pink-dark: #e8c4d0;
    --shekinah-pink-gradient-start: #f8e8f0;
    --shekinah-pink-gradient-end: #f5d5e0;
    
    /* Colores neutros */
    --shekinah-white: #ffffff;
    --shekinah-cream: #fdf8fa;
    --shekinah-gray-light: #f5f3f0;
    --shekinah-gray: #9b9b9b;
    --shekinah-gray-dark: #4a4a4a;
    --shekinah-black: #1a1a1a;
    
    /* Tipografía */
    --font-heading: 'Montserrat', serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Espaciado */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

/* ============================================
   RESET Y BASE
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--shekinah-gray-dark);
    background-color: var(--pos-bg-white, var(--shekinah-cream));
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--shekinah-black);
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-sm);
}

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

a:hover {
    color: var(--shekinah-gold);
}

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

ul, ol {
    list-style: none;
}

/* ============================================
   BOTONES
   ============================================ */
.btn,
button,
input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: var(--shekinah-gold);
    color: var(--shekinah-white);
    border: 2px solid var(--shekinah-gold);
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover,
button:hover,
input[type="submit"]:hover {
    background: transparent;
    color: var(--shekinah-gold);
}

.btn-outline {
    background: transparent;
    color: var(--shekinah-gold);
}

.btn-outline:hover {
    background: var(--shekinah-gold);
    color: var(--shekinah-white);
}

/* ============================================
   FORMULARIOS
   ============================================ */
input,
textarea,
select {
    width: 100%;
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid var(--shekinah-pink-dark);
    background: var(--shekinah-white);
    transition: border-color 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--shekinah-gold);
}

/* ============================================
   UTILIDADES
   ============================================ */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section-padding {
    padding: var(--spacing-lg) 0;
}

.text-center {
    text-align: center;
}

.text-gold {
    color: var(--shekinah-gold);
}

.bg-pink {
    background-color: var(--shekinah-pink);
}

.bg-cream {
    background-color: var(--shekinah-cream);
}

.bg-white {
    background-color: var(--shekinah-white);
}

/* Prevent horizontal overflow globally */
html, body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

/* Ensure site container doesn't shift */
.site {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

/* Screen reader text */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   RESPONSIVE DESIGN SYSTEM
   ============================================ */

/* Tablet & Smaller (Max-width: 1024px) */
@media (max-width: 1024px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 5rem;
    }
    
    .container {
        max-width: 95%;
    }
}

/* Mobile (Max-width: 768px) */
@media (max-width: 768px) {
    :root {
        --spacing-md: 1.5rem;
        --spacing-lg: 2.5rem;
        --spacing-xl: 4rem;
    }

    html {
        font-size: 14px;
    }

    h1 { font-size: clamp(2rem, 8vw, 3rem); }
    h2 { font-size: clamp(1.8rem, 6vw, 2.5rem); }
    
    .container {
        padding: 0 1.25rem;
    }

    .section-padding {
        padding: var(--spacing-lg) 0;
    }
}

/* Very Small Devices (Max-width: 480px) */
@media (max-width: 480px) {
    .btn, button, input[type="submit"] {
        width: 100%;
        padding: 0.875rem 1.5rem;
    }
}

/* ============================================
   ANIMACIONES
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* ============================================
   SISTEMA DE LICENCIAMIENTO
   ============================================ */
.notice-shekinah-license {
    border-left: 4px solid var(--shekinah-gold) !important;
    background: #fff !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05) !important;
}

.notice-shekinah-license a {
    color: var(--shekinah-gold-dark);
    font-weight: 600;
    text-decoration: underline;
}

.shekinah-license-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 30px;
    margin-top: 20px;
    border-top: 5px solid var(--shekinah-gold);
}

.shekinah-license-status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.status-active {
    background: #e6ffed;
    color: #22863a;
}

.status-inactive {
    background: #ffeef0;
    color: #cb2431;
}
