/* Experiencias Vitivinícolas con Modales */

.experiences-container {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 40px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.experience-card-modal {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    max-width: 500px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.experience-card-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d4af37, #b8860b);
}

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

/* Highlight effect for mobile card selection */
.experience-card-modal.card-highlighted {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(108, 23, 57, 0.3);
    border: 2px solid #6C1739;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.experience-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.experience-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #d4af37, #b8860b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.experience-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.experience-info p {
    font-family: 'Inter', sans-serif;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.experience-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.experience-details span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    color: #666;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.experience-details i {
    color: #d4af37;
    font-size: 1.3rem;
}

.experience-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.preview-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.preview-item i {
    font-size: 1.8rem;
    color: #d4af37;
}

.preview-item span {
    font-size: 1.1rem;
    color: #666;
    font-family: 'Inter', sans-serif;
    line-height: 1.3;
    font-weight: 500;
}

.btn-modal {
    width: 100%;
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-modal:hover {
    background: linear-gradient(135deg, #b8860b, #d4af37);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow: hidden;
    position: relative;
    animation: slideIn 0.3s ease;
    display: flex;
    flex-direction: column;
}

.modal-header {
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: white;
    padding: 25px 30px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
    flex-shrink: 0;
}

.modal-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.close {
    color: white;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.modal-info {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 35px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Inter', sans-serif;
}

.info-item i {
    color: #d4af37;
    font-size: 1.6rem;
}

.info-item span {
    color: #333;
    font-size: 1.3rem;
    font-weight: 500;
}

/* Timeline Modal */
.timeline-modal {
    position: relative;
    padding-left: 30px;
}

.timeline-modal::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #d4af37, #b8860b);
}

.timeline-item-modal {
    position: relative;
    margin-bottom: 30px;
    padding-left: 40px;
}

.timeline-item-modal:last-child {
    margin-bottom: 0;
}

.timeline-marker-modal {
    position: absolute;
    left: -15px;
    top: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #d4af37, #b8860b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

.timeline-marker-modal i {
    font-size: 1.6rem;
}

.step-number {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #333;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
}

.timeline-content-modal h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.timeline-content-modal p {
    font-family: 'Inter', sans-serif;
    color: #666;
    line-height: 1.6;
    margin: 0 0 8px 0;
    font-size: 1.2rem;
}

.timeline-content-modal p:last-child {
    margin-bottom: 0;
}

.timeline-content-modal strong {
    color: #333;
    font-weight: 600;
}

.modal-footer {
    padding: 25px 30px;
    background: #f8f9fa;
    border-radius: 0 0 15px 15px;
    text-align: center;
}

.btn-reservar {
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-reservar:hover {
    background: linear-gradient(135deg, #b8860b, #d4af37);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Reservation Warning Styles */
.reservation-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
}

.reservation-warning p {
    margin: 0;
    color: #856404;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.reservation-warning i {
    color: #f39c12;
    font-size: 1.2rem;
}

.reservation-warning strong {
    color: #856404;
    font-weight: 600;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .experiences-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 0 15px;
    }
    
    .experience-card-modal {
        max-width: 100%;
        margin: 0;
        padding: 25px;
    }
    
    .experience-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .experience-details {
        justify-content: center;
        gap: 20px;
    }
    
    .experience-details span {
        font-size: 1.1rem;
    }
    
    .experience-details i {
        font-size: 1.2rem;
    }
    
    .experience-preview {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 25px;
    }
    
    .preview-item i {
        font-size: 1.6rem;
    }
    
    .preview-item span {
        font-size: 1rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 20px;
        position: sticky;
        top: 0;
    }
    
    .modal-header h2 {
        font-size: 2rem;
        gap: 10px;
    }
    
    .close {
        font-size: 2.5rem;
        width: 40px;
        height: 40px;
    }
    
    .modal-body {
        padding: 20px;
        overflow-y: auto;
    }
    
    .modal-info {
        flex-direction: column;
        gap: 20px;
        padding: 25px;
    }
    
    .info-item {
        font-size: 1.1rem;
        gap: 10px;
    }
    
    .info-item i {
        font-size: 1.4rem;
    }
    
    .info-item span {
        font-size: 1.2rem;
    }
    
    .timeline-modal {
        padding-left: 20px;
    }
    
    .timeline-item-modal {
        padding-left: 35px;
        margin-bottom: 25px;
    }
    
    .timeline-marker-modal {
        left: -10px;
        width: 40px;
        height: 40px;
    }
    
    .timeline-marker-modal i {
        font-size: 1.3rem;
    }
    
    .step-number {
        width: 22px;
        height: 22px;
        font-size: 0.8rem;
    }
    
    .timeline-content-modal h4 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .timeline-content-modal p {
        font-size: 1.1rem;
    }
    
    .reservation-warning {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .reservation-warning p {
        font-size: 1rem;
        flex-direction: column;
        gap: 5px;
    }
    
    .reservation-warning i {
        font-size: 1.1rem;
    }
}

/* Scrollbar styling for modal */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #b8860b;
}
