/*
 Theme Name:   Diyer Child
 Theme URI:    https://1.envato.market/diyer-wp
 Description:  Diyer Child Theme - Personalizado para el proyecto
 Author:       AwaikenThemes / Personalizado
 Author URI:   https://awaikenthemes.com/
 Template:     diyer
 Version:      1.1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  diyer-child
*/

/* ================================================================
   ESTILOS PERSONALIZADOS PARA DIYER (Elementor)
   Añade aquí tus reglas CSS. Se cargan DESPUÉS del tema padre.
   ================================================================ */

/* --------------------------------------------------------------
   1. VARIABLES DE MARCA GLOBALES
   Reemplaza estos valores por los colores de tu empresa.
   -------------------------------------------------------------- */
:root {
    --brand-primary:   #ff6600;   /* Naranja - color principal */
    --brand-secondary: #1a1a1a;   /* Negro - texto */
    --brand-accent:    #0055ff;   /* Azul - acentos */
    --brand-light:     #f8f9fa;   /* Fondo claro */
}

/* --------------------------------------------------------------
   2. AJUSTES DE CABECERA (Header)
   -------------------------------------------------------------- */
.site-header .elementor-nav-menu--main a:hover,
.site-header .elementor-nav-menu--main a:focus {
    color: var(--brand-primary) !important;
}

/* Sticky header: fondo sólido al hacer scroll */
.elementor-sticky--active .site-header,
.sticky-header .site-header {
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
}

/* --------------------------------------------------------------
   3. BOTONES PERSONALIZADOS
   Sobrescribe los estilos de botón de Elementor/Diyer.
   -------------------------------------------------------------- */
.elementor-button,
.btn-primary,
button[type="submit"] {
    background-color: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.elementor-button:hover,
.btn-primary:hover,
button[type="submit"]:hover {
    background-color: var(--brand-secondary) !important;
    border-color: var(--brand-secondary) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* --------------------------------------------------------------
   4. SECCIONES DE SERVICIOS (Cards)
   Si usas las secciones de servicios de Diyer.
   -------------------------------------------------------------- */
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.service-card .icon-wrapper {
    color: var(--brand-primary);
}

/* --------------------------------------------------------------
   5. FORMULARIOS (Contact Form 7)
   -------------------------------------------------------------- */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 12px 15px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    border-color: var(--brand-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.wpcf7-submit {
    background-color: var(--brand-primary) !important;
    color: #fff !important;
    padding: 14px 40px !important;
    font-size: 16px !important;
    border-radius: 4px !important;
}

/* --------------------------------------------------------------
   6. FOOTER
   -------------------------------------------------------------- */
.site-footer {
    background-color: var(--brand-secondary) !important;
    color: #cccccc;
}

.site-footer a {
    color: #ffffff;
    transition: color 0.3s;
}

.site-footer a:hover {
    color: var(--brand-primary);
}

/* --------------------------------------------------------------
   7. UTILIDADES RESPONSIVE
   -------------------------------------------------------------- */
@media (max-width: 768px) {
    .elementor-button {
        width: 100%;
        text-align: center;
    }
}
