/* Import from index.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Montserrat:wght@400;500;600;700&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Roboto', sans-serif;
    margin: 0;
    background: #f7fafc;
    color: #2d3748;
    line-height: 1.7;
}

:root {
    --eco-primary: #10b981;
    --eco-secondary: #059669;
    --eco-dark: #047857;
    --eco-light: #d1fae5;
    --eco-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Navbar Styles */
.navbar-brand.logo-brand {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--eco-primary) !important;
    text-decoration: none;
}

.nav-link {
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--eco-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.dropdown-menu-modern {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 0.75rem;
}

.dropdown-item:hover {
    background: var(--eco-light);
    color: var(--eco-dark);
    transform: translateX(5px);
}

/* Calendar Section */
#calendario-ecovida {
    padding: 5rem 0;
    background: linear-gradient(135deg, #e0f2fe 0%, #f0fdf4 100%);
}

#calendario-ecovida h1 {
    font-family: 'Montserrat', sans-serif;
    color: var(--eco-dark);
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-align: center;
    animation: fadeInDown 0.8s ease;
}

#calendario-ecovida > .container > p {
    text-align: center;
    color: #718096;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Calendar Container */
.calendar {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    overflow: hidden;
    animation: fadeInUp 0.8s ease;
}

.month {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--eco-gradient);
    padding: 2rem;
    color: white;
}

.month h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
}

.month button {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.month button:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #f7fafc;
    padding: 1.5rem 1rem;
    font-weight: 600;
    color: #4a5568;
    text-align: center;
}

.weekdays div {
    padding: 0.5rem;
}

.days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    padding: 1.5rem 1rem;
}

.day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.day:hover {
    background: var(--eco-light);
    color: var(--eco-dark);
    transform: scale(1.1);
}

.day.selected {
    background: var(--eco-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.day.today {
    border: 2px solid var(--eco-primary);
    font-weight: 700;
}

/* Footer */
footer {
    background: #1a202c;
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info h3,
.footer-links h3,
.footer-social h3,
.footer-newsletter h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-info p,
.footer-links a,
.footer-social a {
    color: #a0aec0;
    text-decoration: none;
    line-height: 1.8;
    transition: color 0.3s ease;
}

.footer-links ul,
.list-unstyled {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a:hover,
.footer-social a:hover {
    color: var(--eco-primary);
    padding-left: 5px;
}

.footer-social a {
    display: block;
    margin-bottom: 0.5rem;
}

.footer-newsletter .form-control {
    border-radius: 50px 0 0 50px;
    border: none;
    padding: 0.75rem 1.25rem;
}

.footer-newsletter .btn {
    border-radius: 0 50px 50px 0;
    background: var(--eco-gradient);
    border: none;
    padding: 0.75rem 1.5rem;
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #a0aec0;
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .month {
        padding: 1.5rem 1rem;
    }
    
    .month h2 {
        font-size: 1.25rem;
    }
    
    .month button {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .weekdays {
        padding: 1rem 0.5rem;
        font-size: 0.85rem;
    }
    
    .days {
        padding: 1rem 0.5rem;
        gap: 0.25rem;
    }
    
    .day {
        font-size: 0.9rem;
    }
}
