/*
Theme Name: Confianseguros V22
Theme URI: https://confianseguros.com.co
Author: Antigravity
Description: Tema premium para Confianseguros basado en diseño Stitch.
Version: 22.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: confianseguros
*/

/* Custom styles from Stitch */
.shadow-ambient {
    box-shadow: 0 4px 24px -4px rgba(11, 61, 145, 0.08);
}
.shadow-ambient-floating {
    box-shadow: 0 12px 32px -8px rgba(11, 61, 145, 0.12);
}

html { 
    scroll-behavior: smooth; 
}

body {
    font-size: 15px;
}

/* Navigation Menu Styles */
.nav-primary ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 2rem;
}

.nav-primary li {
    position: relative;
}

.nav-primary a {
    text-decoration: none;
    color: #434652; /* on-surface-variant */
    transition: all 0.3s ease;
    display: block;
    padding: 0.25rem 0;
}

.nav-primary a:hover {
    color: #0B3D91; /* primary */
}

/* Active Underline */
.nav-primary .current-menu-item > a,
.nav-primary .current-page-ancestor > a {
    color: #0B3D91; /* primary */
    border-bottom: 2px solid #D90000; /* secondary */
}

/* Submenu Dropdown */
.nav-primary .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 220px;
    box-shadow: 0 10px 25px -5px rgba(11, 61, 145, 0.1);
    border-radius: 0.75rem;
    padding: 0.75rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    border: 1px solid #e4e2e2;
    flex-direction: column !important;
    gap: 0 !important;
}

.nav-primary li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-primary .sub-menu li {
    width: 100%;
}

.nav-primary .sub-menu a {
    padding: 0.75rem 1.25rem !important;
    color: #434652 !important;
    font-size: 0.95rem !important;
    border-bottom: none !important;
}

.nav-primary .sub-menu a:hover {
    background-color: #f5f3f3 !important; /* surface-container-low */
    color: #D90000 !important; /* secondary */
}

/* V3 UX Animations */
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in { animation: fadeIn 0.8s ease-out forwards; }
@keyframes bounceSlow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.animate-bounce-slow { animation: bounceSlow 3s ease-in-out infinite; }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(11, 61, 145, 0.25); }
