/**
* Theme Name: BuddyX Child
* Description: This is a child theme of BuddyX, generated by Merlin WP.
* Author: <a href="https://github.com/vapvarun/buddyx">wbcomdesigns,vapvarun</a>
* Template: buddyx
* Version: 4.5.8
*/
/* Logo News Feed en navegación */
.newsfeed-logo {
	display: inline-flex;
	align-items: center;
	margin-right: 12px;
}

.newsfeed-logo img {
	height: 36px;
	width: auto;
	display: block;
}

/* Estilos para el encabezado "al fin" cuando el usuario está logueado */
.site-branding .site-title a {
	transition: all 0.3s ease;
}

/* Estilo especial para usuarios logueados */
body.logged-in .site-branding .site-title a {
	color: #ff6b35 !important;
	font-weight: bold;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
	font-size: 1.2em;
}

body.logged-in .site-branding .site-title a:hover {
	color: #e55a2b !important;
	transform: scale(1.05);
}

/* Estilos para el header personalizado con logo y menú */
.custom-header-wrapper {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

.custom-header-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.custom-site-header {
    position: relative;
    z-index: 2;
}

.custom-logo-menu-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.custom-logo-menu-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.custom-logo-section {
    flex-shrink: 0;
}

.custom-logo img {
    max-height: 60px;
    width: auto;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.custom-logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.4));
}

.custom-site-title a {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.custom-site-title a:hover {
    color: #f0f0f0;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    transform: scale(1.02);
}

.custom-menu-section {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
}

.custom-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
    align-items: center;
}

.custom-menu li {
    position: relative;
}

.custom-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 10px 15px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.custom-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.custom-menu a:hover::before {
    left: 100%;
}

.custom-menu a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.custom-menu .current-menu-item > a,
.custom-menu .current_page_item > a {
    background: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-weight: 600;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .custom-logo-menu-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .custom-menu-section {
        justify-content: center;
    }
    
    .custom-menu {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .custom-menu a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }
    
    .custom-logo img {
        max-height: 50px;
    }
    
    .custom-site-title a {
        font-size: 24px;
    }
}

/* Animación de entrada */
@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-header-wrapper {
    animation: slideInFromTop 0.6s ease-out;
}