/*
Theme Name: Nuestro Espacio
Theme URI: https://nuestroespacioconcon.cl
Author: Nuestro Espacio Team
Author URI: https://nuestroespacioconcon.cl
Description: Tema premium para centro de terapias holísticas. Diseñado específicamente para Nuestro Espacio Concón, integrando servicios de Tarot Ancestrológico, Reiki, Terapia Floral Bach y Visión Transgeneracional. Incluye sistema de reservas, gestión de talleres y automatización de pagos.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nuestro-espacio
Tags: wellness, holistic, therapy, tailwind, modern, responsive, booking, spiritual
*/

/**
 * =================================================================
 * NUESTRO ESPACIO - CUSTOM STYLES
 * =================================================================
 * 
 * Este tema usa principalmente Tailwind CSS (cargado vía CDN).
 * Los estilos aquí son complementarios y específicos del tema.
 * 
 * RECURSOS UTILIZADOS (100% GRATIS):
 * - Tailwind CSS v3.3.0 (MIT License)
 * - Google Fonts: Open Sans & Playfair Display
 * - FontAwesome 6.4.0 (Free Icons)
 * - Transparent Textures (Free patterns)
 */

/* =================================================================
   RESET & BASE
   ================================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #2C2C2C;
    background-color: #FAF9F6;
    overflow-x: hidden;
}

/* =================================================================
   CUSTOM ANIMATIONS
   ================================================================= */

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.animate-fade-in-down {
    animation: fadeInDown 0.8s ease-out;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.animate-shimmer {
    animation: shimmer 3s infinite;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(212, 175, 55, 0.1) 50%,
        transparent 100%
    );
    background-size: 1000px 100%;
}

/* Spin lento para iconos decorativos */
@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-spin-slow {
    animation: spin-slow 10s linear infinite;
}

/* =================================================================
   WORDPRESS CORE COMPATIBILITY
   ================================================================= */

/* Alignments */
.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* WordPress Image Captions */
.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: #5A5A5A;
    margin-top: 0.5rem;
}

/* WordPress Galleries */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

/* Screen Reader Text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* =================================================================
   CUSTOM SCROLLBAR (OPCIONAL)
   ================================================================= */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #F9F9F9;
}

::-webkit-scrollbar-thumb {
    background: #D4AF37;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2D1B4E;
}

/* =================================================================
   PRINT STYLES
   ================================================================= */

@media print {
    header,
    footer,
    nav,
    .no-print {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }
}

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

/* Hide on mobile */
@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
}

/* Hide on desktop */
@media (min-width: 769px) {
    .hide-desktop {
        display: none !important;
    }
}

/* =================================================================
   ACCESSIBILITY
   ================================================================= */

/* Focus states para accesibilidad de teclado */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #D4AF37;
    outline-offset: 2px;
}

/* Skip to content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #2D1B4E;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* =================================================================
   CUSTOM ELEMENTS ESPECÍFICOS DEL TEMA
   ================================================================= */

/* Hero gradient customizado */
.hero-gradient {
    background: linear-gradient(135deg, #FFFDF9 0%, #F2EFE9 100%);
}

/* Texto con efecto oro */
.text-gold-glow {
    color: #D4AF37;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

/* Cards con hover elegante */
.service-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Separadores decorativos */
.divider-gold {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
    margin: 2rem auto;
}

/* Botones premium */
.btn-premium {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-premium::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-premium:hover::after {
    width: 300px;
    height: 300px;
}

/* =================================================================
   FIN DEL ARCHIVO
   ================================================================= */
