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

:root {
    --vn-blue: #0046ad;
    --vn-cyan: #00a3e0;
    --vn-yellow: #ffd100;
    --vn-dark: #0f172a;
    --vn-light: #f8fafc;
    --vn-white: #ffffff;
    --vn-gradient: linear-gradient(135deg, #0046ad 0%, #00a3e0 100%);
    --font-main: 'Outfit', sans-serif;
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -6px rgba(0, 0, 0, 0.1);
}

body {
    font-family: var(--font-main);
    background-color: var(--vn-light);
    color: var(--vn-dark);
    margin: 0;
    overflow-x: hidden;
}

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

.animate-fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* HEADER & NAV */
.top-bar {
    background: var(--vn-dark);
    color: white;
    padding: 10px 0;
    font-size: 0.8rem;
    font-weight: 300;
}

.main-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-menu a {
    color: var(--vn-blue);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 10px 18px;
    position: relative;
    transition: 0.3s;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 3px;
    background: var(--vn-cyan);
    transform: scaleX(0);
    transition: 0.3s;
}

.nav-menu a:hover::after {
    transform: scaleX(1);
}

/* HERO SECTION - ULTRA MODERN */
.hero {
    height: 650px;
    background: var(--vn-dark);
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60%;
    height: 120%;
    background: var(--vn-gradient);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    line-height: 0.9;
    background: linear-gradient(to right, #ffffff, #00a3e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1.2rem;
    max-width: 550px;
    border-left: 6px solid var(--vn-yellow);
    padding-left: 25px;
    margin: 30px 0;
    color: rgba(255,255,255,0.8);
}

/* CARDS - PREMIUM GLASSMORMISM */
.info-card {
    background: var(--vn-white);
    padding: 60px 30px 40px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--vn-gradient);
}

.info-card:hover {
    transform: scale(1.05) translateY(-10px);
}

.card-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    background: var(--vn-yellow);
    color: var(--vn-dark);
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
    box-shadow: 0 10px 15px rgba(255, 209, 0, 0.3);
}

.card-icon {
    font-size: 3.5rem;
    background: var(--vn-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
}

.btn-vn {
    background: var(--vn-blue);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    transition: 0.4s;
    box-shadow: 0 10px 20px rgba(0, 70, 173, 0.2);
    text-decoration: none;
    display: inline-block;
}

.btn-vn:hover {
    background: var(--vn-cyan);
    transform: scale(1.05);
    color: white;
}

/* MAYOR SECTION - MODERN LAYOUT */
.mayor-card {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.mayor-card::after {
    content: 'VILLA NUEVA RESUELVE';
    position: absolute;
    bottom: 20px;
    right: -40px;
    background: var(--vn-yellow);
    padding: 10px 60px;
    font-weight: 900;
    transform: rotate(-45deg);
    font-size: 0.8rem;
}



