/* Soltando Cintas - Estilos basados en el banner del evento */
/* Paleta de colores: Negro, Blanco, Rojo, Naranja */

:root {
    --primary-black: #000000;
    --primary-white: #FFFFFF;
    --accent-red: #E00000;
    --accent-orange: #FF8C00;
    --accent-pink: #F08080;
    --text-gray: #666666;
    --border-gray: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, var(--primary-black) 0%, #1a1a1a 100%);
    color: var(--primary-white);
    min-height: 100vh;
    line-height: 1.6;
}

/* Header */
.header {
    background: var(--primary-black);
    padding: 1rem 0;
    border-bottom: 3px solid var(--accent-red);
    position: relative;
    overflow: hidden;
}

.header::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 100 100"><defs><pattern id="stars" patternUnits="userSpaceOnUse" width="20" height="20"><circle cx="10" cy="10" r="1" fill="%23E00000" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
    opacity: 0.1;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.government-text {
    font-size: 0.9rem;
    color: var(--primary-white);
    font-weight: 600;
}

.flag {
    width: 30px;
    height: 20px;
    background: linear-gradient(90deg, #0052A5 33%, #FFFFFF 33%, #FFFFFF 66%, #E00000 66%);
    border-radius: 2px;
    position: relative;
}

.flag::after {
    content: '★';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #0052A5;
    font-size: 8px;
}

.ampyme-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-white);
    text-align: center;
    flex: 1;
}

.entrepreneur-space {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--primary-white);
}

.gear-icon {
    width: 20px;
    height: 20px;
    background: var(--accent-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--primary-black);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.6)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><rect width="1200" height="400" fill="%23000000"/><circle cx="200" cy="200" r="150" fill="%23E00000" opacity="0.1"/><circle cx="800" cy="300" r="100" fill="%23FF8C00" opacity="0.1"/></svg>');
    background-size: cover;
    background-position: center;
    padding: 4rem 0;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 49%, var(--accent-red) 50%, transparent 51%);
    background-size: 20px 20px;
    opacity: 0.05;
}

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

.event-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-white), var(--accent-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.event-subtitle {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    color: var(--primary-white);
    font-style: italic;
}

.event-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--accent-orange);
    font-weight: 600;
}

.event-details {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    color: var(--primary-white);
}

.detail-icon {
    width: 24px;
    height: 24px;
    background: var(--accent-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--primary-white);
}

.detail-icon.calendar::before { content: '📅'; }
.detail-icon.clock::before { content: '🕕'; }
.detail-icon.location::before { content: '📍'; }

/* Form Container */
.form-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    color: var(--primary-black);
    position: relative;
}

.form-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--accent-red), var(--accent-orange));
    border-radius: 17px;
    z-index: -1;
}

.form-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-black);
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-black);
    font-size: 1rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--primary-white);
    color: var(--primary-black);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-red);
    box-shadow: 0 0 10px rgba(224, 0, 0, 0.3);
}

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

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, var(--accent-red), #C00000);
    color: var(--primary-white);
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background: linear-gradient(45deg, #C00000, var(--accent-red));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(224, 0, 0, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Success Message */
.success-message {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: var(--primary-white);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Error Message */
.error-message {
    background: linear-gradient(45deg, #dc3545, #e74c3c);
    color: var(--primary-white);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--primary-black);
    padding: 2rem 0;
    text-align: center;
    border-top: 3px solid var(--accent-red);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-text {
    color: var(--primary-white);
    margin-bottom: 1rem;
}

.sponsor-section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-gray);
}

.sponsor-text {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.bac-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-white);
    color: var(--primary-black);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1.1rem;
}

.bac-symbol {
    width: 20px;
    height: 20px;
    background: var(--primary-black);
    border-radius: 3px;
    position: relative;
}

