/*
Theme Name: Victoria González
Description: Theme profesional y elegante para líderes empresariales. Diseño responsive con layout de dos columnas, optimizado para mostrar artículos y contenido corporativo con estilo femenino y sofisticado.
Author: Navega mi sitio
Author URI: https://navegamisitio.com.ar
Version: 1.0.1
License: GPL v2 or later
Text Domain: victoria-gonzalez
Tags: business, corporate, feminine, leadership, responsive, two-columns, sticky-sidebar
*/

/* ==========================================================================
   VARIABLES CSS - PALETA SIMPLIFICADA
   ========================================================================== */

:root {
    /* Colores principales - Simplificados */
    --primary-color: #1A3660;      /* Azul Bootstrap */
    --secondary-color: #A8C1E0;    /* Gris Bootstrap */
    --success-color: #198754;      /* Verde Bootstrap */
    --warning-color: #B8860B;      /* Amarillo Bootstrap */
    --danger-color: #dc3545;       /* Rojo Bootstrap */
    --info-color: #A8C1E0;         /* Cyan Bootstrap */
    --light-color: #D4E2F4;        /* Gris claro Bootstrap */
    --dark-color: #0B1F3A;         /* Gris oscuro Bootstrap */
    
    /* Tipografías */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    
    /* Espaciados */
    --spacing-xs: 0.25rem;   /* 4px */
    --spacing-sm: 0.5rem;    /* 8px */
    --spacing-md: 1rem;      /* 16px */
    --spacing-lg: 1.5rem;    /* 24px */
    --spacing-xl: 3rem;      /* 48px */
    
    /* Radios */
    --radius-sm: 0.25rem;    /* 4px */
    --radius-md: 0.5rem;     /* 8px */
    --radius-lg: 0.75rem;    /* 12px */
    --radius-xl: 1rem;       /* 16px */
    
    /* Sombras */
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    
    /* Transiciones */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* ==========================================================================
   RESET Y BASE
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   TIPOGRAFÍA
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark-color);
    margin-bottom: var(--spacing-md);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-md);
    color: var(--dark-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-normal);
}

a:hover {
    color: var(--primary-color);
    opacity: 0.8;
}

/* ==========================================================================
   SECCIONES CON FONDOS OSCUROS - CORRECCIÓN PRINCIPAL
   ========================================================================== */

/* Hero Sections - Fondos oscuros */
.hero-section,
.about-hero,
.bg-primary,
.bg-dark,
[class*="bg-primary"],
[class*="bg-dark"] {
    color: white !important;
}

.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section h4,
.hero-section h5,
.hero-section h6,
.about-hero h1,
.about-hero h2,
.about-hero h3,
.about-hero h4,
.about-hero h5,
.about-hero h6,
.bg-primary h1,
.bg-primary h2,
.bg-primary h3,
.bg-primary h4,
.bg-primary h5,
.bg-primary h6,
.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark h4,
.bg-dark h5,
.bg-dark h6 {
    color: white !important;
}

.hero-section p,
.about-hero p,
.bg-primary p,
.bg-dark p {
    color: white !important;
    opacity: 0.9;
}

.hero-section .lead,
.about-hero .lead,
.bg-primary .lead,
.bg-dark .lead {
    color: white !important;
    opacity: 0.95;
}

/* Text utilities para fondos oscuros */
.text-white {
    color: white !important;
}

.text-light {
    color: rgba(255, 255, 255, 0.75) !important;
}

.opacity-90 {
    opacity: 0.9 !important;
}

.opacity-95 {
    opacity: 0.95 !important;
}

/* ==========================================================================
   HERO SECTIONS
   ========================================================================== */

.hero-section,
.about-hero {
    min-height: 70vh;
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%) !important;
    color: white;
    padding: 4rem 0;
}

.min-vh-75 { 
    min-height: 75vh; 
}

/* About Hero específico */
.about-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    padding: 5rem 0;
}

.about-image-container {
    position: relative;
}

/* Profile Image */
.profile-image {
    width: 280px;
    height: 280px;
    object-fit: cover;
    transition: transform var(--transition-normal);
    border-radius: var(--radius-lg);
}

.profile-image:hover {
    transform: scale(1.05);
}

.profile-placeholder {
    width: 280px;
    height: 280px;
    margin: auto;
    background-color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* Profile placeholder redondo específico */
.profile-placeholder.rounded-circle {
    width: 280px !important;
    height: 280px !important;
    border-radius: 50% !important;
}

/* Hero Section - Profile placeholder específico */
.hero-section .profile-placeholder,
.hero-section .profile-placeholder.bg-light {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    border: 3px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-section .profile-placeholder i {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Hero Actions */
.hero-actions {
    margin-top: 2rem;
}

.hero-actions .btn {
    margin-right: 1rem;
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   BOTONES Y CTA
   ========================================================================== */

.btn {
    border-radius: var(--radius-md);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all var(--transition-normal);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%) !important;
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-outline-primary:hover {
    background: white;
    color: var(--primary-color);
    border-color: white;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ==========================================================================
   COMPONENTES PERSONALIZADOS
   ========================================================================== */

/* Text Utilities */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.lh-relaxed { 
    line-height: 1.7; 
}

.lh-base { 
    line-height: 1.5; 
}

/* Icons */
.icon-circle, .section-icon, .action-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
}

.section-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
}

/* Back to Top Button */
#backToTop {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border: none !important;
}

#backToTop i {
    font-size: 1.5rem !important;
    color: white !important;
    margin: 0;
}

#backToTop:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3) !important;
}

