/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Ocultar cualquier navegación lateral o menú automático de Hugo */
nav:not(.floating-nav),
.nav,
.navigation,
.sidebar,
.menu,
.menu-main,
.menu-sidebar {
    display: none !important;
}

/* Asegurar que solo se muestre la navegación flotante */
.floating-nav {
    display: block !important;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Navegación flotante estilo Twitch */
.floating-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 25px;
    padding: 8px 20px;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-brand a {
    font-size: 1.2rem;
    font-weight: 700;
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-brand a:hover {
    color: #60a5fa;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.nav-link:hover {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    transform: translateY(-2px);
}

.nav-link.active {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.nav-icon {
    font-size: 1.1rem;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

/* Hover solo para desktop */
@media (min-width: 769px) {
    .nav-dropdown:hover .dropdown-arrow {
        transform: rotate(180deg);
    }
    
    .nav-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 10px 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 0;
}

.dropdown-item:hover {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

/* Menú Playbook especial */
.playbook-menu {
    min-width: 200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    padding: 15px;
}

.playbook-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.playbook-menu .dropdown-item:hover {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.playbook-center {
    grid-column: 1 / -1;
    justify-self: center;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: #ffffff !important;
    font-weight: 600;
    border: 2px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.playbook-center:hover {
    background: linear-gradient(135deg, #60a5fa, #93c5fd) !important;
    color: #ffffff !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

/* Contenido principal */
.main-content {
    padding: 120px 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Sección de inicio mejorada */
.home-section {
    padding: 60px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.home-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.home-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.home-left {
    animation: fadeInLeft 1s ease-out;
}

.home-right {
    animation: fadeInRight 1s ease-out 0.2s both;
}

.home-bottom {
    margin-top: 40px;
}

.home-header {
    margin-bottom: 40px;
}

.home-section h1 {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #60a5fa, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    line-height: 1.1;
}

.subtitle {
    font-size: 1.4rem;
    color: #a1a1aa;
    margin-bottom: 0;
    font-weight: 500;
}

/* Enlaces sociales */
.social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 15px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
    font-weight: 500;
}

.social-link:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

.social-icon {
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.social-text {
    font-size: 1rem;
    font-weight: 600;
}

.home-content {
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* Sección de perfil */
.profile-header {
    text-align: center;
    animation: fadeInDown 1s ease-out 0.3s both;
}

.profile-name {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #60a5fa, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    line-height: 1.1;
}

.profile-subtitle {
    font-size: 1.3rem;
    color: #a1a1aa;
    font-weight: 500;
    margin: 0;
}

/* Imagen de perfil */
.profile-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.profile-image {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 25px 80px rgba(59, 130, 246, 0.2);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.profile-image:hover img {
    transform: scale(1.1);
}

.profile-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    padding: 8px 20px;
    border-radius: 25px;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.badge-text {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Animaciones */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-content h2 {
    font-size: 2.2rem;
    color: #ffffff;
    margin: 30px 0 20px;
    font-weight: 600;
}

.home-content h3 {
    font-size: 1.5rem;
    color: #60a5fa;
    margin: 25px 0 15px;
    font-weight: 600;
}

.home-content p {
    font-size: 1.1rem;
    color: #d1d5db;
    margin-bottom: 20px;
    line-height: 1.7;
}

.home-content ul {
    list-style: none;
    margin: 20px 0;
}

.home-content li {
    padding: 10px 0;
    color: #d1d5db;
    font-size: 1.1rem;
}

.home-content li strong {
    color: #60a5fa;
    font-weight: 600;
}

.home-content hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
    margin: 40px 0;
}

.home-content em {
    color: #a1a1aa;
    font-style: italic;
    font-size: 1.1rem;
}

/* Sección de contacto */
.contact-section {
    text-align: center;
    padding: 40px 0;
}

.contact-section h1 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 30px;
    font-weight: 600;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.contact-content h2 {
    font-size: 1.8rem;
    color: #60a5fa;
    margin: 25px 0 15px;
    font-weight: 600;
}

.contact-content h3 {
    font-size: 1.3rem;
    color: #ffffff;
    margin: 20px 0 10px;
    font-weight: 600;
}

.contact-content p {
    font-size: 1.1rem;
    color: #d1d5db;
    margin-bottom: 15px;
    line-height: 1.6;
}

.contact-content ul {
    list-style: none;
    margin: 15px 0;
}

.contact-content li {
    padding: 8px 0;
    color: #d1d5db;
    font-size: 1.1rem;
}

.contact-content a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-content a:hover {
    color: #3b82f6;
}

/* Modal mejorado para imágenes */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    margin: 2% auto;
    padding: 0;
    width: 95%;
    max-width: 1200px;
    height: 90vh;
    background: rgba(20, 20, 20, 0.98);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    animation: slideIn 0.4s ease;
}

.close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close:hover {
    color: #60a5fa;
    background: rgba(145, 70, 255, 0.2);
    transform: scale(1.1);
}

.modal-body {
    display: flex;
    height: 100%;
    overflow: hidden;
}

.modal-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 40px;
}

.modal-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.modal-image-container img:hover {
    transform: scale(1.02);
}

.modal-info {
    flex: 1;
    padding: 40px;
    background: rgba(20, 20, 20, 0.95);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.modal-header h2 {
    color: #ffffff;
    margin: 0 0 15px;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-meta {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.modal-date {
    color: #a1a1aa;
    font-size: 1rem;
    font-weight: 500;
}

.modal-status {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-completed {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-in-progress {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.status-planned {
    background: rgba(107, 114, 128, 0.2);
    color: #6b7280;
    border: 1px solid rgba(107, 114, 128, 0.3);
}

.modal-description p {
    color: #d1d5db;
    line-height: 1.7;
    font-size: 1.1rem;
    margin: 0;
}

.modal-technologies,
.modal-tags {
    background: rgba(145, 70, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(145, 70, 255, 0.1);
}

.modal-technologies h4,
.modal-tags h4 {
    color: #60a5fa;
    margin: 0 0 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.tech-list,
.tags-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tech-list span,
.tags-list span {
    background: rgba(145, 70, 255, 0.2);
    color: #60a5fa;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(145, 70, 255, 0.3);
}

.modal-actions {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-demo {
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-demo:hover {
    background: linear-gradient(135deg, #60a5fa, #93c5fd);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(145, 70, 255, 0.4);
}

/* Animaciones del modal */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Secciones adicionales */
.section-page,
.single-section,
.post-section {
    padding: 40px 0;
    min-height: 60vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #d1d5db;
    margin: 20px 0;
}

.content h1,
.content h2,
.content h3 {
    color: #ffffff;
    margin: 25px 0 15px;
}

.content h2 {
    color: #60a5fa;
    font-size: 1.8rem;
}

.content h3 {
    color: #60a5fa;
    font-size: 1.5rem;
}

.content p {
    margin-bottom: 15px;
}

.content ul,
.content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.content li {
    margin-bottom: 8px;
}

.content strong {
    color: #60a5fa;
    font-weight: 600;
}

.content a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.content a:hover {
    color: #3b82f6;
}

/* Galería mejorada */
.gallery-section {
    padding: 60px 0;
    min-height: 80vh;
}

.gallery-header {
    text-align: center;
    margin-bottom: 50px;
}

.gallery-header h1 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #60a5fa, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.gallery-description {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: #d1d5db;
    line-height: 1.7;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Galería de imágenes */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 60px 0;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(145, 70, 255, 0.3);
    border-color: rgba(145, 70, 255, 0.5);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.image-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa, #93c5fd);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shimmer 2s infinite;
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 10px;
    z-index: 1;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.placeholder-text {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 1;
    position: relative;
    text-align: center;
    padding: 0 10px;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .image-overlay {
    transform: translateY(0);
}

.overlay-content h3 {
    color: #ffffff;
    margin: 0 0 5px;
    font-size: 1.2rem;
    font-weight: 600;
}

.overlay-content p {
    color: #d1d5db;
    margin: 0;
    font-size: 0.9rem;
}

.project-card {
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(145, 70, 255, 0.3);
    border-color: rgba(145, 70, 255, 0.5);
}

.project-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3b82f6, #60a5fa, #93c5fd);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shimmer 2s infinite;
}

.placeholder-content {
    text-align: center;
    z-index: 1;
    position: relative;
}

.placeholder-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 10px;
    animation: float 3s ease-in-out infinite;
}

.placeholder-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(145, 70, 255, 0.9), rgba(168, 85, 247, 0.9));
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-actions {
    display: flex;
    gap: 15px;
    flex-direction: column;
    align-items: center;
}

.btn-view,
.btn-demo {
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 140px;
    text-align: center;
}

.btn-view {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-view:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-demo {
    background: rgba(255, 255, 255, 0.9);
    color: #3b82f6;
    border-color: rgba(255, 255, 255, 0.9);
}

.btn-demo:hover {
    background: #ffffff;
    transform: translateY(-2px);
}

.project-content {
    padding: 25px;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 15px;
}

.project-content h2 {
    margin: 0;
    font-size: 1.4rem;
    flex: 1;
}

.project-content h2 a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-content h2 a:hover {
    color: #60a5fa;
}

.project-status {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-completed {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.status-in-progress {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.status-planned {
    background: rgba(107, 114, 128, 0.2);
    color: #6b7280;
}

.project-summary {
    color: #d1d5db;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.project-tech {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tech-tag {
    background: rgba(145, 70, 255, 0.15);
    color: #60a5fa;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(145, 70, 255, 0.3);
}

.project-meta,
.post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.date {
    color: #a1a1aa;
    font-size: 0.9rem;
    font-weight: 500;
}

.tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(145, 70, 255, 0.2);
    color: #60a5fa;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(145, 70, 255, 0.3);
}

/* Estado vacío */
.empty-gallery {
    text-align: center;
    padding: 80px 20px;
}

.empty-content {
    max-width: 400px;
    margin: 0 auto;
}

.empty-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 20px;
    opacity: 0.6;
}

.empty-content h3 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.empty-content p {
    color: #a1a1aa;
    font-size: 1.1rem;
}

/* Animaciones */
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Lista de items */
.items-list {
    display: grid;
    gap: 20px;
    margin: 30px 0;
}

.item-card {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
}

.item-card:hover {
    background: rgba(20, 20, 20, 0.8);
    border-color: rgba(145, 70, 255, 0.3);
    transform: translateY(-2px);
}

.item-card h2 {
    margin: 0 0 10px;
    font-size: 1.4rem;
}

.item-card h2 a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.item-card h2 a:hover {
    color: #60a5fa;
}

.item-card p {
    color: #d1d5db;
    margin-bottom: 15px;
    line-height: 1.6;
}

.item-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Botón hamburguesa para móviles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Responsive */
@media (max-width: 768px) {
    /* Deshabilitar hover en móvil para dropdowns */
    .nav-dropdown:hover .dropdown-menu {
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(-10px) !important;
    }
    
    .nav-dropdown:hover .dropdown-arrow {
        transform: none !important;
    }
    
    /* Asegurar que los submenús activos se muestren correctamente */
    .nav-dropdown.active:hover .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }
    
    .nav-dropdown.active:hover .dropdown-arrow {
        transform: rotate(180deg) !important;
    }
    
    .floating-nav {
        top: 15px;
        left: 15px;
        right: 15px;
        transform: none;
        border-radius: 20px;
        padding: 12px 20px;
    }
    
    .nav-container {
        justify-content: space-between;
        align-items: center;
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: -20px;
        right: -20px;
        background: rgba(20, 20, 20, 0.98);
        backdrop-filter: blur(15px);
        border: 1px solid rgba(59, 130, 246, 0.3);
        border-radius: 20px;
        margin-top: 10px;
        padding: 20px;
        flex-direction: column;
        gap: 15px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.3s ease;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .nav-link {
        width: 100%;
        justify-content: center;
        align-items: center;
        padding: 15px 20px;
        border-radius: 15px;
        font-size: 1rem;
        position: relative;
    }
    
    .nav-link .nav-icon {
        position: absolute;
        left: 20px;
        font-size: 1.2rem;
    }
    
    .nav-dropdown {
        width: 100%;
    }
    
    .dropdown-toggle {
        width: 100%;
        justify-content: center;
        align-items: center;
        position: relative;
    }
    
    .dropdown-toggle .nav-icon {
        position: absolute;
        left: 20px;
        font-size: 1.2rem;
    }
    
    .dropdown-toggle .dropdown-arrow {
        position: absolute;
        right: 20px;
        font-size: 0.9rem;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        transform: none;
        margin-top: 0;
        border-radius: 15px;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(15, 15, 15, 0.98);
        backdrop-filter: blur(10px);
    }
    
    .nav-dropdown.active .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        max-height: 500px;
        padding: 15px 0;
        margin-top: 10px;
        transform: none !important;
    }
    
    .nav-dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }
    
    .dropdown-item {
        padding: 12px 25px;
        font-size: 0.95rem;
        justify-content: center;
        align-items: center;
        position: relative;
    }
    
    .dropdown-item .nav-icon {
        position: absolute;
        left: 25px;
        font-size: 1.1rem;
    }
    
    .playbook-menu {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 15px 0;
        min-width: auto;
        background: rgba(15, 15, 15, 0.98);
    }
    
    .playbook-menu .dropdown-item {
        padding: 15px 25px;
        border-radius: 12px;
        margin: 0 15px;
        font-size: 1rem;
        justify-content: center;
        align-items: center;
        position: relative;
        transition: all 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .playbook-menu .dropdown-item:hover {
        background: rgba(59, 130, 246, 0.2);
        border-color: rgba(59, 130, 246, 0.4);
        transform: translateY(-1px);
    }
    
    .playbook-menu .dropdown-item .nav-icon {
        position: absolute;
        left: 25px;
        font-size: 1.2rem;
    }
    
    .playbook-center {
        order: -1;
        margin-bottom: 10px;
    }
    
    /* Home responsive */
    .home-top {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .home-bottom {
        margin-top: 30px;
    }
    
    .home-section h1 {
        font-size: 2.5rem;
    }
    
    .social-links {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .profile-image {
        width: 250px;
        height: 250px;
    }
    
    .profile-name {
        font-size: 2.5rem;
    }
    
    .profile-subtitle {
        font-size: 1.1rem;
    }
    
    .modal-body {
        flex-direction: column;
    }
    
    .modal-body img {
        max-width: 100%;
        max-height: 300px;
    }
}

@media (max-width: 480px) {
    /* Asegurar que hover esté deshabilitado en pantallas pequeñas */
    .nav-dropdown:hover .dropdown-menu {
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(-10px) !important;
    }
    
    .nav-dropdown:hover .dropdown-arrow {
        transform: none !important;
    }
    
    /* Pero permitir que los submenús activos se muestren */
    .nav-dropdown.active:hover .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }
    
    .nav-dropdown.active:hover .dropdown-arrow {
        transform: rotate(180deg) !important;
    }
    
    .floating-nav {
        top: 10px;
        left: 10px;
        right: 10px;
        padding: 10px 15px;
    }
    
    .nav-brand a {
        font-size: 1.1rem;
    }
    
    .mobile-menu-toggle {
        width: 35px;
        height: 35px;
    }
    
    .hamburger-line {
        width: 20px;
        height: 2px;
    }
    
    .nav-menu {
        left: -15px;
        right: -15px;
        padding: 15px;
    }
    
    .nav-link {
        padding: 12px 15px;
        font-size: 0.95rem;
        justify-content: center;
        position: relative;
    }
    
    .nav-link .nav-icon {
        position: absolute;
        left: 15px;
        font-size: 1.1rem;
    }
    
    .dropdown-toggle .nav-icon {
        position: absolute;
        left: 15px;
        font-size: 1.1rem;
    }
    
    .dropdown-toggle .dropdown-arrow {
        position: absolute;
        right: 15px;
        font-size: 0.8rem;
    }
    
    .dropdown-item {
        padding: 12px 20px;
        font-size: 0.9rem;
        justify-content: center;
        position: relative;
        border-radius: 10px;
        transition: all 0.3s ease;
    }
    
    .dropdown-item:hover {
        background: rgba(59, 130, 246, 0.2);
        transform: translateY(-1px);
    }
    
    .dropdown-item .nav-icon {
        position: absolute;
        left: 20px;
        font-size: 1rem;
    }
    
    .playbook-menu .dropdown-item {
        padding: 12px 20px;
        margin: 0 10px;
        font-size: 0.95rem;
        justify-content: center;
        position: relative;
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }
    
    .playbook-menu .dropdown-item:hover {
        background: rgba(59, 130, 246, 0.2);
        border-color: rgba(59, 130, 246, 0.4);
        transform: translateY(-1px);
    }
    
    .playbook-menu .dropdown-item .nav-icon {
        position: absolute;
        left: 20px;
        font-size: 1.1rem;
    }
    
    .home-section h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .social-link {
        padding: 12px 15px;
    }
    
    .profile-image {
        width: 200px;
        height: 200px;
    }
    
    .profile-name {
        font-size: 2rem;
    }
    
    .profile-subtitle {
        font-size: 1rem;
    }
}