.bac-symbol::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--primary-white);
    border-radius: 1px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .ampyme-title {
        font-size: 1rem;
    }
    
    .event-title {
        font-size: 2.5rem;
    }
    
    .event-subtitle {
        font-size: 1.5rem;
    }
    
    .event-details {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-container {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .hero {
        padding: 2rem 0;
    }
}

@media (max-width: 480px) {
    .event-title {
        font-size: 2rem;
    }
    
    .event-subtitle {
        font-size: 1.2rem;
    }
    
    .form-container {
        margin: 0.5rem;
        padding: 1rem;
    }
}

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

.form-container {
    animation: fadeInUp 0.8s ease-out;
}

/* Loading state */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-white);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Estilos adicionales para el formulario */
.gradient-text {
    background: linear-gradient(135deg, #1E40AF, #3B82F6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom styles for dark form */
.bg-black input[type="text"],
.bg-black input[type="email"],
.bg-black input[type="tel"],
.bg-black select {
    background-color: #1f2937 !important;
    color: #ffffff !important;
    border-color: #4b5563 !important;
}

.bg-black input[type="text"]:focus,
.bg-black input[type="email"]:focus,
.bg-black input[type="tel"]:focus,
.bg-black select:focus {
    background-color: #374151 !important;
    border-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1) !important;
}

.bg-black input[type="text"]::placeholder,
.bg-black input[type="email"]::placeholder,
.bg-black input[type="tel"]::placeholder {
    color: #9ca3af !important;
}

.bg-black select option {
    background-color: #1f2937 !important;
    color: #ffffff !important;
}

.bg-black input[type="radio"],
.bg-black input[type="checkbox"] {
    accent-color: #ffffff !important;
}

/* Responsive Banner Styles - Optimizado para viewport */
.banner-mobile {
    width: 95vw;
    max-width: 95vw;
    height: auto;
    min-height: 300px;
    max-height: 70vh;
    object-fit: cover;
    object-position: center;
    margin: 0 auto;
}

.banner-web {
    width: 100%;
    max-width: 100vw;
    height: auto;
    min-height: 300px;
    max-height: 60vh;
    object-fit: contain;
    object-position: center;
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .banner-mobile {
        width: 100vw;
        max-width: 100vw;
        min-height: 250px;
        max-height: 65vh;
        padding: 0;
        border-radius: 0;
    }
}

/* Móviles medianos */
@media (min-width: 481px) and (max-width: 767px) {
    .banner-mobile {
        width: 96vw;
        max-width: 96vw;
        min-height: 280px;
        max-height: 68vh;
        padding: 0;
    }
}

/* Tablets */
@media (min-width: 768px) and (max-width: 1023px) {
    .banner-web {
        min-height: 280px;
        max-height: 55vh;
        padding: 0 2rem;
    }
}

/* Desktop pequeño */
@media (min-width: 1024px) and (max-width: 1279px) {
    .banner-web {
        min-height: 320px;
        max-height: 60vh;
        padding: 0 2.5rem;
    }
}

/* Desktop grande */
@media (min-width: 1280px) {
    .banner-web {
        min-height: 380px;
        max-height: 65vh;
        padding: 0 3rem;
    }
}

/* Ultra wide screens */
@media (min-width: 1536px) {
    .banner-web {
        min-height: 420px;
        max-height: 70vh;
    }
}

/* Elegant red submit button */
.bg-gradient-to-r.from-red-600.to-red-800 {
    background: linear-gradient(135deg, #dc2626, #991b1b) !important;
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3) !important;
}

.bg-gradient-to-r.from-red-600.to-red-800:hover {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    box-shadow: 0 15px 35px rgba(220, 38, 38, 0.4) !important;
    transform: translateY(-2px) !important;
}

.bg-gradient-to-r.from-red-600.to-red-800:active {
    transform: translateY(0) !important;
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.3) !important;
}

/* Social Media Toggle Styles */
.social-toggle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-toggle-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.social-toggle-label:hover {
    transform: scale(1.05);
}

.social-toggle-input {
    display: none;
}

.social-toggle-slider {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    border: 3px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.social-toggle-knob {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff, #f9fafb);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-toggle-knob i {
    font-size: 20px;
    color: #d1d5db !important;
    transition: all 0.3s ease;
}

.social-toggle-input:checked + .social-toggle-slider {
    background: linear-gradient(135deg, #ffffff, #f8fafc) !important;
    border-color: #dc2626 !important;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4) !important;
}

.social-toggle-input:checked + .social-toggle-slider .social-toggle-knob {
    background: linear-gradient(135deg, #ffffff, #f8fafc) !important;
    transform: scale(0.9) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

.social-toggle-input:checked + .social-toggle-slider .social-toggle-knob i {
    color: #dc2626 !important;
    transform: scale(1.1) !important;
}

.social-toggle-text {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 500;
    color: #d1d5db;
    text-align: center;
    transition: all 0.3s ease;
}

.social-toggle-input:checked ~ .social-toggle-text {
    color: #dc2626;
    font-weight: 600;
}

.social-field {
    transition: all 0.3s ease;
    overflow: hidden;
}

.social-field.hidden {
    opacity: 0;
    max-height: 0;
}

.social-field:not(.hidden) {
    opacity: 1;
    max-height: 50px;
}