/* Font Awesome Icons - Tamaños mejorados */
.fa, .fas, .far, .fal, .fab {
    font-size: inherit;
}

/* Iconos en redes sociales */
.social-link i {
    font-size: 1.1rem !important;
}

/* Iconos en botones */
.btn i {
    font-size: 1rem;
}

.btn-lg i {
    font-size: 1.1rem;
}

/* Iconos en placeholders */
.profile-placeholder i {
    font-size: 4rem !important;
}

.hero-section .profile-placeholder i {
    font-size: 4rem !important;
}

/* Back to Top Button */
#backToTop {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border: none !important;
}

#backToTop i {
    font-size: 1.2rem !important;
    color: white !important;
}

#backToTop:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3) !important;
}

/* Font Awesome Icons - Tamaños mejorados */
.fa, .fas, .far, .fal, .fab {
    font-size: inherit;
}

/* Iconos en redes sociales */
.social-link i {
    font-size: 1.1rem !important;
}

/* Iconos en botones */
.btn i {
    font-size: 1rem;
}

.btn-lg i {
    font-size: 1.1rem;
}

/* Iconos en placeholders */
.profile-placeholder i {
    font-size: 4rem !important;
}

.hero-section .profile-placeholder i {
    font-size: 4rem !important;
}

/* Hover Effects */
.hover-shadow {
    transition: all var(--transition-normal);
}

.hover-shadow:hover {
    box-shadow: var(--shadow-lg) !important;
    transform: translateY(-2px);
}

.hover-lift {
    transition: transform var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-3px);
}

.hover-primary:hover {
    color: var(--primary-color) !important;
}

/* Articles */
.article-card {
    transition: all var(--transition-normal);
    border: 1px solid #dee2e6;
    border-radius: var(--radius-lg);
    background: white;
}

.article-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.featured-article {
    border-left: 4px solid var(--warning-color) !important;
}

.object-cover {
    object-fit: cover;
}

/* ==========================================================================
   HEADER STYLES
   ========================================================================== */

.site-header {
    border-bottom: 1px solid rgba(184, 134, 11, 0.1);
    z-index: 1030;
    background: white;
}

.header-content {
    min-height: 80px;
}

.custom-logo {
    max-height: 60px;
    width: 150px;
    transition: transform var(--transition-normal);
}

.custom-logo:hover {
    transform: scale(1.05);
}

.logo img {
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.social-link {
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--secondary-color);
}

.social-link i {
    font-size: 1.1rem !important;
}

.social-link:hover {
    color: var(--warning-color) !important;
    background: rgba(184, 134, 11, 0.1);
    transform: translateY(-2px);
}

.nav-link-item {
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
    color: var(--dark-color);
}

.nav-link-item:hover {
    color: var(--warning-color) !important;
}

.nav-link-item::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--warning-color);
    transition: width 0.3s ease;
}

.nav-link-item:hover::after,
.nav-link-item.active::after {
    width: 100%;
}



/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, #343a40 100%);
    color: white;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.footer-menu a:hover {
    color: white;
}

.newsletter-form .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.newsletter-form .form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: white;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
    color: white;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   CONTACT FORM 7 STYLES
   ========================================================================== */

.wpcf7 {
    position: relative;
}

.wpcf7 .form-control,
.wpcf7 .form-select {
    border: 2px solid #e9ecef;
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all var(--transition-normal);
    background-color: #fff;
}

.wpcf7 .form-control:focus,
.wpcf7 .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.1);
    outline: none;
}

.wpcf7 .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%) !important;
    border: none;
    padding: 0.875rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.wpcf7 .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Response Messages */
.wpcf7 .wpcf7-response-output {
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    margin: 1.25rem 0;
    font-weight: 500;
    border-left: 4px solid;
}

.wpcf7 .wpcf7-mail-sent-ok {
    background-color: #d1e7dd;
    color: #0f5132;
    border-color: var(--success-color);
}

.wpcf7 .wpcf7-mail-sent-ng,
.wpcf7 .wpcf7-aborted,
.wpcf7 .wpcf7-validation-errors {
    background-color: #f8d7da;
    color: #842029;
    border-color: var(--danger-color);
}

.wpcf7 .wpcf7-not-valid {
    border-color: var(--danger-color) !important;
}

