/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #fbbf24;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    color: #fbbf24;
}

.nav-link.active {
    color: #fbbf24;
    font-weight: bold;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(45deg, transparent 0%, rgba(251, 191, 36, 0.15) 100%);
    clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    color: white;
    z-index: 2;
}

.ministry-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #fbbf24;
    text-align: center;
    font-weight: bold;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #f1f5f9;
}

.hero-info {
    background: rgba(30, 64, 175, 0.9);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-item i {
    color: #fbbf24;
    font-size: 1.2rem;
}

.investment {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fbbf24;
    text-align: center;
    margin-bottom: 1rem;
}

.contact-info {
    text-align: center;
    margin-top: 1rem;
}

.phone {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #333;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(251, 191, 36, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #333;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.torch-container {
    font-size: 8rem;
    color: #fbbf24;
    text-shadow: 0 0 30px rgba(251, 191, 36, 0.5);
    animation: float 3s ease-in-out infinite;
    transform: rotate(0deg);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Container general */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e40af;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: #fefdf8;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
}

.topic-highlight {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #fbbf24;
}

.topic-highlight h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fbbf24;
}

.bible-verse {
    font-style: italic;
    margin-top: 1rem;
    font-size: 1.1rem;
}

/* Speakers Section */
.speakers {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.speaker-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.speaker-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.speaker-image {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #333;
    overflow: hidden;
    border: 3px solid #fefdf8;
}

.speaker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.speaker-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #fbbf24;
}

.speaker-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #fefdf8;
}

.speaker-details {
    text-align: left;
    font-size: 0.9rem;
    line-height: 1.6;
}

.speaker-details ul {
    list-style: none;
    padding: 0;
}

.speaker-details li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.speaker-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #fbbf24;
    font-weight: bold;
}

/* Event Details Section */
.event-details {
    padding: 5rem 0;
    background: #fefdf8;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.detail-card {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid #fbbf24;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(30, 64, 175, 0.3);
}

.detail-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(251, 191, 36, 0.1));
    transform: rotate(45deg);
}

.detail-icon {
    font-size: 3rem;
    color: #fbbf24;
    margin-bottom: 1rem;
}

.detail-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #fbbf24;
}

.detail-content {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* QR Section */
.qr-section {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    padding: 3rem 0;
    text-align: center;
}

.qr-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.qr-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
}

.qr-subtitle {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    background: #fefdf8;
    border: 5px solid #1e40af;
    border-radius: 15px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #1e40af;
}

.qr-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #fbbf24;
    margin-bottom: 1rem;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 1rem;
    margin-top: 2rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: #1e40af;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-logo h2 {
        font-size: 1.2rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .ministry-title {
        font-size: 1rem;
        margin-bottom: 0.8rem;
        text-align: center;
        padding: 0 1rem;
        line-height: 1.3;
    }

    .hero-title {
        font-size: 2.5rem;
        text-align: center;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .torch-container {
        font-size: 4rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .speakers-grid {
        grid-template-columns: 1fr;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        justify-content: center;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .ministry-title {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        padding: 0 0.5rem;
        white-space: nowrap;
        overflow: visible;
    }

    .hero-title {
        font-size: 2rem;
    }

    .investment {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .speaker-card {
        padding: 1.5rem;
    }

    .detail-card {
        padding: 1.5rem;
    }
}
