/* === ESTILOS MEJORADOS PARA BLOG === */ /* Variables CSS */ :root { --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%); --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); --warning-gradient: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%); --info-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%); --danger-gradient: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); --shadow-light: 0 4px 15px rgba(0,0,0,0.1); --shadow-medium: 0 8px 25px rgba(0,0,0,0.15); --shadow-heavy: 0 15px 35px rgba(0,0,0,0.2); --border-radius: 15px; --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); } /* === CONTENEDOR PRINCIPAL === */ .blog-container { background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); min-height: 100vh; padding: 2rem 0; position: relative; overflow-x: hidden; } [data-theme="dark"] .blog-container { background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%); } .blog-container::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%); pointer-events: none; opacity: 0.3; } /* === HEADER MEJORADO === */ .blog-header { text-align: center; color: #2c3e50; margin-bottom: 4rem; position: relative; z-index: 2; } [data-theme="dark"] .blog-header { color: #ecf0f1; } .blog-header h1 { font-size: 3.5rem; font-weight: 800; text-shadow: 2px 2px 4px rgba(0,0,0,0.1); margin-bottom: 1.5rem; background: linear-gradient(45deg, #2c3e50, #3498db, #2c3e50); background-size: 200% 200%; -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: shimmer 3s ease-in-out infinite; } [data-theme="dark"] .blog-header h1 { background: linear-gradient(45deg, #ecf0f1, #3498db, #ecf0f1); background-size: 200% 200%; -webkit-background-clip: text; -webkit-text-fill-color: transparent; } @keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } } .blog-header p { font-size: 1.3rem; opacity: 0.8; max-width: 700px; margin: 0 auto; line-height: 1.6; } .blog-header .blog-stats { display: flex; justify-content: center; gap: 2rem; margin-top: 2rem; } .blog-stat { text-align: center; padding: 1rem; background: rgba(255,255,255,0.9); backdrop-filter: blur(20px); border-radius: var(--border-radius); border: 2px solid rgba(255,255,255,0.2); box-shadow: var(--shadow-light); } [data-theme="dark"] .blog-stat { background: rgba(44, 62, 80, 0.9); border-color: rgba(52, 73, 94, 0.3); } .blog-stat .stat-number { font-size: 2rem; font-weight: 800; color: #3498db; display: block; } .blog-stat .stat-label { font-size: 0.9rem; opacity: 0.7; text-transform: uppercase; letter-spacing: 1px; } /* === TARJETAS DE ARTÍCULOS MEJORADAS === */ .blog-posts { position: relative; z-index: 2; } .blog-post-card { background: rgba(255,255,255,0.9); backdrop-filter: blur(20px); border: 2px solid rgba(255,255,255,0.2); border-radius: var(--border-radius); padding: 2rem; margin-bottom: 2rem; color: #2c3e50; transition: var(--transition); position: relative; overflow: hidden; box-shadow: var(--shadow-light); } [data-theme="dark"] .blog-post-card { background: rgba(44, 62, 80, 0.9); color: #ecf0f1; border-color: rgba(52, 73, 94, 0.3); } .blog-post-card::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; } .blog-post-card:hover::before { left: 100%; } .blog-post-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: var(--shadow-heavy); border-color: rgba(255,255,255,0.4); } [data-theme="dark"] .blog-post-card:hover { border-color: rgba(52, 152, 219, 0.4); } /* === META DEL POST === */ .post-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; } .post-category { padding: 0.5rem 1rem; border-radius: 20px; font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; background: linear-gradient(45deg, #3498db, #9b59b6); color: white; box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3); transition: var(--transition); } .post-category:hover { transform: scale(1.05); } .post-meta-info { display: flex; gap: 1rem; font-size: 0.9rem; opacity: 0.7; } .post-meta-item { display: flex; align-items: center; gap: 0.5rem; } .post-meta-item i { color: #3498db; font-size: 0.8rem; } /* === TÍTULO DEL POST === */ .post-title { font-size: 1.8rem; font-weight: 700; margin-bottom: 1rem; line-height: 1.3; transition: var(--transition); } .post-title a { color: inherit; text-decoration: none; background: linear-gradient(45deg, #2c3e50, #3498db); background-size: 200% 200%; -webkit-background-clip: text; -webkit-text-fill-color: transparent; transition: var(--transition); } [data-theme="dark"] .post-title a { background: linear-gradient(45deg, #ecf0f1, #3498db); background-size: 200% 200%; -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .post-title a:hover { background-position: 100% 50%; transform: translateX(5px); } /* === EXCERPT === */ .post-excerpt { font-size: 1.1rem; line-height: 1.6; margin-bottom: 1.5rem; opacity: 0.8; color: #34495e; } [data-theme="dark"] .post-excerpt { color: #bdc3c7; } /* === FOOTER DEL POST === */ .post-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 1.5rem; border-top: 2px solid rgba(0,0,0,0.1); flex-wrap: wrap; gap: 1rem; } [data-theme="dark"] .post-footer { border-top-color: rgba(255,255,255,0.1); } .post-author { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; color: #3498db; } .post-author i { font-size: 1.2rem; } .post-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; } .post-tag { padding: 0.3rem 0.8rem; border-radius: 15px; font-size: 0.8rem; font-weight: 500; background: rgba(52, 152, 219, 0.1); color: #3498db; border: 1px solid rgba(52, 152, 219, 0.2); transition: var(--transition); } .post-tag:hover { background: rgba(52, 152, 219, 0.2); transform: scale(1.05); } /* === SIDEBAR MEJORADO === */ .blog-sidebar { position: relative; z-index: 2; } .sidebar-card { background: rgba(255,255,255,0.9); backdrop-filter: blur(20px); border: 2px solid rgba(255,255,255,0.2); border-radius: var(--border-radius); padding: 1.5rem; margin-bottom: 2rem; color: #2c3e50; box-shadow: var(--shadow-light); transition: var(--transition); } [data-theme="dark"] .sidebar-card { background: rgba(44, 62, 80, 0.9); color: #ecf0f1; border-color: rgba(52, 73, 94, 0.3); } .sidebar-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-medium); } .sidebar-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.5rem; color: #3498db; } .sidebar-title i { font-size: 1.2rem; } /* === CATEGORÍAS === */ .category-list { list-style: none; padding: 0; margin: 0; } .category-item { margin-bottom: 0.5rem; } .category-link { display: flex; align-items: center; justify-content: space-between; padding: 0.8rem 1rem; border-radius: 10px; color: inherit; text-decoration: none; transition: var(--transition); background: rgba(52, 152, 219, 0.05); border: 1px solid rgba(52, 152, 219, 0.1); } .category-link:hover { background: rgba(52, 152, 219, 0.1); transform: translateX(5px); color: #3498db; text-decoration: none; } .category-count { background: #3498db; color: white; padding: 0.2rem 0.6rem; border-radius: 10px; font-size: 0.8rem; font-weight: 600; } /* === ARTÍCULOS POPULARES === */ .popular-post { display: flex; align-items: center; gap: 1rem; padding: 1rem; border-radius: 10px; transition: var(--transition); border: 1px solid rgba(52, 152, 219, 0.1); } .popular-post:hover { background: rgba(52, 152, 219, 0.05); transform: translateX(5px); } .popular-post-number { background: linear-gradient(45deg, #3498db, #9b59b6); color: white; width: 2rem; height: 2rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; flex-shrink: 0; } .popular-post-content { flex: 1; } .popular-post-title { font-weight: 600; margin-bottom: 0.5rem; line-height: 1.3; } .popular-post-title a { color: inherit; text-decoration: none; transition: var(--transition); } .popular-post-title a:hover { color: #3498db; } .popular-post-meta { font-size: 0.8rem; opacity: 0.7; display: flex; align-items: center; gap: 0.5rem; } /* === NEWSLETTER === */ .newsletter-card { background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(155, 89, 182, 0.1)); border: 2px solid rgba(52, 152, 219, 0.3); } [data-theme="dark"] .newsletter-card { background: linear-gradient(135deg, rgba(52, 152, 219, 0.2), rgba(155, 89, 182, 0.2)); border-color: rgba(52, 152, 219, 0.5); } .newsletter-form { display: flex; gap: 0.5rem; margin-top: 1rem; } .newsletter-input { flex: 1; padding: 0.8rem 1rem; border: 1px solid rgba(52, 152, 219, 0.3); border-radius: 10px; background: rgba(255,255,255,0.9); color: #2c3e50; transition: var(--transition); } [data-theme="dark"] .newsletter-input { background: rgba(44, 62, 80, 0.9); color: #ecf0f1; border-color: rgba(52, 152, 219, 0.5); } .newsletter-input:focus { outline: none; border-color: #3498db; box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1); } .newsletter-btn { padding: 0.8rem 1.5rem; background: linear-gradient(45deg, #3498db, #9b59b6); color: white; border: none; border-radius: 10px; font-weight: 600; transition: var(--transition); white-space: nowrap; } .newsletter-btn:hover { transform: scale(1.05); box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3); } /* === ELEMENTOS FLOTANTES === */ .floating-elements { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; } .floating-element { position: absolute; font-size: 2rem; opacity: 0.1; animation: float 6s ease-in-out infinite; } .floating-element:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; } .floating-element:nth-child(2) { top: 20%; right: 15%; animation-delay: 2s; } .floating-element:nth-child(3) { bottom: 30%; left: 20%; animation-delay: 4s; } .floating-element:nth-child(4) { bottom: 20%; right: 10%; animation-delay: 1s; } .floating-element:nth-child(5) { top: 50%; left: 5%; animation-delay: 3s; } @keyframes float { 0%, 100% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-20px) rotate(180deg); } } /* === ANIMACIONES DE ENTRADA === */ .blog-post-card { animation: fadeInUp 0.6s ease-out forwards; opacity: 0; transform: translateY(30px); } .blog-post-card:nth-child(1) { animation-delay: 0.1s; } .blog-post-card:nth-child(2) { animation-delay: 0.2s; } .blog-post-card:nth-child(3) { animation-delay: 0.3s; } .blog-post-card:nth-child(4) { animation-delay: 0.4s; } .blog-post-card:nth-child(5) { animation-delay: 0.5s; } @keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } } /* === RESPONSIVE === */ @media (max-width: 768px) { .blog-header h1 { font-size: 2.5rem; } .blog-stats { flex-direction: column; gap: 1rem; } .blog-post-card { padding: 1.5rem; } .post-title { font-size: 1.5rem; } .post-footer { flex-direction: column; align-items: flex-start; } .post-meta { flex-direction: column; align-items: flex-start;
📚
📖
✍️
🎓
📝

📚 Blog Educativo

Descubre artículos especializados, técnicas de estudio avanzadas y consejos expertos para dominar el conocimiento marítimo

3 Artículos
3 Categorías
15+ Tags
Navegación
2025-01-10
8 min

Guía Completa de Navegación Marítima

Todo lo que necesitas saber sobre navegación marítima, desde conceptos básicos hasta técnicas avanzadas...

Capitán María González
navegación marítimo instrumentos