/*
Theme Name: Rucandes Child
Theme URI: https://rucandes.com
Description: Tema hijo personalizado para Rucandes con diseño moderno
Author: Rucandes
Author URI: https://rucandes.com
Template: twentytwentythree
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rucandes-child
Domain Path: /languages
*/

/* Importar estilos del tema padre */
@import url('../twentytwentythree/style.css');

/* ===== ESTILOS PERSONALIZADOS RUCANDES ===== */

/* Variables de color */
:root {
    --rucandes-dark: #090a0f;
    --rucandes-accent: #f59e0b;
    --rucandes-accent-dark: #d97706;
    --text-light: #e7e5e4;
    --text-muted: #a8a29e;
    --border-light: rgba(255, 255, 255, 0.1);
}

/* Body y estilos globales */
body {
    background-color: var(--rucandes-dark);
    color: var(--text-light);
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Header/Navegación */
.site-header,
header {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

/* Logo */
.custom-logo {
    max-height: 60px;
    width: auto;
}

/* Títulos y headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: white;
}

h1 {
    font-size: 3.5rem;
    text-shadow: 0 0 30px rgba(245, 158, 11, 0.4);
}

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

/* Párrafos */
p {
    line-height: 1.6;
    color: var(--text-light);
}

/* Botones */
.btn,
button,
input[type="button"],
input[type="submit"] {
    background: linear-gradient(to right, var(--rucandes-accent), #ea580c);
    color: var(--rucandes-dark);
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.btn:hover,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
    box-shadow: 0 0 40px rgba(245, 158, 11, 0.6);
    transform: translateY(-2px);
}

.btn-outline,
.btn-secondary {
    background: transparent;
    border: 2px solid var(--rucandes-accent);
    color: var(--rucandes-accent);
}

.btn-outline:hover,
.btn-secondary:hover {
    background: rgba(245, 158, 11, 0.1);
}

/* Hero section */
.hero,
.wp-block-cover {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, rgba(9, 10, 15, 0.8), rgba(9, 10, 15, 0.9));
    background-size: cover;
    background-position: center;
}

.hero::before,
.wp-block-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(9, 10, 15, 0.9) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 10;
}

/* Secciones */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    color: var(--rucandes-accent);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

/* Tarjetas */
.card,
.wp-block-group {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.card:hover,
.wp-block-group:hover {
    border-color: rgba(245, 158, 11, 0.5);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.2);
    transform: translateY(-4px);
}

/* Grid de productos/servicios */
.products,
.services,
.wp-block-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Imágenes */
img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
}

.wp-post-image {
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* Formularios */
form {
    margin-top: 2rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    color: white;
    font-family: inherit;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--rucandes-accent);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
footer,
.site-footer {
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 0 2rem;
    margin-top: 5rem;
}

footer p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Links */
a {
    color: var(--rucandes-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #fbbf24;
}

/* Animaciones */
@keyframes ambient-drift {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(30px, -50px) scale(1.1);
        opacity: 0.5;
    }
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
}

.animate-ambient {
    animation: ambient-drift 12s ease-in-out infinite;
}

/* WooCommerce Específico */
.woocommerce {
    background-color: var(--rucandes-dark);
}

.woocommerce ul.products li.product {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    padding: 1.5rem;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: white;
    font-family: 'Playfair Display', serif;
}

.woocommerce ul.products li.product .price {
    color: var(--rucandes-accent);
    font-weight: 700;
    font-size: 1.25rem;
}

.woocommerce .star-rating {
    color: var(--rucandes-accent);
}

.woocommerce a.button,
.woocommerce button.button {
    background: linear-gradient(to right, var(--rucandes-accent), #ea580c);
    color: var(--rucandes-dark);
    border: none;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.875rem;
    }

    section {
        padding: 3rem 0;
    }

    .btn,
    button {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
}

/* Estilos para Elementor */
.elementor-container {
    max-width: 1200px;
}

.elementor-widget-heading h1,
.elementor-widget-heading h2,
.elementor-widget-heading h3 {
    color: white;
}

.elementor-button {
    background: linear-gradient(to right, var(--rucandes-accent), #ea580c) !important;
    color: var(--rucandes-dark) !important;
}

/* Ajustes finales */
.wp-block-image img {
    border-radius: 1rem;
}

.wp-block-buttons .wp-block-button__link {
    background: linear-gradient(to right, var(--rucandes-accent), #ea580c);
    color: var(--rucandes-dark);
}

/* Ocultar elementos innecesarios si es necesario */
.no-print {
    display: block;
}

@media print {
    .no-print {
        display: none;
    }
}
