/*
 * Índice de contenidos
 * 1. Variables y reset
 * 2. Estilos base
 * 3. Header y navegación
 * 4. Hero section
 * 5. Main content
 * 6. Components
 * 7. Utilities
 * 8. Footer
 * 9. Media queries
 */

/* 1. Variables y reset */
:root {
    --primary-color: #1a5276;
    --secondary-color: #2874a6;
    --accent-color: #f39c12;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gray-color: #6c757d;
    --success-color: #28a745;
    --error-color: #dc3545;
    --header-height: 60px;
}

/* 2. Estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Contenedores */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.container-header {
    width: 100%;
    max-width: 95%;
    margin: 0 auto;
    padding: 0;
    position: relative;
    display: flex;
    justify-content: center;
}

/* Espaciadores */
.header-spacer {
    width: 100%;
    height: 120px;
    display: block;
    clear: both;
}

/* 4. Hero section */
/* Hero principal para index.php */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('/uploads/CF.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: -60px;
    overflow: hidden;
}



.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

.hero-title {
    font-size: 3.8rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hero-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 1;
}

.hero-scroll-indicator .scroll-link {
    color: white;
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
}

.hero-scroll-indicator .scroll-link:hover {
    opacity: 1;
    transform: scale(1.1);
}

.hero-scroll-indicator i {
    font-size: 2rem;
}

/* Animaciones del hero */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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




/* Botones */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.btn-light:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

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

/* 3. Header y navegación */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 100%;
    width: 90%;
    margin: 0 auto;
    padding: 10px 0;
}

/* Branding */
#branding {
    flex: 0 0 auto;
}

#branding h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin: 0;
    line-height: 1.2;
    z-index: 1001;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#branding .highlight {
    color: var(--accent-color);
}

/* Navegación principal */
nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    transition: transform 0.3s ease-in-out;
    margin-left: auto;
}

nav ul {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    gap: 1.5rem;
}

nav li {
    margin: 0;
}

nav a {
    color: white;
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
    font-size: 1rem;
    white-space: nowrap;
}

nav a:hover {
    color: var(--accent-color);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 0;
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* Menú móvil */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    position: relative;
    transition: background-color 0.3s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: white;
    left: 0;
    transition: transform 0.3s, top 0.3s;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* Estilos para móviles */
@media (max-width: 1024px) {
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background-color: var(--primary-color);
        flex-direction: column;
        justify-content: flex-start;
        padding: 80px 20px 20px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        overflow-y: auto;
    }
    
    nav.active {
        transform: translateX(-300px);
    }
    
    nav ul {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    
    nav li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    nav a {
        display: block;
        padding: 15px 0;
    }
    
    /* Estilo para cuando el menú está abierto */
    body.menu-open {
        overflow: hidden;
    }
    
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
    
    /* Animación del botón de menú */
    .menu-toggle[aria-expanded="true"] .hamburger {
        background-color: transparent;
    }
    
    .menu-toggle[aria-expanded="true"] .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .menu-toggle[aria-expanded="true"] .hamburger::after {
        transform: rotate(-45deg);
        top: 0;
    }
}

/* Contenido principal */
main {
    padding-top: 0;
    padding-bottom: 2rem;
    flex: 1;
    width: 100%;
    overflow: hidden;
    margin-top: 30px; /* Espacio adicional para separar del header */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1rem;
}

/* Secciones */
.section {
    margin: 3rem 0;
    padding: 2rem 0;
    position: relative;
}



/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0 1rem;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--primary-color);
    opacity: 0.03;
    transition: height 0.4s ease;
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-card:hover::before {
    height: 100%;
}

.feature-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(243, 156, 18, 0.1);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background-color: rgba(243, 156, 18, 0.2);
    transform: scale(1.1);
}

.feature-icon i {
    font-size: 2.5rem;
    color: var(--accent-color);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.feature-card p {
    color: var(--gray-color);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.feature-card .btn-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    padding-bottom: 5px;
    position: relative;
    margin-top: auto;
}

.feature-card .btn-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card .btn-link:hover::after {
    transform: scaleX(1);
}

@media (max-width: 768px) {
    .features {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    #services {
        padding: 4rem 0;
    }
}

/* Events Section */
#eventos {
    padding: 5rem 0;
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

#eventos::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: white;
    clip-path: ellipse(50% 50% at 50% 50%);
}

#eventos h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    display: block;
    padding-bottom: 15px;
    width: 100%;
}

#eventos h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
}

.events-container {
    max-width: 900px;
    margin: 0 auto;
}

.event-card {
    display: flex;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.event-date-badge {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-color);
    color: white;
    padding: 1.5rem;
    min-width: 100px;
    text-align: center;
}

.event-day {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    font-size: 1.2rem;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.event-content {
    flex: 1;
    padding: 2rem;
}

.event-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--gray-color);
}

.event-meta span {
    display: flex;
    align-items: center;
}

.event-meta i {
    margin-right: 8px;
    color: var(--accent-color);
}

.no-events {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.no-events i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .event-card {
        flex-direction: column;
    }
    
    .event-date-badge {
        flex-direction: row;
        padding: 1rem;
        width: 100%;
    }
    
    .event-day {
        font-size: 2rem;
        margin-right: 0.5rem;
    }
    
    .event-month {
        font-size: 1rem;
        margin-top: 0;
    }
}




