/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Open+Sans:wght@400;500;600;700&display=swap');

/* Material Symbols Outlined settings */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    display: inline-block;
    line-height: 1;
    font-size: 24px;
    vertical-align: middle;
}

/* Custom Design System Tokens */
:root {
    --color-primary: #032448;
    --color-primary-container: #1F3A5F;
    --color-secondary: #006a66;
    --color-secondary-container: #6bf8f1;
    --color-tertiary: #002b0b;
    --color-tertiary-container: #004416;
    --color-soft-purple: #8B5CF6;
    --color-calm-mint: #DFF3E3;
    --color-surface: #f7f9fb;
    --color-text-main: #131117;
    --color-text-muted: #64748B;
}

/* Base style resets and scrollbars */
html {
    scroll-behavior: smooth;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Soft Tinted Shadow - Ambient Tonal Depth (using Petrol Blue tint) */
.soft-tint-shadow {
    box-shadow: 0 20px 50px -12px rgba(3, 36, 72, 0.07);
}

.soft-tint-shadow-hover {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.soft-tint-shadow-hover:hover {
    box-shadow: 0 30px 60px -10px rgba(3, 36, 72, 0.14);
}

/* Hover Lift Effect */
.hover-lift {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px -12px rgba(3, 36, 72, 0.12);
}

/* Glassmorphism overlays */
.glass-morphism {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Keyframes and Animations */
@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
.animate-float {
    animation: floating 5s ease-in-out infinite;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}
.whatsapp-pulse {
    animation: pulse-whatsapp 2.5s infinite;
}

/* Custom transition for Top Bar items swapping text */
.top-bar-item {
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.top-bar-item .original-text {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    display: inline-block;
}

.top-bar-item .hover-text {
    position: absolute;
    left: 28px; /* Desplazamiento exacto para evitar que se dibuje encima del icono */
    top: 100%;
    opacity: 0;
    white-space: nowrap;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    color: #6bf8f1; /* Turquesa suave de marca */
}

.top-bar-item:hover .original-text {
    transform: translateY(-100%);
    opacity: 0;
}

.top-bar-item:hover .hover-text {
    transform: translateY(-100%);
    opacity: 1;
}

/* YouTube Modal Overlay */
.video-modal {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}
.video-modal.active {
    opacity: 1;
    pointer-events: auto;
}

/* Aspect Ratio helper */
.aspect-video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}
.aspect-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

/* Breadcrumbs, Category Tabs, Grid items details */
.breadcrumb-item:not(:last-child)::after {
    content: "chevron_right";
    font-family: 'Material Symbols Outlined';
    font-size: 14px;
    margin: 0 8px;
    color: var(--color-text-muted);
    vertical-align: middle;
}
