/* Import Fonts */
@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: #ffffff;
    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 */
.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);
}

/* Consejos Section */
.consejos-seccion {
    padding: 5rem 0;
    background: #f7fafc;
}

.consejos-seccion h2 {
    font-family: 'Montserrat', sans-serif;
    color: var(--eco-dark);
    font-weight: 800;
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    animation: fadeInDown 0.8s ease;
}

.consejo {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    margin: 2rem auto;
    max-width: 900px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    align-items: center;
    animation: fadeInUp 0.8s ease;
    animation-fill-mode: both;
}

.consejo:nth-child(2) { animation-delay: 0.1s; }
.consejo:nth-child(3) { animation-delay: 0.2s; }
.consejo:nth-child(4) { animation-delay: 0.3s; }
.consejo:nth-child(5) { animation-delay: 0.4s; }

.consejo:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.15);
}

.consejo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--eco-gradient);
    border-radius: 20px 0 0 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.consejo {
    position: relative;
}

.consejo:hover::before {
    opacity: 1;
}

.consejo img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
}

.consejo:hover img {
    transform: scale(1.05);
}

.consejo h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--eco-dark);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.consejo h3::before {
    content: '🌿';
    margin-right: 0.75rem;
    font-size: 2rem;
}

.consejo p {
    color: #718096;
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 0;
}

/* 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;
    margin-bottom: 0;
}

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

.footer-newsletter .btn:hover {
    transform: scale(1.05);
}

.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 Design */
@media (max-width: 768px) {
    .consejos-seccion h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .consejo {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        text-align: center;
        gap: 1.5rem;
    }
    
    .consejo img {
        width: 100%;
        max-width: 250px;
        height: 250px;
        margin: 0 auto;
    }
    
    .consejo h3 {
        justify-content: center;
        font-size: 1.5rem;
    }
    
    .consejo p {
        font-size: 1rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .consejos-seccion {
        padding: 3rem 1rem;
    }
    
    .consejo {
        margin: 1.5rem 1rem;
    }
}
