@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

/* Variables */
:root {
    --accent-color: #F8DC63; /* Puedes cambiar este color según tus preferencias */
}

/* Reset y Estilos Básicos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    background: linear-gradient(to bottom right, #C33C54, #CA5369, #CF6377 );
    color: white;
    cursor: none;
}

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

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    left: 0;
    right: 0;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar-logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.navbar-links {
    display: flex;
}

.navbar-links a {
    color: white;
    text-decoration: none;
    margin-left: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
}

.navbar-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Hero */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1;
    animation: fadeIn 1s ease-out;
    width: 100%;
    padding: 0 20px;
}

.hero-title {
    font-size: 6rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Main */
main {
    padding: 4rem 0;
}

/* Secciones */
.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.025em;
}

/* Noticias */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-item {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.news-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.news-excerpt {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.read-more {
    display: inline-block;
    background-color: white;
    color: #9c27b0;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.read-more:hover {
    background-color: #f3e5f5;
}

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

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

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

.news-item:nth-child(odd) {
    animation: slideInLeft 1s ease-out;
}

.news-item:nth-child(even) {
    animation: slideInRight 1s ease-out;
}

/* Footer */
.footer {
    background-color: rgba(211, 203, 203, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem 0;
    text-align: center;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.footer-logo img {
    width: 100px;
    height: auto;
}

.footer-text {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* Estilos Responsivos */
@media (max-width: 768px) {
    .hero-title {
        font-size: 4rem; /* Ajustado para pantallas más pequeñas */
    }

    .hero-subtitle {
        font-size: 1.25rem; /* Ajustado para pantallas más pequeñas */
    }

    .section-title {
        font-size: 2.5rem;
    }

    .navbar-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar-links {
        margin-top: 1rem;
    }

    .navbar-links a {
        margin-left: 0;
        margin-right: 1rem;
    }

    .footer-text {
        font-size: 0.875rem;
    }

    .footer-logo img {
        width: 80px;
    }
    #cursor, #cursor-border {
        display: none;
    }
}

/* Cursor Personalizado */
#cursor {
    width: 10px;
    height: 10px;
    background-color: var(--accent-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
}

#cursor-border {
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.2s ease-out;
}

/* Texto Deslizante - Comentado */
.scrolling-text {
    width: 100%;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000; /* Para que esté sobre todo */
    text-align: center;
}

.scrolling-text p {
    display: inline-block;
    white-space: nowrap;
    animation: scrollText 12s linear infinite;
}

@keyframes scrollText {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}
