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

:root {
    --primary-color: #e91e63;
    --primary-dark: #c2185b;
    --secondary-color: #9c27b0;
    --accent-color: #ff4081;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 5px 30px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

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

.logo-img {
    height: 32px;
    width: 32px;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,150,1344,106,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    animation: fadeInUp 1s ease 0.4s both;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    min-width: 100px;
}

.countdown-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
}

.countdown-label {
    display: block;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    opacity: 0.9;
}

.hero-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--white);
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

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

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

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    width: 100%;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Info Section */
.info-section {
    background: var(--white);
}

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

.info-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.info-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

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

.info-card p {
    color: var(--text-light);
}

.details-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 4rem;
}

.details-list {
    list-style: none;
}

.details-list li {
    padding: 1rem 0;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--text-light);
}

.details-list i {
    color: var(--primary-color);
    margin-top: 5px;
}

.placeholder-image {
    background: var(--bg-light);
    border-radius: 15px;
    padding: 4rem;
    text-align: center;
    color: var(--text-light);
}

.placeholder-image i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.event-video {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    background: var(--bg-light);
}

/* Rutas Section */
.rutas-section {
    background: var(--bg-light);
}

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

.ruta-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

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

.ruta-card.featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.ruta-badge-popular {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.ruta-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.ruta-header h3 {
    font-size: 2rem;
    color: var(--primary-color);
}

.ruta-badge {
    background: var(--bg-light);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.ruta-info {
    margin-bottom: 1.5rem;
}

.ruta-info p {
    margin: 0.8rem 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ruta-info i {
    color: var(--primary-color);
    width: 20px;
}

.ruta-map {
    margin-top: 3rem;
}

.map-placeholder {
    background: var(--white);
    border-radius: 15px;
    padding: 4rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.map-placeholder i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Inscripción Section */
.inscripcion-section {
    background: var(--white);
}

.inscripcion-wrapper {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 3rem;
}

.inscripcion-form {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 15px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-weight: 400;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
    cursor: pointer;
}

.form-total {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    text-align: center;
}

.form-total p {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.payment-info {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    height: fit-content;
}

.payment-info h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.payment-methods {
    margin-bottom: 2rem;
}

.payment-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.payment-method i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

.payment-details {
    flex: 1;
}

.payment-details h4 {
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.payment-details p {
    margin: 0.5rem 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.copy-text {
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.copy-text:hover {
    color: var(--primary-dark);
}

.copy-icon {
    font-size: 0.9rem;
    margin-left: 0.5rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.copy-icon:hover {
    transform: scale(1.2);
}

.payment-note {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
}

.payment-note p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.payment-note i {
    color: var(--primary-color);
}

/* Patrocinadores Section */
.patrocinadores-section {
    background: var(--bg-light);
    padding: 3rem 0;
}

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

.patrocinador-item {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.patrocinador-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.patrocinador-logo {
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.patrocinador-placeholder {
    color: var(--text-light);
}

.patrocinador-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Contacto Section */
.contacto-section {
    background: var(--white);
}

.contacto-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contacto-form {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 15px;
}

.contacto-info h3 {
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.contacto-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
}

.contacto-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

.contacto-item h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contacto-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contacto-item a:hover {
    text-decoration: underline;
}

.whatsapp-link {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background: #25D366;
    color: var(--white);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.whatsapp-link:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    text-decoration: none;
}

.redes-sociales {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
}

.redes-sociales h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 1.5rem;
}

.social-link.facebook {
    background: #1877F2;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.twitter {
    background: #1DA1F2;
}

.social-link.youtube {
    background: #FF0000;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-lg);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

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

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

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

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

.footer-section a:hover {
    color: var(--white);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-color);
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .logo-img {
        height: 28px;
        width: 28px;
    }
    
    .logo span {
        font-size: 1.2rem;
    }
    
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow);
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .countdown {
        gap: 1rem;
    }

    .countdown-item {
        padding: 1rem;
        min-width: 70px;
    }

    .countdown-number {
        font-size: 1.8rem;
    }

    .hero-info {
        flex-direction: column;
        gap: 1rem;
    }

    .details-section {
        grid-template-columns: 1fr;
    }

    .inscripcion-wrapper {
        grid-template-columns: 1fr;
    }

    .contacto-wrapper {
        grid-template-columns: 1fr;
    }

    .ruta-card.featured {
        transform: scale(1);
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 24px;
        width: 24px;
    }
    
    .logo span {
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }

    .countdown {
        flex-wrap: wrap;
    }

    .countdown-item {
        min-width: 60px;
        padding: 0.8rem;
    }

    .countdown-number {
        font-size: 1.5rem;
    }
}

