/* Reset y base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    color: #fff;
    line-height: 1.6;
}

/* Header */
header {
    background: rgba(0, 0, 0, 0.9);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #8a2be2;
}

.logo h1 {
    font-size: 2.5rem;
    background: linear-gradient(90deg, #8a2be2, #ff00ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}

.go {
    color: #00ff88;
    text-shadow: 0 0 10px #00ff88;
}

.tagline {
    color: #aaa;
    font-style: italic;
}

/* Navegación */
nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

nav a:hover {
    background: #8a2be2;
    transform: translateY(-2px);
}

/* Hero */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url("/images/hero-mixquiahuala.jpg"), 
                url('https://images.unsplash.com/photo-1544551763-46a013bb70d5?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(138, 43, 226, 0.7);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #ccc;
}

.btn {
    display: inline-block;
    background: linear-gradient(90deg, #8a2be2, #ff00ff);
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.8);
}

/* Secciones */
.section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #8a2be2;
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(138, 43, 226, 0.3);
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-10px);
    border-color: #8a2be2;
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.3);
}

.card h3 {
    color: #00ff88;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    color: #ccc;
    margin-bottom: 1.5rem;
}

.card a {
    color: #8a2be2;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.card a:hover {
    color: #ff00ff;
}

/* Footer */
footer {
    background: #000;
    text-align: center;
    padding: 2rem;
    border-top: 3px solid #8a2be2;
    color: #aaa;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 2rem 1rem;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    color: #fff;
    padding: 3rem 2rem;
    margin-top: 4rem;
    border-top: 2px solid #8a2be2;
}

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

.footer-section h3 {
    color: #8a2be2;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: #ff00ff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

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

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

.social-icons a:hover {
    background: #8a2be2;
    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: #aaa;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #8a2be2;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Intro / Quiénes Somos */
.intro {
    background: rgba(138, 43, 226, 0.05);
    padding: 3rem 2rem;
    margin: 2rem auto;
    border-radius: 15px;
    max-width: 1000px;
    border-left: 5px solid #8a2be2;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.intro h2 {
    color: #8a2be2;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.intro h2 .gogo {
    color: #ff00ff;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.intro p {
    color: #333;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.intro strong {
    color: #8a2be2;
}

.intro .go {
    color: #ff00ff;
    font-weight: bold;
}

/* Mejoras para tarjetas con imágenes */
.card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
border: 1px solid rgba(138, 43, 226, 0.1);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(138, 43, 226, 0.2);
}

.card-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    color: #8a2be2;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.card-content p {
    color: #444;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.card-content a {
    color: #ff00ff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
}

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

/* Descripción de sección */
.section-desc {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Asegurar que TODAS las tarjetas tengan fondo morado */
.cards .card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
    border: 1px solid #8a2be2 !important;
}

/* Tarjetas con imágenes - mantener diseño */
.card-with-image {
    background: linear-gradient(135deg, #f0e6ff 0%, #e6d6ff 100%);
}

/* Asegurar texto blanco en tarjetas */
.card h3,
.card p,
.card a {
    color: #fff !important;
}

.card a:hover {
    color: #ff00ff !important;
}