.wpcf7 .wpcf7-not-valid-tip {
    color: var(--danger-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Remove CF7 auto paragraphs */
.wpcf7 p {
    margin: 0 !important;
    padding: 0 !important;
}

.wpcf7 p:empty {
    display: none !important;
}

/* ==========================================================================
   UTILITY CLASSES Y ICONOS GENERALES
   ========================================================================== */

.text-sm { font-size: 0.875rem; }
.tracking-wide { letter-spacing: 0.05em; }

/* Font Awesome - Tamaños estándar mejorados */
.fa-xs { font-size: 0.75rem; }
.fa-sm { font-size: 0.875rem; }
.fa-lg { font-size: 1.33rem; }
.fa-xl { font-size: 1.5rem; }
.fa-2x { font-size: 2rem; }
.fa-3x { font-size: 3rem; }
.fa-4x { font-size: 4rem; }
.fa-5x { font-size: 5rem; }
.fa-6x { font-size: 6rem; }

/* Iconos específicos en diferentes contextos */
.navbar i, .nav i {
    font-size: 1rem !important;
}

.btn .fa, .btn .fas {
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.btn-lg .fa, .btn-lg .fas {
    font-size: 1rem;
}

/* Hero badge icons */
.badge i {
    font-size: 0.8rem !important;
    margin-right: 0.25rem;
}

/* Cards y componentes */
.card i, .article-card i {
    font-size: 1.1rem;
}

/* Background utilities */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%) !important;
}

.bg-gradient-dark {
    background: linear-gradient(135deg, var(--dark-color) 0%, #343a40 100%) !important;
}

/* Hero específico con gradiente personalizado */
.hero-section.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%) !important;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 768px) {
    .hero-section,
    .about-hero {
        min-height: 60vh;
        text-align: center;
        padding: 3rem 0;
    }
    
    .profile-image,
    .profile-placeholder {
        width: 220px !important;
        height: 220px !important;
    }
    
    .profile-placeholder.rounded-circle {
        width: 220px !important;
        height: 220px !important;
        border-radius: 50% !important;
    }
    
    .profile-placeholder i {
        font-size: 3.5rem !important;
    }
    
    .display-4,
    .display-5 {
        font-size: 2rem;
    }
    
    .btn-lg {
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .section-icon {
        width: 40px;
        height: 40px;
    }
    
    .header-content {
        min-height: 70px;
    }
    
    .custom-logo {
        max-height: 40px;
    }
    
    .hero-actions .btn {
        margin-right: 0;
        margin-bottom: 1rem;
        width: 100%;
    }
    
    /* Back to top responsive */
    #backToTop {
        bottom: 15px !important;
        right: 15px !important;
        width: 45px !important;
        height: 45px !important;
    }
    
    #backToTop i {
        font-size: 1rem !important;
    }
}

@media (max-width: 576px) {
    .header-content {
        min-height: 60px;
    }
    
    .custom-logo {
        max-height: 35px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .about-hero,
    .hero-section {
        padding: 2rem 0;
    }
    
    .profile-placeholder {
        width: 180px !important;
        height: 180px !important;
    }
    
    .profile-placeholder.rounded-circle {
        width: 180px !important;
        height: 180px !important;
        border-radius: 50% !important;
    }
    
    .profile-placeholder i {
        font-size: 3rem !important;
    }
    
    /* Back to top en móvil pequeño */
    #backToTop {
        bottom: 10px !important;
        right: 10px !important;
        width: 40px !important;
        height: 40px !important;
    }
    
    #backToTop i {
        font-size: 0.9rem !important;
    }
    
    /* Social links en móvil */
    .social-link {
        width: 35px;
        height: 35px;
    }
    
    .social-link i {
        font-size: 1rem !important;
    }
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
    .hero-section,
    .about-hero,
    .contact-cta,
    .newsletter-section,
    .social-links,
    .btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black !important;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        color: black !important;
    }
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .hero-section,
    .about-hero {
        background: var(--dark-color) !important;
    }
    
    .btn-primary {
        background: var(--dark-color) !important;
        border: 2px solid white;
    }
}

/* ==========================================================================
   FIXES ESPECÍFICOS PARA PROBLEMAS DE CONTRASTE Y GRADIENTES
   ========================================================================== */

/* Override de Bootstrap para gradientes personalizados */
.bg-gradient-primary,
.hero-section.bg-gradient-primary,
section.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%) !important;
    background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%) !important;
}

/* Asegurar que todos los elementos en fondos oscuros tengan texto blanco */
.bg-primary *:not(.btn):not(.badge):not(.alert),
.bg-dark *:not(.btn):not(.badge):not(.alert),
.hero-section *:not(.btn):not(.badge):not(.alert),
.about-hero *:not(.btn):not(.badge):not(.alert) {
    color: inherit;
}

/* Elementos específicos que necesitan texto blanco */
.bg-primary .lead,
.bg-dark .lead,
.hero-section .lead,
.about-hero .lead {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Placeholder específico para about hero */
.about-hero .profile-placeholder {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.about-hero .profile-placeholder i {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Asegurar contraste en iconos */
.about-hero .fa,
.bg-primary .fa,
.bg-dark .fa {
    color: rgba(255, 255, 255, 0.8) !important;
}