/* Variables CSS */
:root {
    --primary-color: #e63946;
    --primary-dark: #c1121f;
    --secondary-color: #1d3557;
    --accent-color: #f77f00;
    --light-color: #f1faee;
    --dark-color: #1a1a2e;
    --warning-color: #fcbf49;
    --success-color: #2a9d8f;
    --gradient-fire: linear-gradient(135deg, #e63946, #f77f00);
    --gradient-hope: linear-gradient(135deg, #1d3557, #457b9d);
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 20px 50px rgba(0, 0, 0, 0.25);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fafafa;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo i {
    font-size: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
}

/* Language Selector */
.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 12px;
    border-radius: 25px;
    border: 2px solid #e9ecef;
    transition: var(--transition);
}

.language-selector:hover {
    border-color: var(--primary-color);
}

.language-selector i {
    color: var(--primary-color);
    font-size: 1rem;
}

.language-selector select {
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--secondary-color);
    cursor: pointer;
    outline: none;
    padding-right: 5px;
}

.language-selector select option {
    padding: 10px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23e63946" stroke-width="0.5" opacity="0.3"/></svg>');
    background-size: 100px 100px;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 20px;
    max-width: 800px;
}

.urgency-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 40px;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-fire);
    color: white;
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: white;
    color: var(--secondary-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-large {
    padding: 18px 45px;
    font-size: 1.1rem;
}

.btn-copy {
    background: var(--secondary-color);
    color: white;
    width: 100%;
    justify-content: center;
}

.btn-copy:hover {
    background: var(--primary-color);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
    background: linear-gradient(135deg, #128C7E, #075E54);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-20px); }
    60% { transform: translateX(-50%) translateY(-10px); }
}

/* Stats Section */
.stats {
    background: var(--gradient-fire);
    padding: 60px 0;
    margin-top: -50px;
    position: relative;
    z-index: 20;
}

.stats .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    text-align: center;
    color: white;
    padding: 20px;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

.section-header.light h2,
.section-header.light p {
    color: white;
}

/* Situation Section */
.situation {
    padding: 100px 0;
    background: white;
}

.situation-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(250px, 320px));
    gap: 30px;
    justify-content: center;
}

.situation-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    text-align: center;
}

.situation-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 25px;
}

.card-icon.danger {
    background: rgba(230, 57, 70, 0.1);
    color: var(--primary-color);
}

.card-icon.warning {
    background: rgba(252, 191, 73, 0.1);
    color: var(--warning-color);
}

.card-icon.info {
    background: rgba(29, 53, 87, 0.1);
    color: var(--secondary-color);
}

.situation-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.situation-card ul {
    list-style: none;
}

.situation-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

.situation-card ul li:last-child {
    border-bottom: none;
}

/* How to Help Section */
.how-to-help {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(180px, 220px));
    gap: 20px;
    justify-content: center;
}

.help-card {
    background: white;
    padding: 30px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.help-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.help-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-fire);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: white;
}

.help-icon.whatsapp-icon {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.help-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.help-card p {
    color: #666;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

/* Donations Section */
.donations {
    padding: 100px 0;
    background: var(--gradient-hope);
}

.donation-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.donation-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
}

.donation-card.featured {
    transform: scale(1.05);
    box-shadow: var(--shadow-heavy);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 8px 25px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.donation-card h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--secondary-color);
}

.bank-info {
    text-align: left;
    margin-bottom: 25px;
}

.bank-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.bank-item .label {
    color: #666;
}

.bank-item .value {
    font-weight: 600;
    color: var(--secondary-color);
}

.donation-amounts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.amount-btn {
    padding: 15px;
    border: 2px solid #ddd;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.amount-btn:hover,
.amount-btn.active {
    border-color: var(--primary-color);
    background: rgba(230, 57, 70, 0.1);
    color: var(--primary-color);
}

.custom-amount {
    margin-bottom: 20px;
}

.custom-amount input {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    text-align: center;
}

.custom-amount input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.secure-text {
    margin-top: 15px;
    color: #666;
    font-size: 0.85rem;
}

.secure-text i {
    color: var(--success-color);
}

.other-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.method-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    transition: var(--transition);
}

.method-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.crypto-text {
    color: #666;
    font-size: 0.85rem;
}

/* Collection Centers */
.collection-centers {
    padding: 100px 0;
    background: white;
}

.centers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.center-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.center-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

.center-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.center-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.center-card .address {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.center-card .schedule {
    color: var(--success-color);
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.items-needed {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe4e4 100%);
    padding: 40px;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--primary-color);
}

.items-needed h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--secondary-color);
}

.items-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.item-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--secondary-color);
    box-shadow: var(--shadow-light);
}

.item-tag i {
    color: var(--primary-color);
}

/* Volunteer Section */
.volunteer {
    padding: 100px 0;
    background: linear-gradient(135deg, #1d3557 0%, #457b9d 100%);
}

.volunteer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.volunteer-info {
    color: white;
}

.volunteer-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.volunteer-info p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.volunteer-tasks {
    list-style: none;
}

.volunteer-tasks li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    font-size: 1rem;
}

.volunteer-tasks i {
    color: var(--success-color);
    font-size: 1.2rem;
}

.volunteer-form {
    background: white;
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
}

.volunteer-form h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.volunteer-form .btn {
    width: 100%;
    justify-content: center;
}

/* Resources Section */
.resources {
    padding: 100px 0;
    background: #f8f9fa;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.resource-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.resource-card.emergency {
    background: var(--primary-color);
    color: white;
}

.resource-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    margin-bottom: 25px;
}

.resource-card ul {
    list-style: none;
}

.resource-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.resource-card:not(.emergency) ul li {
    border-color: #eee;
}

.resource-card ul li:last-child {
    border-bottom: none;
}

.resource-card a {
    color: var(--primary-color);
    text-decoration: none;
}

.resource-card a:hover {
    text-decoration: underline;
}

.resource-card.emergency a {
    color: white;
}

/* Partners Section */
.partners {
    padding: 80px 0;
    background: white;
    text-align: center;
}

.partners h2 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 40px;
}

.partners-logos {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.partner-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #666;
    opacity: 0.7;
    transition: var(--transition);
}

.partner-logo:hover {
    opacity: 1;
    color: var(--primary-color);
}

.partner-logo i {
    font-size: 2.5rem;
}

.partner-logo span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: white;
}

.footer-section p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-section ul li i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-section .whatsapp-link {
    color: #25D366;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.footer-section .whatsapp-link:hover {
    color: #128C7E;
    text-decoration: underline;
}

.footer-section .whatsapp-link i {
    color: #25D366;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.footer-bottom i {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .stats .container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .help-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .donation-options {
        grid-template-columns: 1fr;
    }
    
    .donation-card.featured {
        transform: none;
        order: -1;
    }
    
    .centers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .volunteer-content {
        grid-template-columns: 1fr;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-medium);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .language-selector {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 10px;
        background: white;
        box-shadow: var(--shadow-light);
        z-index: 100;
    }
    
    .nav-links.active ~ .language-selector {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 15px auto 0;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .stats .container {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .situation-grid {
        grid-template-columns: 1fr;
    }
    
    .help-grid {
        grid-template-columns: 1fr;
    }
    
    .centers-grid {
        grid-template-columns: 1fr;
    }
    
    .volunteer-form {
        padding: 30px 20px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .partners-logos {
        gap: 30px;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}