.expect-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.expect-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.expect-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.expect-hero .lead {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
}

/* Welcome Section */
.welcome-section {
    padding: 5rem 0;
    background-color: white;
}

.welcome-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.welcome-text {
    flex: 1;
}

.welcome-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.welcome-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-color);
    margin-bottom: 2rem;
}

.welcome-buttons {
    display: flex;
    gap: 1rem;
}

.welcome-image {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.welcome-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.welcome-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.welcome-image:hover img {
    transform: scale(1.03);
}

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

.section-header h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
}

/* Service Info Section */
.service-info-section {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-card {
    background-color: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(243, 156, 18, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.info-card-icon i {
    font-size: 2rem;
    color: var(--accent-color);
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.service-schedule {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.schedule-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.day {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.times div {
    margin-bottom: 0.5rem;
}

.times span {
    font-weight: 600;
    color: var(--accent-color);
}

.location-info {
    line-height: 1.7;
}

.address {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 1.5rem 0;
    padding: 15px;
    background-color: rgba(243, 156, 18, 0.05);
    border-radius: 8px;
}

.address i {
    color: var(--accent-color);
}

/* Features Section - Alternating Rows */
.expect-features-alt {
    padding: 5rem 0;
    background-color: white;
}

.experience-row {
    display: flex;
    align-items: center;
    margin-bottom: 5rem;
    gap: 3rem;
}

.experience-row:last-child {
    margin-bottom: 0;
}

.experience-row.reverse {
    flex-direction: row-reverse;
}

.experience-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.experience-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(26, 82, 118, 0.1), transparent);
    z-index: 1;
}

.experience-row.reverse .experience-image::after {
    background: linear-gradient(to left, rgba(26, 82, 118, 0.1), transparent);
}

.experience-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 350px;
    transition: transform 0.5s ease;
}

.experience-image:hover img {
    transform: scale(1.05);
}

.experience-content {
    flex: 1;
    padding: 2rem 0;
}

.experience-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(243, 156, 18, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.experience-icon i {
    font-size: 2rem;
    color: var(--accent-color);
}

.experience-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.experience-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

.experience-content p {
    line-height: 1.8;
    color: var(--gray-color);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

@media (max-width: 992px) {
    .experience-row, .experience-row.reverse {
        flex-direction: column;
        margin-bottom: 4rem;
    }
    
    .experience-image img {
        min-height: 250px;
    }
    
    .experience-content h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .experience-content {
        text-align: center;
        padding: 2rem 1rem;
    }
    
    .experience-icon {
        margin: 0 auto 1.5rem;
    }
    
    .dress-options, .worship-styles, .sermon-features {
        justify-content: center;
    }
}

.dress-options, .worship-styles, .sermon-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1.5rem;
}

.dress-option {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(243, 156, 18, 0.05);
    padding: 8px 15px;
    border-radius: 30px;
}

.dress-option i, .worship-styles span, .sermon-features span {
    color: var(--accent-color);
}

.worship-styles span, .sermon-features span {
    background-color: rgba(243, 156, 18, 0.05);
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
}

/* Connect Section */
.connect-section {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.connect-card {
    display: flex;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.connect-content {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.connect-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.connect-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray-color);
    margin-bottom: 2rem;
}

.connect-buttons {
    display: flex;
    gap: 1rem;
}

.connect-image {
    flex: 1;
    min-height: 300px;
    background-size: cover;
    background-position: center;
}

.connect-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background-color: white;
}

.accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.5rem;
    background-color: white;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: rgba(243, 156, 18, 0.05);
}

.accordion-header.active {
    background-color: var(--primary-color);
    color: white;
}

.accordion-header i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.accordion-header.active i {
    color: white;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: white;
}

.accordion-content p {
    padding: 1.5rem;
    margin: 0;
    line-height: 1.7;
    color: var(--gray-color);
}

/* Call to Action Section */
.cta-section {
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .welcome-content {
        flex-direction: column;
    }
    
    .connect-card {
        flex-direction: column;
    }
    
    .connect-image {
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    .expect-hero {
        height: 250px;
    }
    
    .expect-hero h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2, .welcome-text h2, .connect-content h2, .cta-content h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons, .connect-buttons, .welcome-buttons {
        flex-direction: column;
    }
}

/* 6. Components */

/* Botones */
.btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: #e67e22;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

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

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

/* Tarjetas */
.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

/* Formularios */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(26, 82, 118, 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Alertas */
.alert {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* 7. Utilities */

/* Espaciado */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-4 { margin-top: 1.5rem; }

/* Fondos */
.bg-light { background-color: var(--light-color); }

/* Animaciones */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* 8. Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    position: relative;
}

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

.footer-section {
    margin-bottom: 1rem;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }
}

/* 9. Pages */




.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Tarjetas de características */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Página de eventos */
.event-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-bottom: 2rem;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.event-image {
    height: 100%;
    min-height: 200px;
    background-color: #f5f5f5;
    background-size: cover;
    background-position: center;
}

.event-details {
    padding: 1.5rem;
}

.event-date {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.event-location {
    display: flex;
    align-items: center;
    color: var(--gray-color);
    margin: 0.5rem 0 1rem;
}

.event-location i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}



/* Responsive */
@media (max-width: 768px) {

    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Utilidades */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
