/* static/css/style.css */

:root {
    --primary: #13887e;
    --secondary: #4c0519;
    --tertiary: #831843;
    --accent: #fb7185;
    --bg: #0a2a28;
    --text: #ffe4e6;
    --card-bg: rgba(136, 19, 55, 0.3);
    --border-glow: rgba(251, 113, 133, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg);
    font-family: 'Inter', 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.5;
    padding-top: 76px;
}

.navbar {
    background: rgba(42, 10, 18, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--accent);
    padding: 0.75rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar-brand .brand-text {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-img {
    filter: drop-shadow(0 0 4px var(--accent));
}

.nav-link {
    color: var(--text) !important;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border-radius: 40px;
    padding: 0.5rem 1rem;
}

.nav-link:hover {
    color: var(--accent) !important;
    background: rgba(251, 113, 133, 0.15);
}

.btn-connect-nav {
    background: var(--accent);
    color: var(--secondary) !important;
    border-radius: 40px;
    padding: 0.5rem 1.2rem !important;
    font-weight: 700;
}

.btn-connect-nav:hover {
    background: #ff8a9e;
    color: #0a2a28 !important;
}

.main-content {
    padding: 2rem 0 3rem;
}

.hero-section {
    background: linear-gradient(145deg, var(--secondary) 0%, var(--bg) 100%);
    border-radius: 2rem;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(251, 113, 133, 0.3);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.hero-badge {
    display: inline-block;
    background: var(--primary);
    padding: 0.3rem 1rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 20%, var(--accent) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 1.8rem;
}

.hero-text-block p {
    font-size: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}

.btn-social, .btn-email {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 1rem;
}

.btn-social {
    background: #1877f2;
    color: white;
    border: none;
}

.btn-social:hover {
    background: #0e5fd9;
    color: white;
    transform: translateY(-2px);
}

.btn-email {
    background: var(--tertiary);
    color: var(--text);
    border: 1px solid var(--accent);
}

.btn-email:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.feature-block {
    background: rgba(76, 5, 25, 0.4);
    border-radius: 2rem;
    padding: 2rem;
    margin-bottom: 3rem;
    backdrop-filter: blur(4px);
    border: 1px solid var(--tertiary);
}

.section-tag {
    display: inline-block;
    background: var(--accent);
    color: var(--secondary);
    font-weight: 700;
    padding: 0.2rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

.feature-block h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.modern-img {
    border-radius: 1.5rem;
    object-fit: cover;
    width: 100%;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, filter 0.3s;
    filter: brightness(0.95) contrast(1.05);
}

.modern-img:hover {
    transform: scale(1.01);
    filter: brightness(1);
}

.seccion-feed {
    margin-bottom: 3.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 2px dashed var(--accent);
    display: inline-block;
    width: auto;
    padding-bottom: 0.5rem;
}

.section-header i {
    font-size: 2rem;
    color: var(--accent);
    margin-right: 0.8rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    display: inline-block;
    margin: 0;
}

.section-header p {
    color: #f0b6c2;
    margin-top: 0.5rem;
}

.feed-card {
    background: rgba(131, 24, 67, 0.25);
    backdrop-filter: blur(6px);
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid var(--tertiary);
    transition: all 0.25s;
    height: 100%;
}

.feed-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}

.feed-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-bottom: 2px solid var(--accent);
}

.feed-card-body {
    padding: 1.2rem;
}

.badge-category {
    font-size: 0.7rem;
    background: var(--primary);
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 0.6rem;
}

.feed-card-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.horizontal-card {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.feed-img-horizontal {
    width: 40%;
    height: 160px;
    object-fit: cover;
    border-radius: 1rem 0 0 1rem;
}

.horizontal-card .feed-card-body {
    width: 60%;
}

.short-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.short-card {
    background: rgba(76, 5, 25, 0.5);
    border-radius: 1.2rem;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--tertiary);
}

.short-card i {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.short-card h4 {
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.opinion-card {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--bg) 100%);
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid var(--accent);
    height: 100%;
}

.opinion-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.opinion-body {
    padding: 1.5rem;
}

.opinion-body h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.agenda-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 1.5rem;
    padding: 1.8rem;
}

.agenda-item {
    background: var(--primary);
    padding: 1rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    transition: 0.2s;
}

.agenda-item i {
    font-size: 1.5rem;
    color: var(--accent);
}

.agenda-item:hover {
    background: var(--tertiary);
    transform: translateX(5px);
}

.comunidad-section {
    margin: 3rem 0;
}

.comunidad-card {
    background: radial-gradient(circle at 10% 20%, var(--secondary), var(--bg));
    border-radius: 2rem;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid var(--accent);
}

.comunidad-card i {
    font-size: 2.8rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.comunidad-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.comunidad-links {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.btn-social-lg, .btn-email-lg {
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.btn-social-lg {
    background: #1877f2;
    color: white;
}

.btn-email-lg {
    background: var(--tertiary);
    color: var(--text);
    border: 1px solid var(--accent);
}

.final-curve {
    background: rgba(136, 19, 55, 0.5);
    border-radius: 2rem;
    padding: 2.5rem;
    text-align: center;
    margin: 2rem 0;
    backdrop-filter: blur(5px);
}

.final-text h4 {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.hashtag {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent);
    margin: 1.2rem 0;
    letter-spacing: 1px;
}

.final-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.final-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dashed var(--accent);
    padding-bottom: 4px;
}

.footer {
    background: #1c0610;
    padding: 1.5rem 0;
    border-top: 1px solid var(--tertiary);
    margin-top: 1rem;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-icons a {
    color: var(--accent);
    font-size: 1.4rem;
    margin-left: 1rem;
    transition: 0.2s;
}

.footer-icons a:hover {
    color: white;
}

@media (max-width: 768px) {
    body {
        padding-top: 68px;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-section {
        padding: 2rem 1rem;
    }
    .horizontal-card {
        flex-direction: column;
    }
    .feed-img-horizontal {
        width: 100%;
        height: 170px;
        border-radius: 1rem 1rem 0 0;
    }
    .horizontal-card .feed-card-body {
        width: 100%;
    }
    .section-header h2 {
        font-size: 1.6rem;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}