/* REGISTRATION SECTION */
.registration {
    background: linear-gradient(135deg, var(--blue-light), var(--secondary));
    position: relative;
    overflow: hidden;
    padding: 80px 20px;
}

.registration .container {
    max-width: 1200px;
    margin: 0 auto;
}

.registration::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(147, 51, 234, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 127, 17, 0.1) 0%, transparent 40%);
    animation: gradientShift 15s ease-in-out infinite alternate;
}

.registration .section-title {
    margin-bottom: 3rem;
    text-align: center;
}

.registration .section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
}

.registration .section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    border-radius: 2px;
}

.registration .section-title p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 1.5rem auto 0;
    line-height: 1.6;
}

/* FORM CONTAINER */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.1), 
        rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.form-container:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* FORM STYLES */
.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    position: relative;
    padding-left: 8px;
}

.form-group label::before {
    content: '*';
    position: absolute;
    right: -12px;
    top: 0;
    color: var(--accent);
}

/* FORM CONTROLS */
.form-control {
    width: 100%;
    padding: 1.125rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: white;
    background: rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-control:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.12);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(184, 251, 60, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

/* SELECT DROPDOWN STYLES */
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    background-size: 1.25rem;
    padding-right: 3.5rem;
    cursor: pointer;
}

select.form-control option {
    background-color: #1a1a2e;
    color: white;
    padding: 12px;
}

select.form-control option:first-child {
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

/* Estilos específicos para los selects de país y promoción */
#pais, #promocion {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 1rem;
    color: white;
    width: 100%;
    margin-top: 8px;
}

#pais:hover, #promocion:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

#pais:focus, #promocion:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(184, 251, 60, 0.25);
}

/* FORM ROW LAYOUT */
.form-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

/* TOUR SELECTION SPECIAL STYLES */
.tour-option-group {
    margin-bottom: 2.5rem;
}

.tour-option-group label {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tour-option-group label i {
    color: var(--accent);
}

/* DATE INPUT STYLING */
input[type="date"].form-control {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

input[type="date"].form-control::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.7;
    cursor: pointer;
}

/* NUMBER INPUT STYLING */
input[type="number"].form-control {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* TEXTAREA STYLING */
textarea.form-control {
    min-height: 140px;
    resize: vertical;
    background: rgba(255, 255, 255, 0.08);
    line-height: 1.6;
}

textarea.form-control::placeholder {
    font-style: italic;
}

/* SUBMIT BUTTON */
.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 1.5rem;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    font-family: 'Poppins', sans-serif;
    margin-top: 1rem;
    box-shadow: 
        0 8px 30px rgba(255, 127, 17, 0.3),
        0 4px 0 rgba(255, 127, 17, 0.2);
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 40px rgba(255, 127, 17, 0.4),
        0 6px 0 rgba(255, 127, 17, 0.25);
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:active {
    transform: translateY(-1px);
    box-shadow: 
        0 6px 25px rgba(255, 127, 17, 0.3),
        0 3px 0 rgba(255, 127, 17, 0.2);
}

/* ANIMATIONS */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-container {
    animation: fadeInUp 0.8s ease-out;
}

/* VALIDATION STATES */
.form-control:valid {
    border-color: rgba(76, 175, 80, 0.5);
}

.form-control:invalid:not(:placeholder-shown) {
    border-color: rgba(244, 67, 54, 0.5);
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .registration {
        padding: 60px 15px;
    }
    
    .registration .section-title h2 {
        font-size: 2rem;
    }
    
    .registration .section-title p {
        font-size: 1.1rem;
    }
    
    .form-container {
        padding: 2.5rem;
        margin: 0 15px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .btn-submit {
        padding: 1.25rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .registration .section-title h2 {
        font-size: 1.8rem;
    }
    
    .registration .section-title p {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .form-container {
        padding: 2rem;
        border-radius: 20px;
    }
    
    .form-control {
        padding: 1rem 1.25rem;
    }
    
    .btn-submit {
        padding: 1.1rem;
        font-size: 1rem;
    }
}

/* DROPDOWN CUSTOM STYLES */
.custom-select-wrapper {
    position: relative;
}

.custom-select-wrapper::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    pointer-events: none;
}

/* FOCUS VISIBLE POLYFILL */
.form-control:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* PRINT STYLES */
@media print {
    .registration {
        background: white !important;
        color: black !important;
    }
    
    .form-container {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
}
/* Rating Stars Styles */
.testimonial-rating {
    display: flex;
    gap: 2px;
    margin-top: 8px;
}

.testimonial-rating i {
    color: #FFD700;
    font-size: 0.9rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.testimonial-rating .fa-star-half-alt {
    color: #FFD700;
}

/* Ajuste para el layout de autor con rating */
.author-info {
    flex: 1;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

/* Actualizar el carousel-controls para 6 puntos */
.carousel-controls {
    gap: 0.5rem;
}